Auto Liquidity Sweep Trendlines withCustomisable Setting By VJhaThis automatic trendline system draws trendlines automatically. Drawing trendlines has been the most occupying job, so much so good trades are missed by the time these lines are drawn.
Points used to draw these trendlines are not ordinary wicks, rather they are liquidity points of huge importance. This trendline system removes any need for mannual tredline drawing.
Red and Green trendlines pivot numbers are customisable in setting. Traders can adjust these pivot numbers in setting to their likings and needs.
This version is improved and upgraded one.
Indicadores e estratégias
VIXO - VIX Oscillator// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © emreiletrade
//@version=6
indicator(title="VIXO - VIX Oscillator", shorttitle="VIXO", overlay=false)
// === Inputs ===
rsiLen = input.int(defval=14, title="RSI Length", minval=11, maxval=55)
momLen = input.int(defval=11, title="Momentum Length", minval=9, maxval=21)
normLookback = input.int(defval=100, title="Momentum Normalization Lookback", minval=20, maxval=200)
// === Data (OHLC needed) ===
=
request.security("TVC:VIX", timeframe.period, )
// === RSI Oscillator ===
vixRsi = ta.sma(ta.rsi(vixClose, rsiLen), 5)
// === Momentum (ROC) ===
vixMom = ta.roc(vixClose, momLen)
// === Momentum Normalization (0–100, 50 neutral) ===
momMin = ta.lowest(vixMom, normLookback)
momMax = ta.highest(vixMom, normLookback)
vixMomNorm = ta.sma(100 * (vixMom - momMin) / math.max(momMax - momMin, 1e-6), 3)
// === Helpers ===
vixMa = ta.sma(vixClose, 21)
ratio = vixMa != 0.0 ? (vixClose / vixMa) : 0.0
clampedRatio = math.min(math.max(ratio, 0.0), 1.6)
dynamicTransparency = 100.0 - (clampedRatio * 40.0)
dynamicTransparency := math.min(math.max(dynamicTransparency, 0.0), 100.0)
dynamicTransparency := vixHigh < 30 ? 100 : dynamicTransparency
// === Colors ===
color baseColor = close > close ? color.new(#00FF00, 0)
: close < close ? color.new(#FF0080, 0) : color.gray
color vixBarColor = color.new(baseColor, dynamicTransparency)
color pointColor = color.new(baseColor, dynamicTransparency)
// === Levels ===
hline(80, "Panic of Market", color=color.rgb(0, 255, 0, 40))
hline(60, "VIX says BUY", color=color.rgb(0, 255, 0, 70))
hline(50, "Neutral / Momentum Mid", color=color.new(color.gray, 50))
hline(40, "Get Ready", color=color.new(color.gray, 60))
// === Plots ===
plot(vixRsi, title="VIX RSI", color=color.rgb(0, 255, 255), linewidth=2)
plot(vixMomNorm, title="VIX Normalized Momentum", color=color.new(color.gray, 50), linewidth=1)
plot(vixHigh > 50 ? vixHigh : na, title = "High Points", style = plot.style_cross, color = color.new(pointColor,0))
plot(vixHigh, title="VIX Value Bars", style=plot.style_histogram, color=vixBarColor, linewidth=1)
TSI Oscillator [Standalone]TITLE: TSI Oscillator
DESCRIPTION:
📈 TSI OSCILLATOR
A clean True Strength Index with smoothed signal line and OB/OS zones.
🎯 HOW TO USE:
• TSI > 0 = Bullish | TSI < 0 = Bearish
• Above +1.5 = Overbought (look for sells)
• Below -1.5 = Oversold (look for buys)
• TSI crosses signal line = Entry signal
⚙️ SETTINGS:
• TSI Length: 4
• Signal Length: 9
• Smoothing: 0.5
🎨 COLORS:
• Yellow = TSI Line
• White = Signal Line
• Red Zone = Sell Area
• Green Zone = Buy Area
🔔 ALERTS INCLUDED:
• OB/OS alerts
• Zero line cross
• Signal line cross
TAGS: tsi, momentum, oscillator, oversold, overbought, signals
Momentum Wave Projector [Scalping-Algo]
══════════════════════════════════════════════════════════════════════════════
█ OVERVIEW
The Momentum Wave Projector (MWP) is an advanced momentum analysis tool that goes beyond traditional oscillators by projecting potential future momentum paths. While standard indicators only show you where momentum IS, MWP shows you where momentum is LIKELY TO GO.
This indicator combines:
• Adaptive momentum calculation with dynamic trend coloring
• Signal line crossover system for entry/exit timing
• Predictive wave projection using damped harmonic oscillation
• Confidence bands that expand with uncertainty over time
█ HOW IT WORKS
The indicator consists of three main components:
1. MOMENTUM LINE (Cyan/Red)
The core momentum oscillator that measures the speed and magnitude of price changes. The color automatically shifts based on trend direction:
• Cyan = Bullish momentum (above signal line)
• Red = Bearish momentum (below signal line)
2. SIGNAL LINE (Thick Red)
A smoothed average of momentum that acts as a trigger line. Crossovers between momentum and signal generate trading signals.
3. WAVE PROJECTION (Dashed Lines)
The unique feature of this indicator. It projects the probable future path of momentum using:
• Current velocity (how fast momentum is moving)
• Acceleration (is momentum speeding up or slowing down)
• Mean reversion (tendency to return to equilibrium)
• Cycle analysis (historical rhythm of momentum swings)
The projection uses a damped sine wave formula that naturally models how momentum oscillates and eventually returns toward the middle.
█ HOW TO USE
─────────────────────────────
ENTRY SIGNALS - LONG
─────────────────────────────
✓ Momentum crosses ABOVE signal line
✓ Cross occurs in oversold zone (below 30) = STRONG signal
✓ Wave projection is curving upward
✓ Triangle marker appears at bottom of indicator
Example setup:
1. Wait for momentum to drop into oversold zone (<30)
2. Watch for wave projection to start curving up
3. Enter when momentum crosses above signal line
4. Place stop loss below recent swing low
─────────────────────────────
ENTRY SIGNALS - SHORT
─────────────────────────────
✓ Momentum crosses BELOW signal line
✓ Cross occurs in overbought zone (above 70) = STRONG signal
✓ Wave projection is curving downward
✓ Triangle marker appears at top of indicator
Example setup:
1. Wait for momentum to rise into overbought zone (>70)
2. Watch for wave projection to start curving down
3. Enter when momentum crosses below signal line
4. Place stop loss above recent swing high
─────────────────────────────
EXIT SIGNALS
─────────────────────────────
For LONG positions:
• Take profit when momentum reaches projected wave peak
• Exit when momentum enters overbought zone (>70)
• Exit if momentum crosses back below signal line
For SHORT positions:
• Take profit when momentum reaches projected wave trough
• Exit when momentum enters oversold zone (<30)
• Exit if momentum crosses back above signal line
─────────────────────────────
TREND IDENTIFICATION
─────────────────────────────
STRONG UPTREND:
• Momentum stays above signal line consistently
• Momentum holds above 50 level
• Wave projection shows shallow dips that stay above 50
STRONG DOWNTREND:
• Momentum stays below signal line consistently
• Momentum holds below 50 level
• Wave projection shows shallow bounces that stay below 50
RANGING/CHOPPY:
• Momentum oscillates around signal line frequently
• Multiple crossovers in short period
• Wave projection shows full oscillation cycles
REVERSAL WARNING:
• Extreme reading (>80 or <20)
• Wave projection curving opposite to current direction
• Divergence between price and momentum
█ SETTINGS GUIDE
MOMENTUM SETTINGS
• Momentum Length (default: 14)
Lower = more sensitive, more signals, more noise
Higher = smoother, fewer signals, less noise
Recommended: 10-14 for scalping, 14-21 for swing trading
• Source (default: close)
Use 'close' for most cases
Use 'hlc3' for smoother readings
SIGNAL LINE SETTINGS
• Signal Length (default: 20)
Controls how smooth the signal line is
Higher values = slower, more reliable signals
Recommended: 14-21
• Signal Type (default: SMA)
SMA = balanced response
EMA = faster response to recent changes
WMA = weighted toward recent data
RMA = very smooth, slow response
WAVE PROJECTION SETTINGS
• Projection Length (default: 20)
How many bars into the future to project
Longer projections have more uncertainty
• Cycle Estimate (default: 28)
Estimated length of one full momentum cycle
Adjust based on your observed patterns
Tip: Count bars between momentum peaks
• Wave Strength (default: 1.0)
Controls amplitude of projected waves
Increase if your asset has large momentum swings
Decrease for more stable assets
• Show Confidence Bands (default: on)
Displays upper/lower probability envelope
Bands widen over time showing increasing uncertainty
LEVELS
• Overbought (default: 70)
• Oversold (default: 30)
Adjust based on asset volatility
More volatile assets: use 80/20
Less volatile assets: use 70/30
█ BEST PRACTICES
1. TIMEFRAME SELECTION
• Scalping: 1m, 5m, 15m
• Day trading: 15m, 1H
• Swing trading: 4H, Daily
2. COMBINE WITH PRICE ACTION
• Use support/resistance levels for confirmation
• Look for candlestick patterns at signal points
• Check higher timeframe trend direction
3. RISK MANAGEMENT
• Wave projection is probabilistic, NOT guaranteed
• Always use stop losses
• Don't risk more than 1-2% per trade
• Higher confidence when projection aligns with trend
4. AVOID FALSE SIGNALS
• Skip signals during major news events
• Be cautious of signals against the higher timeframe trend
• Wait for candle close before entering
• Look for confluence with other indicators
5. OPTIMAL CONDITIONS
• Best in trending markets with clear cycles
• Works well on liquid assets (major forex, crypto, indices)
• Less reliable during low volume/choppy conditions
█ ALERTS
The indicator includes 6 built-in alerts:
1. Bullish Crossover - Momentum crosses above signal
2. Bearish Crossover - Momentum crosses below signal
3. Strong Buy Signal - Bullish cross from oversold zone
4. Strong Sell Signal - Bearish cross from overbought zone
5. Entering Overbought - Momentum rising above 70
6. Entering Oversold - Momentum falling below 30
To set alerts:
1. Right-click on the indicator
2. Select "Add Alert"
3. Choose your preferred condition
4. Set notification preferences
█ DISCLAIMER
This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss. Always do your own research and consider your financial situation before trading. Use proper risk management and never trade with money you cannot afford to lose.
══════════════════════════════════════════════════════════════════════════════
END OF DESCRIPTION
══════════════════════════════════════════════════════════════════════════════
══════════════════════════════════════════════════════════════════════════════
SHORT DESCRIPTION (For the brief description field)
══════════════════════════════════════════════════════════════════════════════
Advanced momentum oscillator with predictive wave projection. Features adaptive coloring, signal line crossovers, and future momentum path forecasting using damped harmonic oscillation. Includes confidence bands and built-in alerts for scalping and swing trading.
══════════════════════════════════════════════════════════════════════════════
Wasserstein Distance [Regime Series]- FilterThe tool is measures how different the market’s current behavior is from its normal behavior by comparing two distributions of returns:
Short window → recent market behavior
Reference window → baseline / historical behavior
It uses a simplified 1D Wasserstein Distance, which compares the shape of return distributions rather than individual prices.
The result is a regime-awareness signal, not a buy/sell trigger that answers the question: Is the market behaving normally, or has its behavior changed?
🧠 Why use it as a regime filter
*Trending vs ranging
*Low volatility vs high volatility
*Normal conditions vs news / expansion phases
*Most strategies fail when applied in the wrong regime.
📈 How to interpret the values
🔹 Low / Stable values
*Market behavior is similar to the baseline.
*Regime is stable
*Mean-reversion and structure-based strategies tend to work better in this environment.
🔸 Rising values
*Market behavior is changing
*Possible early regime transition
*Volatility and directional movement may increase
🔺 Spiking Values
*Clear regime shift
*Often associated with:
*Breakouts
*Volatility expansion
*News events
🧩 How to use it as a filter (NOT AN ENTRY)
✅ Breakout / trend strategies
Prefer trades when:
*Wasserstein Distance is rising, or above its recent average
*Confirms that the market is leaving a “normal” state
🚫 Mean-reversion strategies
*Avoid trades when distance is elevated or spiking.
*Best used when distance is low and stable.
⚖️ Risk management
*Reduce position size when distance is high.
*Skip trades entirely during extreme spikes.
This is a filter that uses a distribution-based metric, not momentum or direction but for structural awareness and market context. THIS IS NOT DESIGNED TO OPERATE AS A STANDALONE, a high value does not mean price will go up or down, only that behavior has changed.
I'm leaving this open so anyone can experiment with it as I've noticed there isn't much variety in this category.
Red light / Green lightInspired on the video www.youtube.com
In the video he claims that using simple indicators work better than complex indicators.
This script was created using 1 indicator from each indicator family.
The following indicators are used:
- RVI as a volatility indicator
- Chaiking Oscillator as a volume indicator
- RSI as a momentum indicator
- MACD as a trend indicator
Don't forget to adapt the order size and the commission. I've taken commission as 0.1 based on the Bybit non-VIP spot trading.
Happy trading!
Volume $ Spike Alert - Mustang AlgoVolume $ Spike Alert - Mustang Algo📊 Overview
Advanced volume analysis indicator that detects significant dollar volume spikes and generates intelligent buy/sell signals. Designed for traders seeking to identify institutional activity and potential market turning points through volume analysis.🎯 Key FeaturesDual Detection Modes
Absolute Threshold: Triggers alerts when volume exceeds fixed billion-dollar thresholds
Ratio vs Average: Detects spikes relative to historical moving average
Combined Mode: Uses both methods for maximum sensitivity
Smart Trading Signals
Auto Mode: Follows trend momentum (high volume + green = buy, red = sell)
Contrarian Mode: Identifies potential reversals (extreme volume = opposite signal)
Manual Modes: Force all signals as buy or sell based on your strategy
Visual Components
Color-coded volume histogram (Normal/Alert/Extreme levels)
Buy/Sell triangle markers on price chart
Moving average overlay for context
Real-time summary table with key metrics
📈 Use Cases
Institutional Activity Detection: Spot when big money enters/exits positions
Breakout Confirmation: Validate price moves with volume support
Reversal Identification: Extreme volume often marks tops/bottoms
Day Trading: Real-time alerts for volume-based entries/exits
⚙️ Customizable Parameters
Alert thresholds (billions $)
Moving average period (5-200)
Ratio multipliers for dynamic detection
Signal type selection
Display options for all visual elements
🔔 Built-in Alerts
Volume spike alerts (standard & extreme)
Buy signal alerts
Sell signal alerts
All alerts include ticker and volume data
💡 Trading Tips
Combine with price action for confirmation
Extreme volume + divergence = potential reversal
Use ratio mode for adaptive thresholds across different market conditions
Monitor the ratio value - above 5x average is significant, 10x+ is extreme
📝 Default Settings
Alert Threshold: $7.5 billion
Extreme Threshold: $9.0 billion
MA Period: 50 days
Alert Ratio: 5x average
Extreme Ratio: 10x average
Adaptive Momentum Oscillator [AMO]# Adaptive Momentum Oscillator
## Description
**What it does:**
AMO measures buying vs selling pressure by weighting price changes with volume. It automatically adjusts smoothing based on market conditions - faster response in trends, more filtering in choppy markets.
**How it works:**
1. Calculates market efficiency (trending vs choppy)
2. Applies adaptive smoothing to volume
3. Measures volume-weighted bullish/bearish momentum
4. Outputs normalized 0-100 oscillator
**How to read:**
- Above 50 = Bullish momentum (blue zone)
- Below 50 = Bearish momentum (red zone)
- Above 60 = Overbought, watch for reversal
- Below 40 = Oversold, watch for bounce
**Signals:**
- ◆ Blue at 50: Bullish shift (potential long entry)
- ◆ Red at 50: Bearish shift (potential short entry)
- ▽ at 75: Overbought warning
- △ at 25: Oversold warning
**Settings:**
- Lookback Period: Lower = more signals, Higher = smoother
- Adaptation Period: Controls efficiency calculation speed
**Use as:** Trend confirmation, entry timing, or exit signals when reaching extreme zones.
RCAzussie_HAMA Candles Final HAMA Candles & Auto S/R System
* Overview
This indicator combines the trend-following power of HAMA (Heiken Ashi Moving Average) candles with an Automated Support & Resistance system. It is designed to filter out market noise and identify key reversal levels efficiently.
* Key Features
HAMA Candles (Trend)
Smoothed candles help visualize the true market trend.
Green: Bullish Trend
Red: Bearish Trend
Includes a central MA line with gradient colors to indicate trend strength.
Auto Support & Resistance (Levels)
Automatically plots dynamic S/R levels based on pivot points.
Level 1 (White): Short-term (Lookback 5) - For scalping.
Level 2 (Yellow): Mid-term (Lookback 10) - For swing trading.
Level 3 (Orange): Long-term (Lookback 20) - Strongest levels.
* Simplified Alerts
MA Cross (Any): Triggers when price crosses the main MA line (Trend entry/exit).
Major S/R Touch: Triggers ONLY when price touches the strongest Level 3 lines (Reversal check).
* Recommended Chart Setup (Important)
Use Range Bars: This system is optimized for Range Charts, not standard time-based candles (e.g., 1m, 5m).
Focus on Price: Range bars ignore the time axis completely and generate new bars only when the price moves a specific amount. This eliminates time-based noise.
How to Set:
Click the timeframe menu in the top bar.
Select "Range".
Choose a value based on volatility (e.g., 40R for scalping, 100R for crypto/indices).
HAMA 캔들 & 자동 지지저항 시스템
* 개요:
이 지표는 HAMA (Heiken Ashi Moving Average) 캔들의 추세 추종 기능과 자동 지지/저항(S/R) 시스템을 결합한 도구임. 시장의 노이즈를 제거하고 핵심 반전 구간을 찾는 데 최적화됨.
* 핵심 기능
HAMA 캔들 (추세)
노이즈가 제거된 부드러운 캔들로 진짜 추세를 보여줌.
초록색: 상승 추세
빨간색: 하락 추세
중앙 MA 라인의 그라디언트 색상으로 추세 강도를 시각적으로 확인 가능.
자동 지지 & 저항 (레벨)
피봇 포인트 기반으로 지지/저항선을 자동 작도함.
Level 1 (흰색): 단기 (Lookback 5) - 스캘핑용
Level 2 (노란색): 중기 (Lookback 10) - 스윙용
Level 3 (주황색): 장기 (Lookback 20) - 가장 강력한 지지/저항 구간
간편 알람 (Alerts)
MA Cross (Any): 가격이 중앙 MA 라인을 돌파할 때 울림 (진입/청산 신호).
Major S/R Touch: 가장 강력한 Level 3 라인을 터치할 때만 울림 (반전 확인용).
* 추천 차트 설정 (필독)
레인지(Range) 차트 사용: 이 지표는 일반적인 시간 봉(분봉, 시봉)이 아니라 레인지 바에 최적화되어 있음.
가격 집중: 시간의 흐름(X축)을 무시하고, 오직 '가격'이 움직일 때만 캔들이 생성됨. 이렇게 하면 횡보 구간의 노이즈가 사라짐.
설정 방법:
트레이딩뷰 상단 시간 메뉴 클릭.
'Range' 선택.
자산 변동성에 맞춰 값 설정 (예: 스캘핑은 40R, 비트코인/지수는 100R 추천).
알씨아저씨
BLOG: blog.naver.com
VectorPulse Pro v3█ VECTORPULSE PRO v3 - Institutional Trend Detection
A multi-factor confirmation system designed for SPY, QQQ, and IWM on 5m/15m timeframes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
▲ LONG SIGNAL
• Enter when green "▲ LONG" label appears
• Place stop-loss below recent swing low
• Target: 1.5-2x risk or next resistance level
▼ SHORT SIGNAL
• Enter when red "▼ SHORT" label appears
• Place stop-loss above recent swing high
• Target: 1.5-2x risk or next support level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SIGNAL QUALITY
Each signal shows a score (e.g., "6/7") indicating how many filters passed:
• 7/7 = Highest conviction
• 5-6/7 = Strong signal
• Below 5 = Signal filtered out
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONFIRMATION FILTERS
✓ Momentum - Price moving in signal direction
✓ Volume - Above-average volume on breakout
✓ RSI - Not overbought/oversold
✓ VWAP - Long above, Short below
✓ EMA - 9/21 EMA trend alignment
✓ ATR - Volatility expansion
✓ Candle - Strong body confirmation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BEST PRACTICES
1. Trade with the trend (check dashboard bias)
2. Wait for pullbacks to trend line
3. Avoid signals during first/last 30 min
4. Higher timeframe = stronger signals
5. Use dashboard to monitor filter status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS BY TICKER
SPY: Default settings
QQQ: Channel Width 2.5
IWM: Channel Width 3.2
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Adaptive Strength Overlay (MTF) [BackQuant]Adaptive Strength Overlay (MTF)
A multi-timeframe RSI strength visualizer that projects oscillator “pressure” directly onto price using adaptive gradient fills between percent bands. Built to make strength, exhaustion, and regime context readable at a glance, without needing to stare at a separate oscillator panel.
Mean-Reversion mode example
What this indicator does
This indicator converts RSI strength into a chart overlay that reacts to momentum and extremes, then visualizes it as colored “pressure zones” around price.
Instead of plotting RSI in a sub-window, it:
Builds 1 to 3 symmetric percent bands above and below price.
Computes RSI strength on up to 3 different timeframes (MTF).
Smooths RSI with your selected moving average type.
Maps RSI values into discrete transparency “buckets”.
Fills between the bands with a gradient whose opacity reflects strength or exhaustion.
Displays a compact RSI table for all enabled timeframes.
Provides alert conditions for extremes and midline shifts on each timeframe.
The result is an overlay that looks like a dynamic envelope. When strength rises, the envelope “lights up” in the direction of the move. When strength becomes stretched, the outer zones become visually prominent.
Core idea: “Strength as an overlay”
RSI is normally interpreted in a separate oscillator panel. That makes context-switching slow:
You check price action.
You look down at RSI.
You mentally translate RSI into risk or trend bias.
This script removes that translation step by projecting strength directly onto the price area, using band fills as a visual language:
More visible fill = stronger strength or more extreme condition (depending on mode).
Less visible fill = weak strength or neutral state.
Two operating modes
1) Trend mode
Trend mode emphasizes strength aligned with direction:
When RSI is strong on the upside, upper bands become more visible.
When RSI is strong on the downside, lower bands become more visible.
Neutral RSI fades, so the chart de-clutters during chop.
Use Trend mode when:
You want a clean trend-following overlay.
You want to quickly see which timeframe(s) are powering the move.
You want to filter entries to moments when strength confirms direction.
2) Mean-Reversion mode
Mean-Reversion mode flips the emphasis to highlight exhaustion against the move :
Upper extremes become a “potential exhaustion” cue.
Lower extremes become a “potential exhaustion” cue.
The overlay is tuned to make stretched conditions obvious.
This is not an automatic “short overbought / long oversold” system. It is a visualization mode that makes “extended” conditions stand out faster, especially when multiple timeframes align.
How the bands work (Percent Bands)
The indicator constructs up to three symmetric envelopes around price:
Band 1: percent1 scaled by scale
Band 2: percent2 scaled by scale (optional)
Band 3: percent3 scaled by scale (optional)
The percent bands are simple deviations from the selected price source:
Upper = price * (1 + (percent * scaling)/100)
Lower = price * (1 - (percent * scaling)/100)
Why this matters:
It anchors “strength visualization” to meaningful price distance.
It makes the overlay comparable across assets because it’s percent-based.
It gives you a consistent spatial frame for reading momentum versus extension.
Multi-timeframe engine (MTF)
The script runs the same strength calculation on up to three timeframes:
Timeframe 1 uses the chart timeframe by default (empty string input).
Timeframe 2 is optional and defaults to Daily.
Timeframe 3 is optional and defaults to Weekly.
Each timeframe has:
Its own RSI period (len, len2, len3).
Its own smoothing length (slen, slen2, slen3).
The same smoothing type selection (EMA, HMA, etc).
This creates a layered view:
TF1 often reflects tactical pressure (entries/exits).
TF2 reflects structural pressure (swing context).
TF3 reflects macro bias (regime context).
When multiple timeframes agree, the fills stack and the overlay becomes visually louder. When they disagree, the overlay looks mixed or muted, which is exactly the point.
Smoothing options (why so many)
Raw RSI can be noisy. This script lets you smooth RSI with multiple MA types, which changes how “responsive” the overlay feels:
EMA/RMA smooth without lagging as hard as SMA.
HMA responds faster but can be twitchy.
LINREG can feel more “structural”.
ALMA and T3/TEMA provide heavier smoothing profiles with different lag characteristics.
This isn’t cosmetic. Your smoothing choice affects:
How early the overlay “lights up” in Trend mode.
How long extremes remain highlighted in Mean-Reversion mode.
How often fills flicker in chop.
Strength mapping (the transparency buckets)
Instead of mapping RSI to a continuous color scale, the script uses a discrete transparency ladder. That creates a clean, readable visual that avoids constant flickering.
The logic assigns two transparency values per timeframe:
Upper-side transparency responds to lower RSI zones (weak upside strength).
Lower-side transparency responds to higher RSI zones (strong upside strength).
Then the script uses those transparencies differently depending on mode:
Trend mode shows “strength aligned with direction”.
Mean-Reversion mode swaps the emphasis so “extremes” stand out as potential stretch.
You can think of it as:
Trend mode highlights continuation strength.
Mean-Reversion mode highlights potential exhaustion.
Fill stacking (how the overlay is built)
The overlay uses layered fills:
Fill from price to Band 1
Fill from Band 1 to Band 2 (if enabled)
Fill from Band 2 to Band 3 (if enabled)
Upper side uses the negative color (typically red) and lower side uses the positive color (typically green), because upper bands represent “above price” space and lower bands represent “below price” space. The intensity is controlled by the computed transparency per timeframe and selected mode.
Important behavior:
Disabling Band 2 or Band 3 can change how the stacked fills look, because you are removing fill segments.
If you want a clean look, run only Band 1.
If you want a “regime heat” look, run Bands 1–3 with higher scaling.
Table (MTF RSI dashboard)
A compact table prints RSI values for each configured timeframe:
Row labels show TF.
Values show the smoothed RSI output that drives the overlay.
Use it for quick confirmation:
If overlay looks strong but table RSI is neutral, your band settings might be too tight.
If TF3 RSI is extreme while TF1 is neutral, you are likely in a macro stretched regime with local consolidation.
Alerts (built-in)
Alerts are provided for each timeframe separately, covering:
Entering upper extreme (cross above 70)
Exiting upper extreme (cross below 70)
Entering lower extreme (cross below 30)
Exiting lower extreme (cross above 30)
Bullish midline cross (cross above 50)
Bearish midline cross (cross below 50)
This enables workflows like:
Notify when TF2 enters extreme, then wait for TF1 mean-reversion confirmation.
Notify when TF3 crosses midline, then only take TF1 trend setups in that direction.
How to use it (practical reads)
Trend mode reads
Strong continuation: TF1 and TF2 fills become clearly visible on the same side.
Healthy pullback: TF1 fades but TF2 stays visible, suggesting underlying structure remains strong.
Chop warning: fills alternate or remain mostly invisible, indicating neutral strength.
Mean-Reversion mode reads
Exhaustion zones: outer fills become prominent near the extremes, signaling stretched conditions.
Compression after extreme: fill fades while price stabilizes, suggesting “cooling off” rather than immediate reversal.
Multi-TF stretch: TF2 and TF3 extremes together often mark higher significance zones.
Recommended setup presets
Preset A: Clean trend overlay
Mode: Trend
Bands: only Band 1
Scale: 1–2
Smoothing: EMA, moderate slen (6–10)
TF2: Daily on intraday charts
Preset B: Regime and exhaustion mapper
Mode: Mean-Reversion
Bands: Bands 1–3
Scale: 2–4
Smoothing: T3 or RMA, slightly higher slen
TF2: Daily, TF3: Weekly
Limitations
This is a strength visualization tool, not a full entry/exit system.
Percent bands are not volatility-adjusted, they are distance frames. In very high vol conditions, you may need higher band percentages or higher scaling.
MTF values update on their own timeframe closes, so higher timeframes will step rather than update every bar.
Horizontal HV Dot SignalThis indicator shows whether the stock’s current trading volume is above its 150‑day simple moving average (SMA)
Evil's Two Legged IndicatorIndicator that's used to identify 2-legged scalping setups, it's got some good options for channels and chop filtering.
Engulfing + EMA + WMA Alejandraseñal de vela engulfing
emas
wma
multiples emas, velas engulfing y vma en un solo indicador
Bloomberg Mega Board [v2.5 Fixed]Transform your TradingView chart into a professional-grade command center. Designed for traders who need high-level market awareness without switching tabs, this dashboard provides deep, multi-timeframe analysis across US Sectors, Commodities, Currencies, and Crypto.
Key Features
1. Multi-Asset Paging System Pine Script has a limit of 40 security calls, which usually limits how much data you can see. This script bypasses that limitation using a smart Paging System:
Sectors Page: Tracks the top 10 US Sectors (SPY, XLK, XLF, etc.) & Indices.
Commodities Page: Gold, Silver, Oil, Gas, Copper, Corn, etc.
Currencies Page: Major Forex pairs including DXY, EURUSD, USDJPY.
Crypto Page: Top 10 Cryptocurrencies by volume.
Switch pages instantly via the Settings menu.
2. Smart "News" Headlines Since Pine Script cannot access the live internet for news, this script uses an Algorithmic Headline Generator. It analyzes price action and trend alignment to generate a "Market Status" summary:
Full Bull Trend: Intraday + Daily + Weekly trends are all positive.
Strong Rally: Asset is up significantly (>1.25%) on the day.
Heavy Sell-off: Asset is down significantly (<-1.25%) on the day.
Pullback (Buy?): Daily trend is UP, but Intraday is DOWN (potential entry).
Consolidating: Market is chopping sideways.
3. Timeframe Trend Matrix Monitor momentum across the curve with a single glance. The "Trend" columns are powered by the 5 EMA (Exponential Moving Average):
Intraday: Adapts to your current chart timeframe (e.g., switch your chart to 15m to see the 15m trend).
Daily / Weekly / Monthly: These are hard coded to always show the higher timeframe trend, regardless of what chart you are looking at. Trend is determined by price in relation to it's 5 EMA.
4. "Terminal" Aesthetic
Styled with a dark, high-contrast Bloomberg Terminal look.
Uses Amber tickers and Neon status blocks for rapid visual scanning.
Optimized for Full Screen Mode: Hide your main chart candles to turn your monitor into a dedicated data dashboard.
How to Use
Add the indicator to your chart and move it to "New Lower Indicator" Then repeat 4 times for each dashboard.
Open Settings (the gear icon) and find "Select Page".
Choose your desired market view (e.g., Sectors, Crypto, Currencies, Commodities)
Optional: To replicate the full dashboard look, go to your Chart Settings -> Symbol -> Uncheck "Body" and "Borders" to hide the candles behind the table.
2 hours ago
Release Notes
Transform your TradingView chart into a professional-grade command center. Designed for traders who need high-level market awareness without switching tabs, this dashboard provides deep, multi-timeframe analysis across US Sectors, Commodities, Currencies, and Crypto.
Key Features
1. Multi-Asset Paging System Pine Script has a limit of 40 security calls, which usually limits how much data you can see. This script bypasses that limitation using a smart Paging System:
Sectors Page: Tracks the top 10 US Sectors (SPY, XLK, XLF, etc.) & Indices.
Commodities Page: Gold, Silver, Oil, Gas, Copper, Corn, etc.
Currencies Page: Major Forex pairs including DXY, EURUSD, USDJPY.
Crypto Page: Top 10 Cryptocurrencies by volume.
Switch pages instantly via the Settings menu.
2. Smart "News" Headlines Since Pine Script cannot access the live internet for news, this script uses an Algorithmic Headline Generator. It analyzes price action and trend alignment to generate a "Market Status" summary:
Full Bull Trend: Intraday + Daily + Weekly trends are all positive.
Strong Rally: Asset is up significantly (>1.25%) on the day.
Heavy Sell-off: Asset is down significantly (<-1.25%) on the day.
Pullback (Buy?): Daily trend is UP, but Intraday is DOWN (potential entry).
Consolidating: Market is chopping sideways.
3. Timeframe Trend Matrix Monitor momentum across the curve with a single glance. The "Trend" columns are powered by the 5 EMA (Exponential Moving Average):
Intraday: Adapts to your current chart timeframe (e.g., switch your chart to 15m to see the 15m trend).
Daily / Weekly / Monthly: These are hard coded to always show the higher timeframe trend, regardless of what chart you are looking at. Trend is determined by price in relation to it's 5 EMA.
4. "Terminal" Aesthetic
Styled with a dark, high-contrast Bloomberg Terminal look.
Uses Amber tickers and Neon status blocks for rapid visual scanning.
Optimized for Full Screen Mode: Hide your main chart candles to turn your monitor into a dedicated data dashboard.
How to Use
Add the indicator to your chart and move it to "New Lower Indicator" Then repeat 4 times for each dashboard.
Open Settings (the gear icon) and find "Select Page".
Choose your desired market view (e.g., Sectors, Crypto, Currencies, Commodities)
Optional: To replicate the full dashboard look, go to your Chart Settings -> Symbol -> Uncheck "Body" and "Borders" to hide the candles behind the table.
2 hours ago
Release Notes
Transform your TradingView chart into a professional-grade command center. Designed for traders who need high-level market awareness without switching tabs, this dashboard provides deep, multi-timeframe analysis across US Sectors, Commodities, Currencies, and Crypto.
Key Features
1. Multi-Asset Paging System Pine Script has a limit of 40 security calls, which usually limits how much data you can see. This script bypasses that limitation using a smart Paging System:
Sectors Page: Tracks the top 10 US Sectors (SPY, XLK, XLF, etc.) & Indices.
Commodities Page: Gold, Silver, Oil, Gas, Copper, Corn, etc.
Currencies Page: Major Forex pairs including DXY, EURUSD, USDJPY.
Crypto Page: Top 10 Cryptocurrencies by volume.
Switch pages instantly via the Settings menu.
2. Smart "News" Headlines Since Pine Script cannot access the live internet for news, this script uses an Algorithmic Headline Generator. It analyzes price action and trend alignment to generate a "Market Status" summary:
Full Bull Trend: Intraday + Daily + Weekly trends are all positive.
Strong Rally: Asset is up significantly (>1.25%) on the day.
Heavy Sell-off: Asset is down significantly (<-1.25%) on the day.
Pullback (Buy?): Daily trend is UP, but Intraday is DOWN (potential entry).
Consolidating: Market is chopping sideways.
3. Timeframe Trend Matrix Monitor momentum across the curve with a single glance. The "Trend" columns are powered by the 5 EMA (Exponential Moving Average):
Intraday: Adapts to your current chart timeframe (e.g., switch your chart to 15m to see the 15m trend).
Daily / Weekly / Monthly: These are hard coded to always show the higher timeframe trend, regardless of what chart you are looking at. Trend is determined by price in relation to it's 5 EMA.
4. "Terminal" Aesthetic
Styled with a dark, high-contrast Bloomberg Terminal look.
Uses Amber tickers and Neon status blocks for rapid visual scanning.
Optimized for Full Screen Mode: Hide your main chart candles to turn your monitor into a dedicated data dashboard.
How to Use
Add the indicator to your chart and move it to "New Lower Indicator" Then repeat 4 times for each dashboard.
Open Settings (the gear icon) and find "Select Page".
Choose your desired market view (e.g., Sectors, Crypto, Currencies, Commodities)
Optional: To replicate the full dashboard look, go to your Chart Settings -> Symbol -> Uncheck "Body" and "Borders" to hide the candles behind the table.
2 hours ago
Release Notes
Transform your TradingView chart into a professional-grade command center. Designed for traders who need high-level market awareness without switching tabs, this dashboard provides deep, multi-timeframe analysis across US Sectors, Commodities, Currencies, and Crypto.
Key Features
1. Multi-Asset Paging System Pine Script has a limit of 40 security calls, which usually limits how much data you can see. This script bypasses that limitation using a smart Paging System:
Sectors Page: Tracks the top 10 US Sectors (SPY, XLK, XLF, etc.) & Indices.
Commodities Page: Gold, Silver, Oil, Gas, Copper, Corn, etc.
Currencies Page: Major Forex pairs including DXY, EURUSD, USDJPY.
Crypto Page: Top 10 Cryptocurrencies by volume.
Switch pages instantly via the Settings menu.
2. Smart "News" Headlines Since Pine Script cannot access the live internet for news, this script uses an Algorithmic Headline Generator. It analyzes price action and trend alignment to generate a "Market Status" summary:
Full Bull Trend: Intraday + Daily + Weekly trends are all positive.
Strong Rally: Asset is up significantly (>1.25%) on the day.
Heavy Sell-off: Asset is down significantly (<-1.25%) on the day.
Pullback (Buy?): Daily trend is UP, but Intraday is DOWN (potential entry).
Consolidating: Market is chopping sideways.
3. Timeframe Trend Matrix Monitor momentum across the curve with a single glance. The "Trend" columns are powered by the 5 EMA (Exponential Moving Average):
Intraday: Adapts to your current chart timeframe (e.g., switch your chart to 15m to see the 15m trend).
Daily / Weekly / Monthly: These are hard coded to always show the higher timeframe trend, regardless of what chart you are looking at. Trend is determined by price in relation to it's 5 EMA.
4. "Terminal" Aesthetic
Styled with a dark, high-contrast Bloomberg Terminal look.
Uses Amber tickers and Neon status blocks for rapid visual scanning.
Optimized for Full Screen Mode: Hide your main chart candles to turn your monitor into a dedicated data dashboard.
How to Use
Add the indicator to your chart and move it to "New Lower Indicator" Then repeat 4 times for each dashboard.
Open Settings (the gear icon) and find "Select Page".
Choose your desired market view (e.g., Sectors, Crypto, Currencies, Commodities)
Optional: To replicate the full dashboard look, go to your Chart Settings -> Symbol -> Uncheck "Body" and "Borders" to hide the candles behind the table.
Strat Broadening Formation Checklist by HardwaybetsThe Strat Broadening Formation Checklist by Hardwaybets is a checklist and visual tool for monitoring Broadening Formation (BF) conditions. It evaluates price behavior relative to user-defined or dynamically calculated BF High and BF Low levels and displays the results in an on-chart table.
It does not place trades or provide financial advice.
BF price levels may be:
• manually entered
• dynamically expanded without limit
• dynamically expanded within a range constraint
• based on user-defined look-back swing pivots
Levels can optionally be locked to prevent further updating.
In short, the BF price levels can be either dynamic or static, according to the user's preference.
The script can evaluate whether the price is near the BF High/Low using:
• percent
• points
• ticks
• dollars
• ATR multiple
• expected-move multiple
All choices are user-defined.
The script checks:
• whether price took out BF High or BF Low
• simple bar-based reversal up/down logic based on Strat reversal patterns (2U/2D, 3-Bar, Failed 2U/2D)
• higher timeframe direction (user-selectable: 60, 240, D, W, M)
Conditions may persist until an opposite signal occurs. The indicator also records the most recent reversal prices and the highest/lowest prices reached after breaks of BF levels.
For informational and educational display only, it calculates:
• entry = close
• stop = opposite BF level
• risk
• 2R and 3R theoretical targets
An on-chart checklist table displays:
• current trade state
• BF High/Low values
• proximity checks
• took-out-high/low
• reversal signals
• higher-timeframe continuity
• optional risk and target estimates
Optional alerts notify when:
• 4 of 4 conditions complete
• 3 of 4 early setup conditions meet
Optional BF High/Low lines may be drawn with configurable style and color.
Because of the logic used:
• swing pivots repaint until confirmed
• higher-timeframe signals update until the HTF bar closes
• dynamic BF levels can change as new highs/lows form
Calculations and the information displayed on the chart and table are based on closing prices.
This tool is for market study and education only. It does not guarantee results, predict outcomes, or recommend trades.
Key Price Levels + Zones"Support and resistance are rarely exact lines; hey are zones where price reacts."
This indicator upgrades standard horizontal levels by visualizing Liquidity Zones around the most critical intraday reference points: Pre-Market, Previous Day, and Previous Week Highs/Lows.
Unlike basic scripts that just draw thin lines, this tool combines the precision of exact price levels with the reality of market volatility. It offers deep customization, allowing you to separate line colors from zone colors, perfect for keeping your charts clean and professional.
Key Features
1. Dual Zone Logic (Dynamic Sizing)
• Price Tier Mode (Default): Zones are sized based on the asset price (e.g., higher-priced stocks get wider zones automatically). This mimics "psychological" levels.
• ATR Volatility Mode: Switches calculation to use the Average True Range (ATR). Zones expand during high volatility and contract during chop, adapting to the market conditions in real-time.
2. Ultimate Customization
• Separate Colors: You can finally set your Line Color (e.g., Bright Green) independently from your Zone Fill (e.g., Faint Grey).
• Individual Toggles: Turn the Line, Zone, or Label on/off individually for every single level.
• Line Styles: Differentiate daily levels (Solid) from weekly levels (Dashed) instantly.
3. The "Smart" Levels
• PM High/Low: Real-time Pre-Market tracking that freezes at the open.
• PD High/Low: Previous Day’s range.
• PW High/Low: Previous Week’s range (Critical for swing points).
---
Settings Guide
• Extension Style:
- Individual: Keeps history of levels for backtesting.
- Most Recent: Keeps the chart minimal by extending only today's levels.
• Zone Thickness Mode: Switch between "Price Tier" and "ATR Volatility".
• ATR Settings: Fully adjustable Length and Multiplier (when in ATR mode).
• Transparency: Global slider to control how subtle or bold the zones appear.
How to Trade This
• The "Trap": If price breaks a Line but fails to close outside the Zone, it is often a liquidity grab (fakeout).
• The Retest: Watch for price to break a level and use the Zone as a cushion for a bounce/retest entry.
ICT Visible Center-Label CISD & FVGsThis indicator provides a clean, institutional-grade view of market shifts and liquidity gaps, specifically optimized for ICT (Inner Circle Trader) concepts.
Core Components
CISD (+/-): Identifies a "Change in State of Delivery." A (+) indicates a bullish shift, while a (-) indicates a bearish shift. These appear as fixed black lines with labels that delete automatically once price breaches the level.
Multi-Timeframe FVGs: Automatically plots Fair Value Gaps from the 5m, 15m, 1H, and 4H timeframes simultaneously.
Center-Locked Labels: Timeframe labels (e.g., "1H") are centered within the gaps, making them easy to identify without scrolling back through price history.
Auto-Cleaning Logic: To keep your chart clutter-free, gaps and CISD levels are instantly removed from the screen the moment they are mitigated (filled) by price.
RAKSHIT SINGH INDICATORPICCASING Indicator एक Multi-Timeframe Professional Trading System है, जो RSI + VWAP के Combination से High Probability Buy & Sell Opportunities detect करता है। यह Indicator Trend के साथ Entry देता है और केवल तब signal देता है जब Market Pullback के बाद फिर से Trend Continue करने के लिए तैयार हो।
🔥 Strategy Logic
Indicator दो Timeframes पर Market Strength चेक करता है:
SELL Condition
RSI (1 Hour) < 50
RSI (15 Minute) < 50
Price VWAP के नीचे हो
Price VWAP के पास आए (Pullback)
Bearish Confirmation Candle बने
BUY Condition
RSI (1 Hour) > 50
RSI (15 Minute) > 50
Price VWAP के ऊपर हो
Price VWAP के पास आए (Pullback)
Bullish Confirmation Candle बने
इससे Indicator केवल वही Signals देता है जहाँ Market में Clear Direction + Strong Momentum + Smart Entry Point मिलता है।
🎯 Best Timeframe
✔️ Recommended: 15 Minute Chart
✔️ Works on: Forex, Crypto, Indices, Commodities, Stocks
⚙️ Features
Multi-Timeframe RSI Filtering
VWAP Trend Confirmation
Smart Pullback Entry Detection
Confirmation Candle Logic
Clean Buy / Sell Signals
Built-in Alerts (Trading & Automation Ready)
Full Backtest Supported Strategy
🎯 Purpose
PICCASING Indicator Scalpers, Intraday Traders और Swing Traders के लिए बनाया गया है ताकि वे Noise से बचकर केवल High Accuracy Setup पर Trade कर सकें।
SMC Ultimate: Command Center @darshaksscTitle: SMC Ultimate: Command Center
Description: This indicator is a specialized Smart Money Concepts (SMC) toolkit meticulously adjusted and optimized for the unique volatility and volume profiles of the Indian markets, specifically Nifty 50 and Bank Nifty.
Unlike other SMC tools, this version uses displacement logic tuned to the Average True Range (ATR) of Indian indices to identify high-probability Institutional Order Blocks while filtering out retail noise.
Key Features:
1). Institutional Order Blocks: Automatically detects and plots Supply/Demand zones where significant institutional volume (displacement) has entered the market.
2). Optimized for Nifty/BankNifty: Sensitivity parameters have been adjusted to handle the explosive moves often seen in the NSE sessions.
3). Live Command Center: A movable, high-detail dashboard that tracks:
4). Real-Time Day High/Low: Accurate intraday tracking that resets with each session.
5). Volume Force: Measures current volume relative to the average to spot institutional activity.
6).Trend Bias (50 EMA): Immediate directional context.
7). Momentum (RSI) & Strength (ADX): To confirm if a breakout is genuine or a trap.
8). Auto-Mitigation: Zones are automatically removed once price closes through them, ensuring a clean and professional workspace.
9). Theme Support: Includes built-in Light and Dark mode options for the dashboard to match any chart setup.
How to Use:
1). Identify the Zone: Wait for a Green (Demand) or Red (Supply) box to form.
2). Confirm Bias: Use the "TREND" and "VOL FORCE" metrics in the dashboard to confirm institutional intent.
3). Wait for Retest: High-probability entries occur when price returns to test a fresh zone without closing through it.
Disclaimer: This script is for educational and technical analysis purposes only. It is fully TradingView Policy compliant and does not repaint.
CME Gap Tracker [captainua]CME Gap Tracker - Advanced Gap Detection & Tracking System
Overview
This indicator provides comprehensive gap detection and tracking capabilities for both consecutive bar gaps and weekly CME trading session gaps. It automatically detects gaps, tracks their fill progress in real-time, provides detailed statistics, and includes backtesting features to validate gap trading strategies. The script is optimized for CME futures trading but works with any instrument, automatically handling ticker conversion between CME futures and spot markets.
Gap Detection Types
Consecutive Bar Gaps:
Detects gaps between any two consecutive bars on the current timeframe. Two detection modes are available:
- High/Low Mode: Detects gaps when current bar's low > previous bar's high (gap up) or current bar's high < previous bar's low (gap down). This is more sensitive and detects more gaps.
- Close/Open Mode: Detects gaps when current bar's open > previous bar's close (gap up) or current bar's open < previous bar's close (gap down). This is more conservative.
Weekly CME Gaps:
Detects gaps between weekly trading sessions, specifically designed for CME futures markets. The script automatically detects the first bar of each new week and compares the current week's open with the previous week's close/high/low. This is particularly useful for tracking weekend gaps in CME futures markets where price can gap significantly between Friday close and Monday open.
Smart Ticker Detection
The script automatically converts between CME futures tickers (e.g., BTC1!, ETH1!) and spot tickers (e.g., BTCUSDT, ETHUSDT). When viewing a CME futures chart, it can automatically detect and use the corresponding spot ticker for gap analysis, and vice versa. This allows traders to:
- View CME futures but track spot market gaps
- View spot markets but track CME futures gaps
- Manually override with custom ticker specification
The ticker validation system uses caching to prevent race conditions during initial script load, ensuring reliable ticker resolution.
Gap Filtering & Tolerance
Static Tolerance:
Set minimum and maximum gap sizes as percentages (default: show only gaps > 0.333% and < 100%). This filters out noise and focuses on significant gaps.
Dynamic Tolerance:
When enabled, tolerance is calculated dynamically based on ATR (Average True Range). The formula: Dynamic Tolerance = (ATR × ATR Multiplier / Close Price) × 100%. This adapts to market volatility - in volatile markets, only larger gaps are shown; in calm markets, smaller gaps are displayed. This is particularly useful for instruments with varying volatility.
Absolute Size Filtering:
In addition to percentage filtering, gaps can be filtered by absolute price size (e.g., show only gaps > $100). This is useful for instruments where percentage alone doesn't capture significance (e.g., high-priced stocks).
Fill Confirmation System
To reduce false gap closure signals, the script requires multiple consecutive bars to confirm gap closure. The default is 2 bars, but can be adjusted from 1-10 bars. Lower values (1) confirm faster but may produce false signals from temporary wicks. Higher values (3-5) reduce false fill signals but delay confirmation. This prevents temporary price spikes from triggering false gap closure alerts.
Gap Fill Tracking
The script tracks gap fill progress in real-time:
- Fill Percentage: How much of the gap has been filled (0-100%)
- Fill Speed: Whether fill is accelerating, decelerating, or constant
- Time to Fill: For closed gaps, how many bars it took to fill
- Fill Status: Unfilled, partially filled, or fully filled
Visual Features
Heatmap Colors:
Gap colors can be adjusted based on gap size, with larger gaps appearing more intense and smaller gaps more faded.
Adaptive Line Width:
Line thickness automatically adjusts based on gap size, making larger gaps more prominent.
Age-Based Coloring:
Gaps can be color-coded by age, with newer gaps appearing brighter and older gaps more faded.
Confluence Zones:
Areas where multiple gaps overlap are highlighted with enhanced visuals, indicating stronger support/resistance zones.
Gap Statistics
A comprehensive statistics table provides:
- Total gaps created, open, and closed
- Fill rates by direction (up vs down) and size category (small, medium, large)
- Average fill time, fastest fill, slowest fill
- Oldest gap and oldest unfilled gap
- Backtesting results: success rate, reversal rate, average move after fill
- CME gap expiration statistics: Gaps expired unfilled (for Weekly CME gaps only)
Statistics can be filtered by period (All Time, Last 100/500/1000/5000 bars) and can be reset via toggle button.
Backtesting
When enabled, the script tracks price movement after gap fills:
- Price after fill: Captures price when gap closes
- Move after fill: Percentage price movement after closure
- Success/Reversal tracking: Determines if price continued in fill direction or reversed
- Success rate: Percentage of gaps where price continued in fill direction
This data helps validate gap trading strategies and understand gap fill behavior.
Gap Re-opening Detection
When enabled, the script detects when a previously filled gap reopens (price gaps back through the filled gap zone). This is useful for identifying when support/resistance levels break and can signal trend reversals.
CME-Specific Features
Monday Opening Volume Analysis:
For Weekly CME gaps detected on Monday openings, the script tracks Monday opening volume relative to average volume. Higher Monday volume ratios indicate stronger gap significance. This ratio is integrated into gap strength calculations and can be displayed in gap labels. Gaps with Monday volume > 1.5x average receive priority score boosts.
CME Gap Expiration Tracking:
Weekly CME gaps that remain unfilled beyond a configurable threshold (default 1000 bars) are automatically marked as "expired" and tracked separately in statistics. This helps identify gaps that act as strong support/resistance levels and never fill. Expired gaps are displayed with special labeling and counted in the "Gaps Expired (CME)" statistic.
CME Gap Priority Scoring Enhancement:
The priority scoring system includes special boosts for CME gaps:
- Monday gaps: +10 points (gaps detected on Monday openings)
- High Monday volume gaps: +15 points (Monday volume ratio > 1.5x average)
- Gaps at key weekly levels: +10 points (gaps aligning with previous week's high, low, or close within 0.5% tolerance)
These enhancements help prioritize the most significant CME gaps for trading decisions.
Custom Gap Zones
Traders can manually mark custom gap zones by specifying top and bottom levels. These zones are tracked like automatically detected gaps, allowing traders to:
- Mark historical gaps that weren't detected
- Create support/resistance zones based on other analysis
- Track specific price levels of interest
Multi-Timeframe Support
The script can detect gaps on higher timeframes simultaneously. For example, when viewing a 1-hour chart, it can also detect and display gaps from the weekly timeframe. This provides multi-timeframe context for gap analysis.
Alert System
Comprehensive alert system with multiple trigger types:
- Gap Creation: Alert when new gaps are detected
- Gap Closure: Alert when gaps are fully filled
- Partial Fill: Alert when gaps reach specific fill percentages (e.g., 25%, 50%, 75%, 90%)
- Approaching Closure: Alert when gaps reach high fill levels (e.g., 90%, 95%) before closing
- Gap Re-opening: Alert when previously filled gaps reopen
Alerts can be filtered to trigger only on Mondays (useful for CME weekly gaps) or any day.
Filtering Options
Gaps can be filtered by:
- Fill Status: Show all, unfilled only, partially filled only, or fully filled only
- Fill Percentage Range: Show gaps within specific fill percentage ranges
- Gap Age: Show only gaps within specific age ranges (bars)
- Gap Expiration: Automatically remove gaps older than specified number of bars (for Weekly CME gaps, uses separate CME expiration threshold)
Performance & Safety
The script includes several safety features:
- Safe array operations to prevent index out-of-bounds errors
- Memory leak prevention through proper visual object cleanup
- Ticker validation caching to prevent race conditions
- Week boundary detection for accurate CME gap identification
- Fill confirmation system to reduce false signals
- Monday opening volume analysis for CME gap strength assessment
- CME gap expiration tracking with configurable thresholds
- Priority scoring enhancement for Monday gaps, high Monday volume, and key weekly levels
Usage Recommendations
For CME Weekly Gaps:
1. Set "Gap Detection Type" to "Weekly CME"
2. View a CME futures chart (e.g., BTC1!) or enable auto-detect spot ticker
3. Set tolerance to filter gap size (default 0.333%)
4. Enable statistics to track fill rates
5. Configure alerts for gap creation/closure
For Consecutive Bar Gaps:
1. Set "Gap Detection Type" to "Consecutive Bars"
2. Choose "High/Low" for more gaps or "Close/Open" for fewer gaps
3. Adjust tolerance based on instrument volatility
4. Enable fill confirmation (2-3 bars) for more reliable signals
5. Use filtering to focus on specific gap types
For Gap Trading Strategies:
1. Enable backtesting to validate strategy performance
2. Review statistics to understand gap fill patterns
3. Use confluence zones to identify strong support/resistance
4. Configure alerts for gap events matching your strategy
5. Use custom zones to mark important levels
Technical Details:
• Pine Script v6 | Overlay indicator
• Safe array operations with index validation
• Memory leak prevention through proper object cleanup
• Ticker validation caching for reliable ticker resolution
• Works on all timeframes and instruments
• Comprehensive edge case handling
• Week boundary detection using ta.change(weekofyear)
• Fill confirmation system with configurable bars
For detailed documentation and usage instructions, see the script comments.






















