Pine Script® indicator
Indicators and strategies
Sniper Bot PRO A good sniper bot that cleans up mistakes. Sends alerts, triggers buy, sell, and counter buys. you can edit to your liking but these settings are pretty valid trying to make a decision.
Pine Script® indicator
VWAP Retest Trend Indicator - MES VersionVWAP Retest Trend Indicator - MES Version
Ema with VWAP bounces to trigger a long or short
Pine Script® indicator
Pine Script® strategy
Pine Script® strategy
VRoC 2-Bar Alert NQ2 Days VRoC above 10, indicates institutional selling pressure and an opportunity for index option shorts as opposed to trend sentiment. Use on /NQ1!! D bar aggregation.
Pine Script® indicator
ontagion & Shock System (CSS) - Systemic Risk TrackerThe Contagion & Shock System (CSS) is an advanced quantitative indicator designed to measure systemic risk and sector contagion in real-time. Instead of looking at a single asset in isolation, this system tracks how sudden price shocks ripple across a configurable basket of proxy assets, helping traders identify true macro risk-on or risk-off environments.
1. Shock Detection
The system continuously monitors the base asset for sudden volatility spikes. It triggers an active "Shock" if a single bar exceeds a specific percentage threshold, or if a cumulative multi-bar move indicates sustained, aggressive buying or selling pressure.
2. Dynamic Correlation Engine (Wave Assignment)
The indicator runs a live Pearson Correlation (using log returns) between your base chart and 10 configurable proxy assets (e.g., SPY, QQQ, VIX, XLF). It automatically buckets these assets into three contagion waves:
Wave 1 (Immediate Impact): Correlation >= 0.70
Wave 2 (Lagging Impact): Correlation >= 0.40
Wave 3 (Distant/Isolated): Correlation < 0.40
3. Contagion Pressure Index (CPI)
Displayed as a central histogram, the CPI aggregates the correlation strength and directional movement of all 10 proxies. A positive score indicates risk-on contagion (assets are rising together), while a negative score indicates risk-off contagion (assets are falling together).
4. Systemic Risk Score (0-100)
Located in the dashboard, this gauge blends the magnitude of the CPI, the number of assets currently caught in Wave 1, and the recency of the last price shock. A score above 80 indicates severe market-wide stress.
Users can fully customize the shock thresholds, cumulative lookback windows, correlation lengths, and all 10 proxy tickers via the indicator settings to tailor the system to specific sectors or asset classes.
Pine Script® indicator
Shadows & Engulfing PatternsThis is a minimalist, combined price action indicator designed to identify key market reversal points by detecting Long Shadows and Engulfing Patterns. Built for traders who prefer clean charts, it completely removes bulky labels and background colors in favor of micro-triangle icons.
🌟 Key Features
Dual Pattern Detection: Combines two of the most reliable candlestick reversal patterns into a single, lightweight script.
Smart Trend Filtering: Engulfing patterns utilize a built-in SMA (50/200) trend filter to ensure signals only trigger at the end of established trends, significantly reducing false breakouts.
Ultra-Clean Visuals: Uses tiny text-based triangles (▴ and ▾) instead of standard shapes to keep your candlesticks fully visible and clutter-free.
📊 Visual Guide
Long Lower Shadow (Bullish): Marked by a White ▴ (Up). Indicates rejection of lower prices and potential support.
Long Upper Shadow (Bearish): Marked by a White ▾ (Down). Indicates rejection of higher prices and potential resistance.
Bullish Engulfing: Marked by a Green ▴ (Up). Shows strong buying momentum completely overtaking sellers.
Bearish Engulfing: Marked by a Red ▾ (Down). Shows strong selling momentum completely overtaking buyers.
这是一个极简风格的裸K反转指标,专门用于捕捉图表上的关键价格行为:长影线(Long Shadows)与吞噬形态(Engulfing Patterns)。该指标专为追求图表整洁的交易者打造,彻底摒弃了笨重的文本标签和背景色,全部采用微型三角图标进行提示。
🌟 核心亮点
双重形态捕捉:将两种最经典的K线反转形态合并在一个轻量级脚本中,为您节省宝贵的指标栏位。
智能趋势过滤:吞噬形态内置了 SMA(50/200)趋势过滤逻辑,确保信号只在明确的趋势末端触发,大幅过滤震荡市中的无效信号。
极致清爽体验:采用微型字符三角(▴ 和 ▾)替代系统默认图形,即使在大幅缩放图表时也绝不会遮挡K线实体。
📊 视觉图例
下长影线 (看涨): 提示为 白色 ▴ (正三角)。代表价格拒绝下跌,正在测试潜在支撑位。
上长影线 (看跌): 提示为 白色 ▾ (倒三角)。代表价格拒绝上涨,正在测试潜在阻力位。
看涨吞噬: 提示为 绿色 ▴ (正三角)。代表买盘强劲,多头动能完全反包空头。
看跌吞噬: 提示为 红色 ▾ (倒三角)。代表卖盘强劲,空头动能完全反包多头。
Pine Script® indicator
Kinetic Hull Matrix [JOAT]Kinetic Hull Matrix
Overview
Kinetic Hull Matrix is an adaptive trend-following indicator centred on a Hull Moving Average cloud with ATR-proportional envelopes, a custom ADX engine, a 0–100 composite signal scoring system, and a multi-timeframe trend table — all rendered in a layered fill system that visually communicates trend strength and cloud penetration depth simultaneously. Retest signals fire when price touches the cloud boundary from within the trending direction, scored by four independent quality factors.
The Hull Moving Average — Why It Matters
The Hull Moving Average (HMA) was designed to reduce lag while maintaining smoothness. The calculation uses weighted moving averages at half-length and full-length, doubles the half-length result, subtracts the full-length result (creating a de-lagged series), then applies a final WMA at the square root of the length:
WMA(2 * WMA(src, n/2) - WMA(src, n), sqrt(n))
This produces a moving average that reacts significantly faster to price changes than a standard EMA or SMA of the same length, while filtering micro-noise through the final WMA pass. The result is a responsive midline that rarely produces whipsaws in trending markets.
ATR-Adaptive Cloud Architecture
The HMA midline is expanded into a four-layer cloud using the current ATR:
- Inner cloud (upper and lower bands): HullMid ± ATR × CloudMultiplier (default 1.0). This is the primary retest detection zone.
- Outer bands: HullMid ± ATR × CloudMultiplier × OuterMultiplier (default 1.618, the golden ratio). These define the statistical extreme of the cloud envelope.
The cloud dynamically widens during volatile markets and contracts during compression — naturally adapting to market conditions without manual parameter changes.
Four fill layers are rendered between the bands using trend-coloured gradients: bright teal in uptrends, muted red in downtrends, creating an intuitive visual heat map of trend energy.
Custom ADX Engine
Rather than relying on the built-in ta.dmi(), Kinetic Hull Matrix implements its own ADX from first principles:
1. Positive directional movement (plusDM) = max(high - high , 0) when high-to-high exceeds low-to-low
2. Negative directional movement (minusDM) = max(low - low, 0) when low-to-low exceeds high-to-high
3. Both are smoothed via ta.rma() over the ADX length, then divided by the RMA of true range to produce +DI and -DI
4. The directional index DX = abs(+DI - -DI) / (+DI + -DI) * 100, finally smoothed via ta.rma() to produce ADX
This gives a transparent, auditable ADX implementation. Values above 25 indicate a trending regime; below 25 indicates ranging conditions. The dashboard and scoring system both use this value.
Composite Signal Score (0–100)
A retest signal qualifies only when close price enters the inner cloud (touches upper cloud from above in a downtrend or lower cloud from below in an uptrend) while the candle closes back in the trend direction. The resulting signal is then scored:
- Proximity score (up to 50): How deeply price penetrated into the cloud. Deeper retests score higher.
- Volume score (up to 25): Current volume relative to its 20-bar SMA. Higher participation scores higher.
- RSI score (up to 15): RSI directional headroom — long signals score better when RSI has room below 55, short signals when RSI has room above 45.
- ADX score (up to 10): Raw ADX value × 0.4, capped at 10. Strong trends produce higher-quality retests.
Only signals meeting the configurable minimum score threshold (default 40) are displayed.
S/R Line Stamping
Each confirmed retest signal stamps a horizontal dotted line at the close price, extending 60 bars forward. These lines serve as dynamic support (for bull retests) and resistance (for bear retests). Lines are automatically invalidated and deleted if price closes through them by more than 0.5 ATR — the indicator only keeps lines that have not been structurally broken.
Multi-Timeframe Trend Table (Top Right)
Five user-configurable timeframes are assessed using the same dual-EMA logic (fast = HullLen/2, slow = HullLen). Each cell displays BULL or BEAR in the trend's colour. A "X/5 Bull" counter at the bottom summarises alignment. The table also shows current ADX value, RSI, and number of active S/R lines.
Inputs Reference
Hull Cloud
- Hull MA Length (21) — primary HMA period
- ATR Length (14) — period for ATR cloud width
- Cloud Width (1.0 ATR) — inner cloud half-width multiplier
- Outer Band Mult (1.618) — outer band golden-ratio expansion
- ADX Length (14) — custom ADX smoothing period
- Volume SMA Length (20) — reference for volume scoring
- RSI Length (14)
Retest Detection
- Min Signal Score (40) — minimum composite score to display signal
- Max S/R Lines (8) — maximum simultaneous S/R lines on chart
- S/R Break Buffer (0.5 ATR) — tolerance before a line is considered broken
- Show Score Label / Show S/R Lines
MTF Dashboard
- Show MTF Trend Table
- TF 1–5 — five independently configurable timeframes
Visual
- Theme: Dark, Light, Auto
How to Use
1. Apply to a liquid trending instrument. Allow warmup (roughly 3× Hull Length bars).
2. Identify the trend from cloud colour: teal fills = uptrend, red fills = downtrend.
3. Wait for price to dip into the inner cloud during an uptrend (or spike into it during a downtrend) and close back in the trend direction.
4. Check the score label — prefer grade 55+ (B or higher). Crosscheck with the MTF table: 4+ of 5 timeframes aligned significantly improves reliability.
5. The stamped S/R line from the retest level serves as a reference for re-entry if price pulls back again.
Non-Repainting Design
All retest signals are gated by barstate.isconfirmed. MTF data uses lookahead_off. S/R line management runs only on confirmed bars. No visual element shifts position after the bar closes.
Limitations
- In ranging, choppy markets, the cloud direction changes frequently and retest signals may have low predictive value. The ADX score component partially mitigates this, but consider increasing the minimum score threshold in low-trend environments.
- S/R lines accumulate during active trend periods. The max line count setting prevents chart clutter.
- MTF trend data requires request.security() calls per timeframe. On lower timeframes with very high bar counts, this may slightly affect indicator load time.
Disclaimer
This indicator is for educational and informational purposes only. No signal scoring system guarantees future performance. Always use proper risk management and conduct independent analysis before trading.
Made with passion by officialjackofalltrades
Pine Script® indicator
2min 13-48-200 EMA + LevelsFeatures:
- 13 + 48 + 200 ema lines, calculated from a specified time frame (2min as default) that doesn't change with timeframe (useful if you want to see 2min ema lines in a 5min time frame
- Colored zones to indicate relationship between ema's:
> Light Green + Dark Green = 13 ema above 48 ema above 200 ema = bullish
> Light Red + Dark Red = 200 ema above 48 ema above 13 ema = bearish
> Combination of red and green = possible reversal
- Level lines calculated from previous day + pre market highs and lows
Customizable settings:
- EMA lines colors and thickness
- EMA zone colors
- Level line color and thickness
- Ema label text and background colors
Pine Script® indicator
UT Bot Options Seller (5-Min Spike Protected)UT BOT 2 10 for ce sell and 2 300 for PE sell with RSI, ADX above 20 and spike protection
Pine Script® strategy
Pine Script® indicator
Pine Script® indicator
Pine Script® indicator
Pine Script® indicator
Vortex Volume Spectrum [JOAT]Vortex Volume Spectrum
Overview
Vortex Volume Spectrum is a dynamic, proportional volume profile indicator built from scratch in Pine Script v6. It analyses how traded volume distributes across price levels within any configurable lookback window, identifies the Point of Control (POC) — the price level with the highest volume concentration — and draws the Value Area (the 70% of total volume nearest the POC) as a live-updating profile rendered directly on the chart using the box drawing API. Unlike fixed-range volume profiles offered by some platforms, this engine recalculates on every bar and is fully parametric.
Why Build a Volume Profile in Pine?
Volume profile is one of the most powerful market microstructure tools available, revealing where the majority of market participants transacted. Most TradingView users rely on the built-in session profile which cannot be customised, scripted, or combined with other logic. Vortex Volume Spectrum gives Pine authors and traders a fully transparent, open-source volume distribution engine they can understand, modify, and build upon — with the visual quality of a professional charting suite.
Distribution Engine
The profile is built with a configurable number of price bins (default 30) spanning the high-to-low range of the lookback window. For each bin, the engine calculates the proportional contribution of each historical bar's volume using an overlap method:
Each bar contributes volume proportionally to the fraction of its high-to-low range that overlaps with each bin. A bar spanning multiple bins splits its volume across all overlapping bins by the fraction of overlap — preventing the unrealistic "winner takes all" binning used by simpler implementations.
This overlap-proportional distribution produces a smooth, accurate volume histogram that closely mirrors the actual traded price distribution.
POC Detection
After computing the full distribution array, the engine scans for the bin with the highest accumulated volume. This bin's midpoint is the Point of Control — the price level where the most volume traded during the lookback window. The POC is highlighted as the brightest horizontal line in the profile.
Value Area (70%) Calculation
Starting from the POC bin, the Value Area algorithm expands outward — one bin up and one bin down in alternating steps — absorbing bins into the Value Area until their cumulative volume equals or exceeds 70% of total profile volume. The result is a price range (Value Area High and Value Area Low) that contains the bulk of institutional activity. This range is where the majority of price acceptance occurred and serves as a reference for mean-reversion and breakout trading contexts.
Live Rendering at barstate.islast
The entire profile is rebuilt from scratch on each bar's final tick using the delete-before-create pattern: all existing profile boxes are deleted before redrawing. This ensures that the profile is always current without leaving ghost boxes on the chart. Each bin is drawn as a horizontal box scaled to its volume proportion relative to the maximum bin, using a gradient colour from muted (low volume) to bright teal (near-POC), with the POC bin rendered in gold.
Profile Elements
- Volume bins: Horizontal boxes scaled by proportional volume, coloured by intensity
- POC line: Gold horizontal line at the maximum-volume price level
- Value Area High / Low lines: Teal dashed lines marking the 70% value area boundary
- Volume Delta overlay: For each bar, buy volume (close > open) and sell volume (close < open) are tracked separately and displayed as a delta bar, showing the directional pressure within the profile window
Inputs Reference
- Profile Length (100) — number of bars included in the lookback window
- Number of Bins (30) — vertical resolution of the price distribution
- Profile Width (40 bars) — horizontal width of the rendered boxes
- Show POC Line — toggles the gold POC highlight
- Show Value Area — toggles the 70% Value Area High/Low lines
- Show Volume Delta — toggles the delta bar visualisation
- Profile Offset (0) — shifts the profile left or right from the current bar
- Theme: Dark / Light / Auto
How to Use
1. Add to any chart. The profile automatically spans the last N bars (configurable lookback).
2. The POC (gold line) is the most significant reference level — price tends to be attracted back to the POC when trading away from it.
3. The Value Area High and Low act as potential support/resistance zones. Breakouts above VAH with volume expansion are bullish continuation signals; breakouts below VAL signal bearish continuation.
4. If price is trading within the Value Area, expect range behaviour with mean reversion toward the POC.
5. Volume Delta bars help identify whether the current session's participation is predominantly buying or selling within the profiled window.
Non-Repainting Design
The profile always renders at barstate.islast using only confirmed historical bar data. No forward-looking data is accessed. The POC and Value Area lines represent historical distribution within the defined lookback and do not shift on historical bars.
Limitations
- Volume profiles are most meaningful on instruments with genuine, transparent volume (equities, futures, crypto on-chain exchanges). Forex tick volume is a proxy and may produce less reliable distribution shapes.
- Increasing the number of bins significantly increases the number of box objects drawn, approaching TradingView's per-indicator box limit on very long lookbacks.
- The profile always represents the most recent N bars — it does not anchor to specific sessions or swing levels. Session-anchored profiles require different logic.
- Very low-volume bins at the extremes are accurate but may appear invisible at small chart scales.
Disclaimer
This indicator is provided for educational and informational purposes only. Volume profile is a descriptive market microstructure tool and does not predict future price movement. Always use proper risk management in conjunction with your own analysis.
Made with passion by officialjackofalltrades
Pine Script® indicator
Swing High/Low Lines (Break Stop)Swing High/Low Lines (with alerts) – Strategy Description
This indicator automatically identifies market structure using swing highs and swing lows, then plots horizontal levels that extend forward until price breaks them. It is designed to track liquidity levels, highlight potential breakout points, and provide clean, event-based alerts.
Core Functionality
Detects swing highs and swing lows using a configurable strength setting
Plots each swing as a horizontal line starting at the pivot point
Lines extend forward in real time until price interacts with them
Once a level is broken, the line stops extending and is removed from tracking
Swing Detection
Uses ta.pivothigh and ta.pivotlow
The strength input defines how many candles are required on each side of a pivot
Higher strength = fewer, more significant levels
Lower strength = more frequent, sensitive levels
Line Behavior
Each swing level is drawn as an independent horizontal line
Lines extend right automatically as long as they remain unbroken
When price breaks a level:
The line is cut off at the break point
It is removed from active tracking
Prevents clutter by only keeping valid, untested levels active
Break Logic
Configurable via “Break on Wick” option:
Enabled (default):
A level is considered broken when price wicks through it
Disabled:
A level is only broken when price closes beyond it
This allows adaptation for:
Aggressive (wick-based liquidity grabs)
Conservative (confirmed close-based breaks)
Alerts
The script includes two types of alerts:
1. Swing Creation Alerts
Triggered when a new level forms:
New Swing High
New Swing Low
Useful for:
Tracking fresh structure
Identifying new liquidity zones
2. Break Alerts
Triggered when price crosses any active level:
Swing High Broken
Swing Low Broken
Behavior:
Fires as soon as price breaches a level (based on wick/close setting)
Works across all active swing levels simultaneously
Useful for:
Breakout entries
Liquidity sweeps
Structure shifts
Internal Tracking System
Uses arrays to store:
Active swing lines
Corresponding price levels
Continuously checks each level for break conditions
Efficiently removes invalidated levels in real time
Visual Customization
Adjustable colors for highs and lows
Configurable line width
Selectable line style:
Solid
Dashed
Dotted
Use Case
This indicator is built for traders who rely on:
Market structure
Liquidity sweeps
Breakout confirmation
Clean chart visualization without outdated levels
It ensures that only relevant, unbroken swing levels remain on the chart while providing immediate alerts when those levels are created or taken out.
Pine Script® indicator
Little Charts Pro [MMT]Little Charts Pro is a compact, multi‑timeframe overlay indicator for TradingView that lets you embed small “mini‑charts” directly on your main chart, each showing price action, moving averages, CBC flip signals, Fair Value Gaps (FVGs), and order‑block‑style zones. It is designed to give you a quick, multi‑timeframe snapshot of trend, structure, and order‑flow context without cluttering your workspace.
What the indicator does
- Multiple mini‑charts
Displays up to six mini‑charts on the right side of your main chart, each representing a different timeframe (configurable from 5m up to W1).
Each mini‑chart shows candles, background box, and a compact timeframe label, all dynamically sized and positioned based on your layout settings.
- Moving averages & trend
Plots two custom MAs per mini‑chart (type and length configurable: EMA, SMA, WMA, HMA, DEMA, TEMA, SMMA) so you can instantly see trend direction and key dynamic levels on each higher timeframe.
- CBC flip arrows
Shows CBC‑style flip arrows when price closes above a prior high (bullish flip) or below a prior low (bearish flip), only on the state change. Arrows help you spot aggressive breaks in higher‑timeframe structure and changes in momentum.
- Fair Value Gaps (FVGs)
Automatically highlights bullish and bearish FVGs on each mini‑chart, with a user‑set maximum per chart to avoid visual overload. This helps you quickly identify where unfilled gaps in liquidity may attract price later.
- Order blocks (OBs)
Detects simple order‑block‑style zones (e.g., bullish OB when today’s close is above open while previous bar closed below its open) and shades them on the relevant mini‑chart. Labels can be toggled on/off for cleaner or more explicit structure.
Key customization features
- Layout & sizing
You can adjust mini‑chart width in bars, horizontal offset, horizontal gap between charts, overall vertical height scale, and a small vertical buffer percentage so the mini‑charts fit neatly without covering your main price.
- Multi‑timeframe selection
Each of the six mini‑charts can have its own timeframe and bar count (how many candles back to display), letting you mix intraday, daily, and weekly views in one indicator.
- Style & colors
Fully customizable:
Up / down candle colors.
Background and border colors for the mini‑chart boxes.
Text color for labels and MA/FVG/OB colors so the indicator can match your preferred chart theme.
Pine Script® indicator
Island EMA/VWAP CrossThe indicator is designed to help traders identify potential buy and sell signals based on the interactions between a 7-period Exponential Moving Average (EMA) and the Volume Weighted Average Price (VWAP). Additionally, it provides market volatility information through the Average True Range (ATR) and the Relative Volume (RVOL).
Exponential Moving Average (EMA)
Purpose: Smooths price data to identify the trend direction.
Calculation: The EMA reacts more significantly to recent price changes compared to a simple moving average.
Input: You can set its length (default is 7 periods).
Volume Weighted Average Price (VWAP)
Purpose: Provides the average price a security has traded at throughout the day, based on both price and volume.
Significance: It often serves as a key level for potential support or resistance.
Pine Script® indicator
PivotStructureOutline_UtilitiesThis library contains reusable pivot structure outline helpers for Pine scripts that already work with confirmed pivot highs and lows. It is designed to provide the reusable outline and anchor-box layer for scripts that already have their own pivot-confirmation logic, so those scripts can keep their structure visuals consistent without repeatedly rebuilding the same framework.
It brings together the parts of the workflow that are often rewritten in structure-based scripts: resolving pivot-close anchors, selecting wick vs close anchor behavior, building live outline geometry, building pivot structure anchor-box geometry, and managing the line and box objects that render those visuals.
Everything on the example chart is materially driven by the library, whether through the selected outline anchor source, the outline geometry itself, the midpoint-start logic, the pivot structure anchor boxes, or the shared line/box lifecycle helpers used to keep those visuals updated cleanly on the chart.
How to use
Import the library near the top of your script in global scope, alongside any other imports, before you start calling its helpers. This mirrors the import-first usage pattern shown on your recent library page.
Typical placement:
//@version=6
indicator(...) or strategy(...)
import MYNAMEISBRANDON/PivotStructureOutline_Utilities/1 as PSOutils
This library is engine-agnostic. It does not confirm pivots for you. Instead, it expects your script to already know its confirmed high/low pivot indexes and anchor values, then uses those resolved inputs to build the outline and anchor-box layer.
➖Outline Line Style Helpers➖
These helpers convert simple UI-facing style strings into Pine line style enums so scripts can keep one consistent style resolver across outline lines, midpoint lines, and connector lines.
outlineLineStyle(styleIn)
Resolves a Pine line style from a string input.
Parameters:
styleIn (simple string): Style string. Expected values: "Solid", "Dashed", or "Dotted"
Returns:
Pine line style enum
➖Pivot Structure Outline Helpers➖
These helpers build the actual pivot structure outline framework from already-confirmed high/low pivot anchors. They let a script resolve a pivot-close anchor, choose whether the outline should use wick or close anchors, and generate the live geometry needed for the top line, bottom line, midpoint, and left-side connectors.
outlinePivotCloseFromIdx(pivotIdx, closeValue)
Returns the close value belonging to a confirmed pivot index.
Parameters:
pivotIdx (int): Confirmed pivot bar_index
closeValue (float): Close series
Returns:
Confirmed pivot close value
outlineSelectedAnchors(anchorMode, highWickAnchor, lowWickAnchor, highCloseAnchor, lowCloseAnchor)
Selects the active outline anchors from Wick or Close mode.
Parameters:
anchorMode (simple string): Anchor mode. Expected values: "Wick" or "Close"
highWickAnchor (float): Confirmed high-side wick anchor
lowWickAnchor (float): Confirmed low-side wick anchor
highCloseAnchor (float): Confirmed high-side close anchor
lowCloseAnchor (float): Confirmed low-side close anchor
Returns:
Selected high anchor, selected low anchor, is outline-valid
outlineGeometry(highPivotIdx, lowPivotIdx, highAnchor, lowAnchor, connectorSourceMode, midlineStartMode, highValue, lowValue, closeValue)
Returns the live geometry for the pivot structure outline system.
Parameters:
highPivotIdx (int): Confirmed high pivot bar_index
lowPivotIdx (int): Confirmed low pivot bar_index
highAnchor (float): Selected top outline anchor
lowAnchor (float): Selected bottom outline anchor
connectorSourceMode (simple string): Connector source mode. Expected values: "Wick" or "Close"
midlineStartMode (simple string): Midline start mode. Expected values: "Most Recent Pivot" or "Left Outline"
highValue (float): High series
lowValue (float): Low series
closeValue (float): Close series
Returns:
ok, leftX, rightX, midX1, topY, bottomY, midY, leftTopConnectorY, leftBottomConnectorY
➖Pivot Structure Anchor Box Helpers➖
These helpers build directional top and bottom pivot structure anchor boxes from confirmed pivot bars. They let a script choose whether those boxes use wick-only extension from the candle body or the full candle body, then return the live coordinates needed to render those boxes forward to the current bar.
outlineAnchorBoxGeometry(highPivotIdx, lowPivotIdx, boxAreaMode, openValue, highValue, lowValue, closeValue)
Returns the live geometry for top and bottom pivot structure anchor boxes.
Parameters:
highPivotIdx (int): Confirmed high pivot bar_index
lowPivotIdx (int): Confirmed low pivot bar_index
boxAreaMode (simple string): Box area mode. Expected values: "Wick" or "Body"
openValue (float): Open series
highValue (float): High series
lowValue (float): Low series
closeValue (float): Close series
Returns:
showHighBox, showLowBox, highLeftX, lowLeftX, boxRightX, highTopY, highBottomY, lowTopY, lowBottomY
➖Line Object Helpers➖
These helpers manage the lifecycle of live line objects so scripts can create, update, or delete outline-related lines without rewriting that object-management logic each time.
outlineManageLine(enabled, ln, x1, y1, x2, y2, col, width, style)
Creates, updates, or deletes a line object.
Parameters:
enabled (bool): Whether the line should exist
ln (line): Existing line reference
x1 (int): Start x position
y1 (float): Start y position
x2 (int): End x position
y2 (float): End y position
col (color): Line color
width (int): Line width
style (string): Line style
Returns:
Updated line reference
➖Box Object Helpers➖
These helpers manage the lifecycle of live box objects so scripts can create, update, or delete pivot structure anchor boxes without repeating the same box-management code in every script.
outlineManageBox(enabled, bx, left, top, right, bottom, bgColor, borderColor, borderStyle, borderWidth)
Creates, updates, or deletes a box object.
Parameters:
enabled (bool): Whether the box should exist
bx (box): Existing box reference
left (int): Left x position
top (float): Top y position
right (int): Right x position
bottom (float): Bottom y position
bgColor (color): Box background color
borderColor (color): Box border color
borderStyle (string): Box border style
borderWidth (int): Box border width
Returns:
Updated box reference
Pine Script® library
MNQ VWAP Time Window BacktestBacktests whether MNQ crosses session VWAP during specific Central Time extended-hours windows (20:00, 01:00, and 03:00–04:59), with selectable intrabar or close-cross logic, and shows the percentage of tested days that had at least one VWAP cross.
Pine Script® indicator
OR + True 3-Candle Expansion System (Timezone Dropdown)ORB with 3 candlestick expansion entry system. With timezone drop down option
Pine Script® indicator
ETH Futures VWAP RSI MACD Scalper + LevelsThis fold alerts into the same ETH futures script so it gives you BUY/SELL + Entry + SL + T1 + T2 and can be used for notifications too. TradingView supports alert triggers, and strategy-style alert messages can include stop/target values as part of the alert text.
How to use alerts
Add the script to your ETH 5m chart.
Create an alert and choose this indicator.
Select BUY Alert or SELL Alert from the condition list.
Use Once Per Bar Close for cleaner entries.
For your 4–5 trades/day goal
Keep the pullbackLong / pullbackShort logic active.
Keep RSI thresholds relatively loose.
Use 5m instead of 1m if you want fewer but cleaner alerts.
If you want more trades, lower bodyMin slightly to 0.30 and distATR to 0.02.
Pine Script® indicator






















