SMT (ICT Concepts)Overview
Smart Money Technique (SMT) Divergence is a price action analysis method derived from Inner Circle Trader (ICT) methodology. This indicator automatically detects SMT divergences by comparing price movements across correlated financial instruments, identifying moments when assets that typically move together begin to diverge - a phenomenon often associated with potential price reversals.
An SMT divergence occurs when one instrument makes a new swing high or low while a correlated instrument fails to confirm that move. This failure to confirm suggests that the instrument may be positioning for a reversal, as the divergence indicates a lack of conviction in the current price direction across related markets.
Theoretical Foundation
What is SMT Divergence?
In correlated markets, instruments tend to move in tandem. For example, the E-mini S&P 500 (ES) and E-mini Nasdaq 100 (NQ) futures typically make swing highs and lows together due to their shared exposure to U.S. equity markets. When this correlation breaks down at key swing points, it creates an SMT divergence.
Bullish SMT Divergence:
The chart instrument creates a lower low compared to a previous swing low, while the correlated comparison instrument creates a higher low (or fails to make a lower low). This divergence at the lows suggests potential buying pressure and a possible bullish reversal.
Bearish SMT Divergence:
The chart instrument creates a higher high compared to a previous swing high, while the correlated comparison instrument creates a lower high (or fails to make a higher high). This divergence at the highs suggests potential selling pressure and a possible bearish reversal.
Why SMT Divergences Matter
SMT divergences are considered significant because they may indicate:
Accumulation or distribution occurring in one instrument but not the other
Relative strength or weakness between correlated assets
Potential exhaustion of the current trend
Early warning signs before major reversals
Indicator Features
Multi-Timeframe SMT Detection
This indicator provides simultaneous SMT detection on two timeframes:
Current Timeframe (CTF) Detection:
The indicator scans for SMT divergences on the chart's active timeframe using multiple pivot lookback periods (3, 5, 8, 13, 21, and 34 bars). This multi-period approach ensures detection of both short-term and intermediate swing points, reducing the likelihood of missing valid divergences while filtering out noise.
Higher Timeframe (HTF) Detection:
Simultaneously, the indicator monitors a higher timeframe for SMT divergences using pivot periods of 3, 5, 8, 13, and 21 HTF candles. Higher timeframe signals generally carry more significance as they represent larger market structure.
Automatic Timeframe Pairing:
When enabled, the indicator automatically selects an appropriate higher timeframe based on your chart's current timeframe:
Sub-1 minute charts pair with 5-minute
1-2 minute charts pair with 15-minute
3-4 minute charts pair with 30-minute
5 minute charts pair with 1-hour
6-9 minute charts pair with 1-hour
15 minute charts pair with 4-hour
16-59 minute charts pair with Daily
1-4 hour charts pair with Weekly
Daily charts pair with Monthly
Combined Signal Detection:
When an SMT divergence is detected on both the current timeframe and higher timeframe at the same price pivots, the indicator combines these into a single enhanced signal. Combined signals display both timeframes in the label and use the higher timeframe styling to emphasize their increased significance.
Automatic Symbol Correlation
The indicator includes comprehensive automatic symbol selection based on the instrument you are viewing. When Auto SMT is enabled, the indicator intelligently selects correlated comparison symbols.
Index Futures Correlations:
E-mini Contracts:
NQ (Nasdaq 100) compares with ES (S&P 500) and YM (Dow Jones)
ES (S&P 500) compares with NQ (Nasdaq 100) and YM (Dow Jones)
YM (Dow Jones) compares with NQ (Nasdaq 100) and ES (S&P 500)
RTY (Russell 2000) compares with ES (S&P 500) and NQ (Nasdaq 100)
Micro Contracts:
MNQ (Micro Nasdaq) compares with MES (Micro S&P) and MYM (Micro Dow)
MES (Micro S&P) compares with MNQ (Micro Nasdaq) and MYM (Micro Dow)
MYM (Micro Dow) compares with MNQ (Micro Nasdaq) and MES (Micro S&P)
M2K (Micro Russell) compares with MES (Micro S&P) and MNQ (Micro Nasdaq)
Metals Futures Correlations:
Standard Contracts:
GC (Gold) compares with SI (Silver) and PL (Platinum)
SI (Silver) compares with GC (Gold) and PL (Platinum)
PL (Platinum) compares with GC (Gold) and SI (Silver)
Micro Contracts:
MGC (Micro Gold) compares with SIL (Micro Silver) and PL (Platinum)
SIL (Micro Silver) compares with MGC (Micro Gold) and PL (Platinum)
Energy Futures Correlations:
CL (Crude Oil) compares with RB (RBOB Gasoline) and NG (Natural Gas)
RB (RBOB Gasoline) compares with CL (Crude Oil) and NG (Natural Gas)
NG (Natural Gas) compares with CL (Crude Oil) and RB (RBOB Gasoline)
MCL (Micro Crude) compares with RB (RBOB Gasoline) and NG (Natural Gas)
Major ETF Correlations:
SPY (S&P 500 ETF) compares with QQQ, DIA, and IWM
QQQ (Nasdaq 100 ETF) compares with SPY, DIA, and IWM
DIA (Dow Jones ETF) compares with SPY, QQQ, and IWM
IWM (Russell 2000 ETF) compares with SPY, QQQ, and DIA
Stock Sector Mapping:
When viewing individual stocks, the indicator automatically identifies the stock's sector and selects appropriate sector ETFs for comparison:
Technology Sector (AAPL, MSFT, GOOGL, NVDA, AMD, INTC, etc.):
Primary: QQQ (Nasdaq 100 ETF)
Secondary: XLK (Technology Select Sector SPDR)
Tertiary: SPY (S&P 500 ETF)
Financial Sector (JPM, BAC, GS, MS, WFC, etc.):
Primary: XLF (Financial Select Sector SPDR)
Secondary: KBE (SPDR S&P Bank ETF)
Tertiary: SPY (S&P 500 ETF)
Energy Sector (XOM, CVX, COP, SLB, etc.):
Primary: XLE (Energy Select Sector SPDR)
Secondary: USO (United States Oil Fund)
Tertiary: SPY (S&P 500 ETF)
Healthcare Sector (JNJ, UNH, PFE, MRK, LLY, etc.):
Primary: XLV (Health Care Select Sector SPDR)
Secondary: IBB (iShares Biotechnology ETF)
Tertiary: SPY (S&P 500 ETF)
Consumer Discretionary Sector (TSLA, HD, NKE, MCD, etc.):
Primary: XLY (Consumer Discretionary Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Consumer Staples Sector (PG, KO, PEP, WMT, COST, etc.):
Primary: XLP (Consumer Staples Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Industrial Sector (CAT, BA, HON, UPS, etc.):
Primary: XLI (Industrial Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Materials Sector (LIN, APD, SHW, FCX, NEM, etc.):
Primary: XLB (Materials Select Sector SPDR)
Secondary: GLD (SPDR Gold Shares)
Tertiary: SPY (S&P 500 ETF)
Utilities Sector (NEE, DUK, SO, etc.):
Primary: XLU (Utilities Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Real Estate Sector (AMT, PLD, CCI, etc.):
Primary: XLRE (Real Estate Select Sector SPDR)
Secondary: VNQ (Vanguard Real Estate ETF)
Tertiary: SPY (S&P 500 ETF)
Communication Services Sector (NFLX, DIS, CMCSA, VZ, T, etc.):
Primary: XLC (Communication Services Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Forex Correlations:
EURUSD compares with GBPUSD
GBPUSD compares with EURUSD
Cryptocurrency Correlations:
BTCUSD compares with ETHUSD
ETHUSD compares with BTCUSD
Three-Symbol Comparison
The indicator supports comparison against up to three symbols simultaneously. When multiple comparison symbols show divergence at the same pivot point, all diverging symbols are displayed in the label, providing stronger confluence. For example, if NQ shows divergence with both ES and YM at the same swing high, the label will display "ES1! + YM1!" indicating divergence confirmation from multiple correlated instruments.
Invalidation Logic
SMT divergences are not indefinitely valid. The indicator includes automatic invalidation logic based on price action following the divergence signal.
Invalidation Rules:
Bearish SMT: Invalidates when price trades above the high of the confirmation pivot (right side of the divergence)
Bullish SMT: Invalidates when price trades below the low of the confirmation pivot (right side of the divergence)
The invalidation level is set at the confirmation bar (the second pivot that completes the SMT pattern), not the extreme of both pivots. This approach aligns with the concept that once price exceeds the confirmation point, the divergence setup is no longer valid.
Invalidation Display Options:
Users can choose to show or hide invalidated SMT signals separately for current timeframe and higher timeframe divergences. When shown, invalidated signals can be displayed with different line styles and widths to visually distinguish them from active signals. Separate limits prevent excessive invalidated signals from cluttering the chart (maximum 15 invalidated signals per timeframe type).
Input Settings
General Settings
Enable SMT Detection:
Master toggle to enable or disable all SMT divergence detection. When disabled, no SMT signals will be calculated or displayed.
Direction:
Filter which divergence types to display:
Both: Display both bullish and bearish SMT divergences
Bullish: Display only bullish SMT divergences (divergence at lows)
Bearish: Display only bearish SMT divergences (divergence at highs)
Symbol Settings
Enable Auto SMT:
When enabled, the indicator automatically selects correlated comparison symbols based on the chart instrument using the correlation mappings described above. When disabled, manual symbol inputs are used.
Symbol 1 (with enable toggle):
First comparison symbol. Enabled by default. When Auto SMT is disabled, enter the desired symbol manually.
Symbol 2 (with enable toggle):
Second comparison symbol. Enabled by default. When Auto SMT is disabled, enter the desired symbol manually.
Symbol 3 (with enable toggle):
Third comparison symbol. Disabled by default. Enable for additional confirmation from a third correlated instrument.
Current Timeframe SMT Settings
Show Current TF SMTs:
Toggle visibility of SMT divergences detected on the chart's current timeframe.
Bullish Color:
Color for bullish SMT divergence lines and labels on the current timeframe.
Bearish Color:
Color for bearish SMT divergence lines and labels on the current timeframe.
Line Style:
Style for current timeframe SMT lines (solid, dashed, or dotted).
Line Width:
Width of current timeframe SMT lines (1-4 pixels).
Show Labels:
Toggle visibility of labels on current timeframe SMT divergences.
Label Style:
Normal: Displays full information including timeframe and diverging symbol names
+/-: Displays minimal "+" or "-" characters with full information available in hover tooltip
Label Size:
Size of current timeframe SMT labels (Tiny, Small, Normal, or Large).
Show Invalidated:
Toggle visibility of invalidated current timeframe SMT signals.
Invalidated Line Style:
Line style for invalidated current timeframe SMT signals.
Invalidated Line Width:
Line width for invalidated current timeframe SMT signals.
Higher Timeframe SMT Settings
Show Higher TF SMTs:
Toggle visibility of SMT divergences detected on the higher timeframe.
Auto Timeframe:
When enabled, automatically selects an appropriate higher timeframe based on the chart's current timeframe. When disabled, uses the manually specified timeframe.
Manual Timeframe:
When Auto Timeframe is disabled, specify the higher timeframe to scan for SMT divergences.
Bullish Color:
Color for bullish SMT divergence lines and labels on the higher timeframe.
Bearish Color:
Color for bearish SMT divergence lines and labels on the higher timeframe.
Line Style:
Style for higher timeframe SMT lines (solid, dashed, or dotted).
Line Width:
Width of higher timeframe SMT lines (1-4 pixels).
Show Labels:
Toggle visibility of labels on higher timeframe SMT divergences.
Label Style:
Normal: Displays full information including timeframe and diverging symbol names
+/-: Displays minimal "+" or "-" characters with full information available in hover tooltip
Label Size:
Size of higher timeframe SMT labels (Tiny, Small, Normal, or Large).
Show Invalidated:
Toggle visibility of invalidated higher timeframe SMT signals.
Invalidated Line Style:
Line style for invalidated higher timeframe SMT signals.
Invalidated Line Width:
Line width for invalidated higher timeframe SMT signals.
Visual Representation
Line Display
SMT divergences are displayed as lines connecting the two pivot points that form the divergence:
For bearish SMT: A line connects the previous swing high to the current (higher) swing high
For bullish SMT: A line connects the previous swing low to the current (lower) swing low
The line color indicates the divergence type (bullish or bearish) and whether it was detected on the current timeframe or higher timeframe.
Label Display
Labels are positioned at the midpoint of the SMT line and display:
The timeframe on which the divergence was detected
The symbol(s) that showed divergence with the chart instrument
When using the "+/-" label style, labels show only "+" for bullish or "-" for bearish divergences, with full information accessible via hover tooltip.
All labels use monospace font formatting for consistent visual appearance.
Combined Signals
When the same divergence is detected on both current and higher timeframes, the signals are combined into a single display using higher timeframe styling. The label shows both timeframes (e.g., "M2 + M15") and all diverging symbols, indicating strong multi-timeframe confluence.
Practical Application Guidelines
Signal Interpretation
SMT divergences should be interpreted within the broader market context. Consider the following when evaluating signals:
Market Structure: SMT divergences occurring at key structural levels (previous highs/lows, order blocks, fair value gaps) tend to be more significant.
Timeframe Confluence: Signals appearing on multiple timeframes simultaneously suggest stronger institutional involvement.
Symbol Confluence: Divergences confirmed by multiple comparison symbols indicate broader market disagreement with the current price direction.
Time of Day: SMT divergences during high-volume trading sessions may carry more weight than those during low-liquidity periods.
Limitations and Considerations
Correlation Variability: Correlations between instruments can strengthen or weaken over time. The automatic symbol selection is based on typical correlations but may not always reflect current market conditions.
Pivot Detection Lag: Pivots are only confirmed after subsequent price action, meaning SMT signals appear with some delay after the actual swing point forms.
False Signals: Not all SMT divergences result in reversals. Use additional confirmation methods and proper risk management.
Data Requirements: The indicator requires sufficient historical data and may not function properly on instruments with limited price history.
Technical Notes
The indicator uses multiple pivot detection periods to identify swing points across different scales
Higher timeframe candle tracking is performed on the lower timeframe chart for precise pivot bar indexing
A deduplication system prevents the same divergence from being detected multiple times across different pivot periods
Array-based storage manages active and invalidated SMT signals with automatic cleanup to prevent memory issues
Maximum label and line counts are set to 500 each to accommodate extended analysis periods
Disclaimer
This indicator is provided for educational and informational purposes only. It is designed to assist traders in identifying potential SMT divergences based on historical price data and should not be considered as financial advice or a recommendation to buy or sell any financial instrument.
Trading financial markets involves substantial risk of loss and is not suitable for all investors. Past performance of any trading methodology, including concepts discussed in this indicator, does not guarantee future results. Users should conduct their own research and analysis before making any trading decisions.
The automatic symbol correlations and sector mappings are based on general market relationships and may not accurately reflect current or future correlations. Users are encouraged to verify correlations independently and adjust comparison symbols as needed.
Always use appropriate risk management techniques, including but not limited to position sizing and stop-loss orders. Never risk more capital than you can afford to lose.
Tìm kiếm tập lệnh với "bear"
Razzere Cloned! EzAlgo V.8.1showBuySell = input(true, "Show Buy & Sell", group="BUY & SELL SIGNALS")
hassasiyet = input.float(3, "Hassasiyet (1-6)", 0.1, 99999, group="BUY & SELL SIGNALS")
percentStop = input.float(1, "Stop Loss % (0 to Disable)", 0, group="BUY & SELL SIGNALS")
offsetSignal = input.float(5, "Signals Offset", 0, group="BUY & SELL SIGNALS")
showRibbon = input(true, "Show Trend Ribbon", group="TREND RIBBON")
smooth1 = input.int(5, "Smoothing 1", 1, group="TREND RIBBON")
smooth2 = input.int(8, "Smoothing 2", 1, group="TREND RIBBON")
showreversal = input(true, "Show Reversals", group="REVERSAL SIGNALS")
showPdHlc = input(false, "Show P.D H/L/C", group="PREVIOUS DAY HIGH LOW CLOSE")
lineColor = input.color(color.yellow, "Line Colors", group="PREVIOUS DAY HIGH LOW CLOSE")
lineWidth = input.int(1, "Width Lines", group="PREVIOUS DAY HIGH LOW CLOSE")
lineStyle = input.string("Solid", "Line Style", )
labelSize = input.string("normal", "Label Text Size", )
labelColor = input.color(color.yellow, "Label Text Colors")
showEmas = input(false, "Show EMAs", group="EMA")
srcEma1 = input(close, "Source EMA 1")
lenEma1 = input.int(7, "Length EMA 1", 1)
srcEma2 = input(close, "Source EMA 2")
lenEma2 = input.int(21, "Length EMA 2", 1)
srcEma3 = input(close, "Source EMA 3")
lenEma3 = input.int(144, "Length EMA 3", 1)
showSwing = input(false, "Show Swing Points", group="SWING POINTS")
prdSwing = input.int(10, "Swing Point Period", 2, group="SWING POINTS")
colorPos = input(color.new(color.green, 50), "Positive Swing Color")
colorNeg = input(color.new(color.red, 50), "Negative Swing Color")
showDashboard = input(true, "Show Dashboard", group="TREND DASHBOARD")
locationDashboard = input.string("Middle Right", "Table Location", , group="TREND DASHBOARD")
tableTextColor = input(color.white, "Table Text Color", group="TREND DASHBOARD")
tableBgColor = input(#2A2A2A, "Table Background Color", group="TREND DASHBOARD")
sizeDashboard = input.string("Normal", "Table Size", , group="TREND DASHBOARD")
showRevBands = input.bool(true, "Show Reversal Bands", group="REVERSAL BANDS")
lenRevBands = input.int(30, "Length", group="REVERSAL BANDS")
// Fonksiyonlar
smoothrng(x, t, m) =>
wper = t * 2 - 1
avrng = ta.ema(math.abs(x - x ), t)
smoothrng = ta.ema(avrng, wper) * m
rngfilt(x, r) =>
rngfilt = x
rngfilt := x > nz(rngfilt ) ? x - r < nz(rngfilt ) ? nz(rngfilt ) : x - r : x + r > nz(rngfilt ) ? nz(rngfilt ) : x + r
percWidth(len, perc) => (ta.highest(len) - ta.lowest(len)) * perc / 100
securityNoRep(sym, res, src) => request.security(sym, res, src, barmerge.gaps_off, barmerge.lookahead_on)
swingPoints(prd) =>
pivHi = ta.pivothigh(prd, prd)
pivLo = ta.pivotlow (prd, prd)
last_pivHi = ta.valuewhen(pivHi, pivHi, 1)
last_pivLo = ta.valuewhen(pivLo, pivLo, 1)
hh = pivHi and pivHi > last_pivHi ? pivHi : na
lh = pivHi and pivHi < last_pivHi ? pivHi : na
hl = pivLo and pivLo > last_pivLo ? pivLo : na
ll = pivLo and pivLo < last_pivLo ? pivLo : na
f_chartTfInMinutes() =>
float _resInMinutes = timeframe.multiplier * (
timeframe.isseconds ? 1 :
timeframe.isminutes ? 1. :
timeframe.isdaily ? 60. * 24 :
timeframe.isweekly ? 60. * 24 * 7 :
timeframe.ismonthly ? 60. * 24 * 30.4375 : na)
f_kc(src, len, hassasiyet) =>
basis = ta.sma(src, len)
span = ta.atr(len)
wavetrend(src, chlLen, avgLen) =>
esa = ta.ema(src, chlLen)
d = ta.ema(math.abs(src - esa), chlLen)
ci = (src - esa) / (0.015 * d)
wt1 = ta.ema(ci, avgLen)
wt2 = ta.sma(wt1, 3)
f_top_fractal(src) => src < src and src < src and src > src and src > src
f_bot_fractal(src) => src > src and src > src and src < src and src < src
f_fractalize (src) => f_top_fractal(src) ? 1 : f_bot_fractal(src) ? -1 : 0
f_findDivs(src, topLimit, botLimit) =>
fractalTop = f_fractalize(src) > 0 and src >= topLimit ? src : na
fractalBot = f_fractalize(src) < 0 and src <= botLimit ? src : na
highPrev = ta.valuewhen(fractalTop, src , 0)
highPrice = ta.valuewhen(fractalTop, high , 0)
lowPrev = ta.valuewhen(fractalBot, src , 0)
lowPrice = ta.valuewhen(fractalBot, low , 0)
bearSignal = fractalTop and high > highPrice and src < highPrev
bullSignal = fractalBot and low < lowPrice and src > lowPrev
// Bileşen...
source = close
smrng1 = smoothrng(source, 27, 1.5)
smrng2 = smoothrng(source, 55, hassasiyet)
smrng = (smrng1 + smrng2) / 2
filt = rngfilt(source, smrng)
up = 0.0, up := filt > filt ? nz(up ) + 1 : filt < filt ? 0 : nz(up )
dn = 0.0, dn := filt < filt ? nz(dn ) + 1 : filt > filt ? 0 : nz(dn )
bullCond = bool(na), bullCond := source > filt and source > source and up > 0 or source > filt and source < source and up > 0
bearCond = bool(na), bearCond := source < filt and source < source and dn > 0 or source < filt and source > source and dn > 0
lastCond = 0, lastCond := bullCond ? 1 : bearCond ? -1 : lastCond
bull = bullCond and lastCond == -1
bear = bearCond and lastCond == 1
countBull = ta.barssince(bull)
countBear = ta.barssince(bear)
trigger = nz(countBull, bar_index) < nz(countBear, bar_index) ? 1 : 0
ribbon1 = ta.sma(close, smooth1)
ribbon2 = ta.sma(close, smooth2)
rsi = ta.rsi(close, 21)
rsiOb = rsi > 70 and rsi > ta.ema(rsi, 10)
rsiOs = rsi < 30 and rsi < ta.ema(rsi, 10)
dHigh = securityNoRep(syminfo.tickerid, "D", high )
dLow = securityNoRep(syminfo.tickerid, "D", low )
dClose = securityNoRep(syminfo.tickerid, "D", close )
ema1 = ta.ema(srcEma1, lenEma1)
ema2 = ta.ema(srcEma2, lenEma2)
ema3 = ta.ema(srcEma3, lenEma3)
= swingPoints(prdSwing)
ema = ta.ema(close, 144)
emaBull = close > ema
equal_tf(res) => str.tonumber(res) == f_chartTfInMinutes() and not timeframe.isseconds
higher_tf(res) => str.tonumber(res) > f_chartTfInMinutes() or timeframe.isseconds
too_small_tf(res) => (timeframe.isweekly and res=="1") or (timeframe.ismonthly and str.tonumber(res) < 10)
securityNoRep1(sym, res, src) =>
bool bull_ = na
bull_ := equal_tf(res) ? src : bull_
bull_ := higher_tf(res) ? request.security(sym, res, src, barmerge.gaps_off, barmerge.lookahead_on) : bull_
bull_array = request.security_lower_tf(syminfo.tickerid, higher_tf(res) ? str.tostring(f_chartTfInMinutes()) + (timeframe.isseconds ? "S" : "") : too_small_tf(res) ? (timeframe.isweekly ? "3" : "10") : res, src)
if array.size(bull_array) > 1 and not equal_tf(res) and not higher_tf(res)
bull_ := array.pop(bull_array)
array.clear(bull_array)
bull_
TF1Bull = securityNoRep1(syminfo.tickerid, "1" , emaBull)
TF3Bull = securityNoRep1(syminfo.tickerid, "3" , emaBull)
TF5Bull = securityNoRep1(syminfo.tickerid, "5" , emaBull)
TF15Bull = securityNoRep1(syminfo.tickerid, "15" , emaBull)
TF30Bull = securityNoRep1(syminfo.tickerid, "30" , emaBull)
TF60Bull = securityNoRep1(syminfo.tickerid, "60" , emaBull)
TF120Bull = securityNoRep1(syminfo.tickerid, "120" , emaBull)
TF240Bull = securityNoRep1(syminfo.tickerid, "240" , emaBull)
TF480Bull = securityNoRep1(syminfo.tickerid, "480" , emaBull)
TFDBull = securityNoRep1(syminfo.tickerid, "1440", emaBull)
= f_kc(close, lenRevBands, 3)
= f_kc(close, lenRevBands, 4)
= f_kc(close, lenRevBands, 5)
= f_kc(close, lenRevBands, 6)
= wavetrend(hlc3, 9, 12)
= f_findDivs(wt2, 15, -40)
= f_findDivs(wt2, 45, -65)
wtDivBull = wtDivBull1 or wtDivBull2
wtDivBear = wtDivBear1 or wtDivBear2
// Renkler
cyan = #00DBFF, cyan30 = color.new(cyan, 70)
pink = #E91E63, pink30 = color.new(pink, 70)
red = #FF5252, red30 = color.new(red , 70)
// Plotlar
off = percWidth(300, offsetSignal)
plotshape(showBuySell and bull ? low - off : na, "Buy Label" , shape.labelup , location.absolute, cyan, 0, "Buy" , color.white, size=size.normal)
plotshape(showBuySell and bear ? high + off : na, "Sell Label", shape.labeldown, location.absolute, pink, 0, "Sell", color.white, size=size.normal)
plotshape(ta.crossover(wt1, wt2) and wt2 <= -53, "Mild Buy" , shape.xcross, location.belowbar, cyan, size=size.tiny)
plotshape(ta.crossunder(wt1, wt2) and wt2 >= 53, "Mild Sell", shape.xcross, location.abovebar, pink, size=size.tiny)
plotshape(wtDivBull, "Divergence Buy ", shape.triangleup , location.belowbar, cyan, size=size.tiny)
plotshape(wtDivBear, "Divergence Sell", shape.triangledown, location.abovebar, pink, size=size.tiny)
barcolor(up > dn ? cyan : pink)
plotshape(showreversal and rsiOs, "Reversal Buy" , shape.diamond, location.belowbar, cyan30, size=size.tiny)
plotshape(showreversal and rsiOb, "Reversal Sell", shape.diamond, location.abovebar, pink30, size=size.tiny)
lStyle = lineStyle == "Solid" ? line.style_solid : lineStyle == "Dotted" ? line.style_dotted : line.style_dashed
lSize = labelSize == "small" ? size.small : labelSize == "normal" ? size.normal : size.large
dHighLine = showPdHlc ? line.new(bar_index, dHigh, bar_index + 1, dHigh , xloc.bar_index, extend.both, lineColor, lStyle, lineWidth) : na, line.delete(dHighLine )
dLowLine = showPdHlc ? line.new(bar_index, dLow , bar_index + 1, dLow , xloc.bar_index, extend.both, lineColor, lStyle, lineWidth) : na, line.delete(dLowLine )
dCloseLine = showPdHlc ? line.new(bar_index, dClose, bar_index + 1, dClose, xloc.bar_index, extend.both, lineColor, lStyle, lineWidth) : na, line.delete(dCloseLine )
dHighLabel = showPdHlc ? label.new(bar_index + 100, dHigh , "P.D.H", xloc.bar_index, yloc.price, #000000, label.style_none, labelColor, lSize) : na, label.delete(dHighLabel )
dLowLabel = showPdHlc ? label.new(bar_index + 100, dLow , "P.D.L", xloc.bar_index, yloc.price, #000000, label.style_none, labelColor, lSize) : na, label.delete(dLowLabel )
dCloseLabel = showPdHlc ? label.new(bar_index + 100, dClose, "P.D.C", xloc.bar_index, yloc.price, #000000, label.style_none, labelColor, lSize) : na, label.delete(dCloseLabel )
plot(showEmas ? ema1 : na, "EMA 1", color.green , 2)
plot(showEmas ? ema2 : na, "EMA 2", color.purple, 2)
plot(showEmas ? ema3 : na, "EMA 3", color.yellow, 2)
plotshape(showSwing ? hh : na, "", shape.triangledown, location.abovebar, color.new(color.green, 50), -prdSwing, "HH", colorPos, false)
plotshape(showSwing ? hl : na, "", shape.triangleup , location.belowbar, color.new(color.green, 50), -prdSwing, "HL", colorPos, false)
plotshape(showSwing ? lh : na, "", shape.triangledown, location.abovebar, color.new(color.red , 50), -prdSwing, "LH", colorNeg, false)
plotshape(showSwing ? ll : na, "", shape.triangleup , location.belowbar, color.new(color.red , 50), -prdSwing, "LL", colorNeg, false)
srcStop = close
atrBand = srcStop * (percentStop / 100)
atrStop = trigger ? srcStop - atrBand : srcStop + atrBand
lastTrade(src) => ta.valuewhen(bull or bear, src, 0)
entry_y = lastTrade(srcStop)
stop_y = lastTrade(atrStop)
tp1_y = (entry_y - lastTrade(atrStop)) * 1 + entry_y
tp2_y = (entry_y - lastTrade(atrStop)) * 2 + entry_y
tp3_y = (entry_y - lastTrade(atrStop)) * 3 + entry_y
labelTpSl(y, txt, color) =>
label labelTpSl = percentStop != 0 ? label.new(bar_index + 1, y, txt, xloc.bar_index, yloc.price, color, label.style_label_left, color.white, size.normal) : na
label.delete(labelTpSl )
labelTpSl(entry_y, "Entry: " + str.tostring(math.round_to_mintick(entry_y)), color.gray)
labelTpSl(stop_y , "Stop Loss: " + str.tostring(math.round_to_mintick(stop_y)), color.red)
labelTpSl(tp1_y, "Take Profit 1: " + str.tostring(math.round_to_mintick(tp1_y)), color.green)
labelTpSl(tp2_y, "Take Profit 2: " + str.tostring(math.round_to_mintick(tp2_y)), color.green)
labelTpSl(tp3_y, "Take Profit 3: " + str.tostring(math.round_to_mintick(tp3_y)), color.green)
lineTpSl(y, color) =>
line lineTpSl = percentStop != 0 ? line.new(bar_index - (trigger ? countBull : countBear) + 4, y, bar_index + 1, y, xloc.bar_index, extend.none, color, line.style_solid) : na
line.delete(lineTpSl )
lineTpSl(entry_y, color.gray)
lineTpSl(stop_y, color.red)
lineTpSl(tp1_y, color.green)
lineTpSl(tp2_y, color.green)
lineTpSl(tp3_y, color.green)
var dashboard_loc = locationDashboard == "Top Right" ? position.top_right : locationDashboard == "Middle Right" ? position.middle_right : locationDashboard == "Bottom Right" ? position.bottom_right : locationDashboard == "Top Center" ? position.top_center : locationDashboard == "Middle Center" ? position.middle_center : locationDashboard == "Bottom Center" ? position.bottom_center : locationDashboard == "Top Left" ? position.top_left : locationDashboard == "Middle Left" ? position.middle_left : position.bottom_left
var dashboard_size = sizeDashboard == "Large" ? size.large : sizeDashboard == "Normal" ? size.normal : sizeDashboard == "Small" ? size.small : size.tiny
var dashboard = showDashboard ? table.new(dashboard_loc, 2, 15, tableBgColor, #000000, 2, tableBgColor, 1) : na
dashboard_cell(column, row, txt, signal=false) => table.cell(dashboard, column, row, txt, 0, 0, signal ? #000000 : tableTextColor, text_size=dashboard_size)
dashboard_cell_bg(column, row, col) => table.cell_set_bgcolor(dashboard, column, row, col)
if barstate.islast and showDashboard
dashboard_cell(0, 0 , "EzAlgo")
dashboard_cell(0, 1 , "Current Position")
dashboard_cell(0, 2 , "Current Trend")
dashboard_cell(0, 3 , "Volume")
dashboard_cell(0, 4 , "Timeframe")
dashboard_cell(0, 5 , "1 min:")
dashboard_cell(0, 6 , "3 min:")
dashboard_cell(0, 7 , "5 min:")
dashboard_cell(0, 8 , "15 min:")
dashboard_cell(0, 9 , "30 min:")
dashboard_cell(0, 10, "1 H:")
dashboard_cell(0, 11, "2 H:")
dashboard_cell(0, 12, "4 H:")
dashboard_cell(0, 13, "8 H:")
dashboard_cell(0, 14, "Daily:")
dashboard_cell(1, 0 , "V.8.1")
dashboard_cell(1, 1 , trigger ? "Buy" : "Sell", true), dashboard_cell_bg(1, 1, trigger ? color.green : color.red)
dashboard_cell(1, 2 , emaBull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 2, emaBull ? color.green : color.red)
dashboard_cell(1, 3 , str.tostring(volume))
dashboard_cell(1, 4 , "Trends")
dashboard_cell(1, 5 , TF1Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 5 , TF1Bull ? color.green : color.red)
dashboard_cell(1, 6 , TF3Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 6 , TF3Bull ? color.green : color.red)
dashboard_cell(1, 7 , TF5Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 7 , TF5Bull ? color.green : color.red)
dashboard_cell(1, 8 , TF15Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 8 , TF15Bull ? color.green : color.red)
dashboard_cell(1, 9 , TF30Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 9 , TF30Bull ? color.green : color.red)
dashboard_cell(1, 10, TF60Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 10, TF60Bull ? color.green : color.red)
dashboard_cell(1, 11, TF120Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 11, TF120Bull ? color.green : color.red)
dashboard_cell(1, 12, TF240Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 12, TF240Bull ? color.green : color.red)
dashboard_cell(1, 13, TF480Bull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 13, TF480Bull ? color.green : color.red)
dashboard_cell(1, 14, TFDBull ? "Bullish" : "Bearish", true), dashboard_cell_bg(1, 14, TFDBull ? color.green : color.red)
plot(showRevBands ? upperKC1 : na, "Rev.Zone Upper 1", red30)
plot(showRevBands ? upperKC2 : na, "Rev.Zone Upper 2", red30)
plot(showRevBands ? upperKC3 : na, "Rev.Zone Upper 3", red30)
plot(showRevBands ? upperKC4 : na, "Rev.Zone Upper 4", red30)
plot(showRevBands ? lowerKC4 : na, "Rev.Zone Lower 4", cyan30)
plot(showRevBands ? lowerKC3 : na, "Rev.Zone Lower 3", cyan30)
plot(showRevBands ? lowerKC2 : na, "Rev.Zone Lower 2", cyan30)
plot(showRevBands ? lowerKC1 : na, "Rev.Zone Lower 1", cyan30)
fill(plot(showRibbon ? ribbon1 : na, "", na, editable=false), plot(showRibbon ? ribbon2 : na, "", na, editable=false), ribbon1 > ribbon2 ? cyan30 : pink30, "Ribbon Fill Color")
// Alarmlar
alert01 = ta.crossover(ribbon1, ribbon2)
alert02 = bull
alert03 = wtDivBull
alert04 = wtDivBear
alert05 = bull or bear
alert06 = ta.crossover(wt1, wt2) and wt2 <= -53
alert07 = ta.crossunder(wt1, wt2) and wt2 >= 53
alert08 = ta.crossunder(ribbon1, ribbon2)
alert09 = rsiOb or rsiOs
alert10 = bear
alert11 = ta.cross(ribbon1, ribbon2)
alerts(sym) =>
if alert02 or alert03 or alert04 or alert06 or alert07 or alert10
alert_text = alert02 ? "Buy Signal EzAlgo" : alert03 ? "Strong Buy Signal EzAlgo" : alert04 ? "Strong Sell Signal EzAlgo" : alert06 ? "Mild Buy Signal EzAlgo" : alert07 ? "Mild Sell Signal EzAlgo" : "Sell Signal EzAlgo"
alert(alert_text, alert.freq_once_per_bar_close)
alerts(syminfo.tickerid)
alertcondition(alert01, "Blue Trend Ribbon Alert", "Blue Trend Ribbon, TimeFrame={{interval}}")
alertcondition(alert02, "Buy Signal", "Buy Signal EzAlgo")
alertcondition(alert03, "Divergence Buy Alert", "Strong Buy Signal EzAlgo, TimeFrame={{interval}}")
alertcondition(alert04, "Divergence Sell Alert", "Strong Sell Signal EzAlgo, TimeFrame={{interval}}")
alertcondition(alert05, "Either Buy or Sell Signal", "EzAlgo Signal")
alertcondition(alert06, "Mild Buy Alert", "Mild Buy Signal EzAlgo, TimeFrame={{interval}}")
alertcondition(alert07, "Mild Sell Alert", "Mild Sell Signal EzAlgo, TimeFrame={{interval}}")
alertcondition(alert08, "Red Trend Ribbon Alert", "Red Trend Ribbon, TimeFrame={{interval}}")
alertcondition(alert09, "Reversal Signal", "Reversal Signal")
alertcondition(alert10, "Sell Signal", "Sell Signal EzAlgo")
alertcondition(alert11, "Trend Ribbon Color Change Alert", "Trend Ribbon Color Change, TimeFrame={{interval}}")
Relative Volume Bollinger Band %
The Relative Volume Bollinger Band % indicator is a powerful tool designed for traders seeking insights into volume, Bollinger band and relative strength dynamics. This indicator assesses the deviation of a security's trading volume relative to the Bollinger band % indicator and the RSI moving average. Together, these shed light on potential zones of interests where market shifts have a high probability of occurring.
Key Features:
Period: Tailor the indicator's sensitivity by adjusting the period of the smooth moving average and/or the period of the Bollinger band.
How it Works:
Moving Average Calculation: The script computes the simple moving average (SMA) of the relative strength over a defined period. When the higher SMA (orange line) is in the top grey zone, the security is in a zone where it has a high probability of becoming bullish. When the higher SMA is in the lower grey zone, the security is in a zone where it has a high probability of becoming bearish.
-Bollinger Band %: The script also computes the BB% which is primarily used to confirm overbought and oversold areas. When overbought, it turns white and remains white until the overbuying pressure is released indicating that the security is about to become bearish. The script indicates a bearish reversal when the BB% and RVOL bars are both red or when there are no more yellow RVOL bars, if present. When the BB% is<0 and rising, it will also appear white with yellow RVOL bars above. This is a good indication that bulls are beginning to enter buying positions. Confirmation here is indicated when the yellow RVOL bars change to green.
Relative Volume: The indicator then also normalizes the difference volume to indicate areas of high and low volatility. This shows where higher than normal volumes are being traded and can be used as a good indication of when to enter or exit a trade when the above criterions are met.
Visual Representation: The result is visually represented on the chart using columns. Bright green columns signify bullish relative volume values that are much greater than normal. Green columns signify bullish relative volume values that are significant. Red columns represent bearish values that are significant. Blue columns on the BB% indicator represent significant bullish buying in overbought areas. Red columns on the BB% indicator that are < 0 represent a bearish trend that is in an oversold area. This is there to prevent early entry into the market.
Enhancements:
Areas of Interest: Optionally, Areas of interest are represented by red, yellow and green circles on the higher SMA line, aiding in the identification of significant deviations.
ICT Bias (Dynamic Timeframe By Hayk Trading)This indicator designed to offer context, not signals, helping traders stay aligned with the broader directional flow of the market.
Bias States:
Bullish: Market conditions favor higher prices during the trading day.
Bearish: Market conditions favor lower prices during the trading day.
Neutral: No clear directional advantage is present.
This tool is intended to support:
Directional filtering for intraday trading
Improved trade discipline
Reduced overtrading in unfavorable conditions
The Daily Bias does not predict price, provide entries, or guarantee outcomes. It simply highlights the prevailing directional environment for the session.
Use it as a decision-support tool, not as a standalone trading system.
able FRVP Reversal# able FRVP Reversal - Complete User Guide
## 📌 Overview
**able FRVP Reversal** is a professional-grade Volume Profile indicator with an integrated reversal detection system. It combines Fixed Range Volume Profile (FRVP) analysis with a confluence-based reversal scoring system to identify high-probability turning points at key volume levels.
---
## ✨ Key Features
| Feature | Description |
|---------|-------------|
| **Session-Based Volume Profile** | Automatically resets at the beginning of each regular trading session |
| **POC (Point of Control)** | Highest volume price level - strongest support/resistance |
| **VAH (Value Area High)** | Upper boundary of the 70% value area - resistance zone |
| **VAL (Value Area Low)** | Lower boundary of the 70% value area - support zone |
| **Confluence Scoring System** | 5-point scoring system for reversal detection |
| **Smart Cooldown** | Prevents signal spam with customizable cooldown period |
| **Real-time Info Table** | Displays all key metrics in a retro-style dashboard |
---
## 🔧 Installation
1. Open TradingView and go to **Pine Editor**
2. Delete any existing code and paste the indicator code
3. Click **"Add to Chart"**
4. Configure settings as needed
---
## ⚙️ Settings Explained
### 📊 Volume Profile Settings
| Setting | Default | Description |
|---------|---------|-------------|
| **Number of Rows** | 50 | Resolution of the volume profile (more rows = finer detail) |
| **Value Area %** | 70 | Percentage of volume to include in Value Area (industry standard: 70%) |
| **Profile Width** | 40 | Visual width of the histogram on chart |
| **Show Histogram** | ✓ | Display volume histogram bars |
| **Show POC/VAH/VAL** | ✓ | Display the three key levels |
| **Show Labels** | ✓ | Display price labels for each level |
| **Extend Lines** | ✓ | Extend levels to the right of current price |
| **Extend Length** | 100 | How far to extend the lines (in bars) |
### 🔄 Reversal Detection Settings
| Setting | Default | Description |
|---------|---------|-------------|
| **Enable Reversal Detection** | ✓ | Turn reversal signals on/off |
| **Min Confluence Score** | 3 | Minimum score required to trigger signal (1-5) |
| **Cooldown Bars** | 10 | Minimum bars between signals to prevent spam |
#### Understanding Min Confluence Score:
- **Score 1-2**: Very sensitive, many signals (not recommended)
- **Score 3**: Balanced - good for most traders ⭐ Recommended
- **Score 4**: Conservative - fewer but higher quality signals
- **Score 5**: Very strict - only strongest reversals
### 🎨 Color Settings
All colors are fully customizable:
- **POC Line**: Default Gold (#FFD700)
- **VAH Line**: Default Coral Red (#FF6B6B)
- **VAL Line**: Default Teal (#4ECDC4)
- **Bullish Reversal**: Default Green (#00E676)
- **Bearish Reversal**: Default Red (#FF5252)
---
## 📖 How to Read the Indicator
### Volume Profile Histogram
```
█████████████ ← High volume = Strong S/R
████████ ← Medium volume
████ ← Low volume = Weak S/R
██
```
- **Darker/Longer bars** = More trading activity at that price
- **Inside Value Area** = Colored based on session direction (Bull/Bear)
- **Outside Value Area** = Muted gray color
### Key Levels
| Level | Color | Meaning |
|-------|-------|---------|
| **POC** | Yellow | Price with highest volume - Strongest magnet |
| **VAH** | Red | Upper resistance - Look for bearish reversals |
| **VAL** | Teal | Lower support - Look for bullish reversals |
---
## 🔄 Reversal Detection System
### How the Scoring System Works
The indicator uses a **5-point confluence scoring system**. Each condition adds 1 point:
#### 🟢 Bullish Reversal Score (at VAL)
| Condition | Points | Description |
|-----------|--------|-------------|
| Price at VAL Zone | +1 | Price is within VAL ± 0.2 ATR |
| Bullish Candle | +1 | Close > Open (green candle) |
| RSI Oversold | +1 | RSI < 35 |
| Rejection Wick | +1 | Lower wick > 1.5× body size |
| Failed Breakdown | +1 | Touched below VAL but closed above |
#### 🔴 Bearish Reversal Score (at VAH)
| Condition | Points | Description |
|-----------|--------|-------------|
| Price at VAH Zone | +1 | Price is within VAH ± 0.2 ATR |
| Bearish Candle | +1 | Close < Open (red candle) |
| RSI Overbought | +1 | RSI > 65 |
| Rejection Wick | +1 | Upper wick > 1.5× body size |
| Failed Breakout | +1 | Touched above VAH but closed below |
### Signal Quality Ratings
| Score | Rating | Meaning |
|-------|--------|---------|
| 5/5 | ★★★ | Excellent - Highest probability |
| 4/5 | ★★ | Good - High probability |
| 3/5 | ★ | Acceptable - Moderate probability |
| <3 | - | No signal triggered |
---
## 📋 Info Table Explained
```
╔═ able-REV ═╗ 15 ████████ SCR
─────────────────────────────────────
ZONE UPPER VA ▒▒▓▓████ ▲
POC 4272.680 ██████·· ▲
VAH 4322.745 ████···· ·
VAL 4264.977 ██████·· ·
═ SCORE ═════════════════════════════
BULL 0/5 ········ ·
BEAR 1/5 ░······· ·
RSI 49 ▒▒▓▓···· ·
◄SIGNAL► WAIT ········ ·
```
| Row | Description |
|-----|-------------|
| **ZONE** | Current price position relative to Value Area |
| **POC/VAH/VAL** | Price levels with distance indicators |
| **BULL Score** | Current bullish confluence score |
| **BEAR Score** | Current bearish confluence score |
| **RSI** | RSI value with OB/OS status |
| **SIGNAL** | Current signal status (BUY/SELL/WAIT) |
### Zone Types
| Zone | Meaning | Bias |
|------|---------|------|
| ABOVE VAH | Price broke above resistance | Bullish (but watch for rejection) |
| ⚠ AT VAH | Price testing resistance | Watch for bearish reversal |
| UPPER VA | Price in upper value area | Slight bullish bias |
| LOWER VA | Price in lower value area | Slight bearish bias |
| ⚠ AT VAL | Price testing support | Watch for bullish reversal |
| BELOW VAL | Price broke below support | Bearish (but watch for rejection) |
---
## 📈 Trading Strategies
### Strategy 1: VAH Rejection (Bearish Reversal)
**Setup:**
1. Price approaches or touches VAH (red dashed line)
2. BEAR score reaches 3+ (or your minimum setting)
3. REV signal appears above the candle
**Entry:**
- Enter SHORT on signal candle close
- Or wait for confirmation candle
**Stop Loss:**
- Above the signal candle high
- Or above VAH + 0.5 ATR
**Take Profit:**
- First target: POC (yellow line)
- Second target: VAL (teal line)
---
### Strategy 2: VAL Bounce (Bullish Reversal)
**Setup:**
1. Price approaches or touches VAL (teal dashed line)
2. BULL score reaches 3+ (or your minimum setting)
3. REV signal appears below the candle
**Entry:**
- Enter LONG on signal candle close
- Or wait for confirmation candle
**Stop Loss:**
- Below the signal candle low
- Or below VAL - 0.5 ATR
**Take Profit:**
- First target: POC (yellow line)
- Second target: VAH (red line)
---
### Strategy 3: POC Bounce
**Setup:**
1. Price pulls back to POC after trending
2. POC acts as support/resistance
3. Watch for reversal candle patterns
**Entry:**
- Long if bullish candle at POC from below
- Short if bearish candle at POC from above
**Stop Loss:**
- Other side of POC ± buffer
---
## ⚠️ Important Notes
### When Signals Work Best
✅ **High Probability Setups:**
- Score 4-5 with clear rejection wick
- RSI confirms (oversold for long, overbought for short)
- First test of VAH/VAL in the session
- Clear trend before reversal
❌ **Low Probability Setups:**
- Score barely meeting minimum (3/5)
- Multiple tests of same level (level weakening)
- Low volume/choppy market
- News events pending
### Risk Management Rules
1. **Never risk more than 1-2% per trade**
2. **Always use stop loss** - place beyond the level
3. **Wait for candle close** - don't enter on wick touches
4. **Respect the cooldown** - avoid overtrading
5. **Consider the trend** - counter-trend reversals are riskier
---
## 🔔 Alerts
The indicator includes built-in alerts:
| Alert | Trigger |
|-------|---------|
| VAL Bullish Reversal | BULL score meets minimum at VAL |
| VAH Bearish Reversal | BEAR score meets minimum at VAH |
### Setting Up Alerts:
1. Right-click on the chart
2. Select "Add Alert"
3. Choose "able FRVP Reversal" as condition
4. Select desired alert type
5. Configure notification method
---
## 💡 Pro Tips
1. **Combine with trend analysis** - Reversals in trend direction are more reliable
2. **Watch for confluence with other S/R** - If VAH/VAL aligns with round numbers, previous highs/lows, or fib levels, the level is stronger
3. **Volume confirmation** - Higher volume on reversal candle = stronger signal
4. **Time of day matters** - Reversals during active trading hours are more reliable
5. **Adjust sensitivity by market** - Volatile assets may need higher Min Confluence Score
6. **Use multiple timeframes** - Check if reversal level aligns with higher timeframe levels
---
## 🔧 Recommended Settings by Trading Style
| Style | Min Confluence | Cooldown | Best For |
|-------|----------------|----------|----------|
| Scalping | 3 | 5-7 | Quick trades, more signals |
| Day Trading | 3-4 | 10-15 | Balanced approach |
| Swing Trading | 4-5 | 20+ | Fewer, higher quality signals |
---
## ❓ Troubleshooting
| Issue | Solution |
|-------|----------|
| No signals appearing | Lower Min Confluence Score or check if market is ranging |
| Too many signals | Increase Min Confluence Score or Cooldown Bars |
| Levels not showing | Enable Show POC/VAH/VAL in settings |
| Histogram too wide/narrow | Adjust Profile Width setting |
---
## 📞 Support
For questions, suggestions, or bug reports, please contact the developer.
---
**Version:** 1.0
**Last Updated:** 2024
**Platform:** TradingView (Pine Script v6)
MACD Nexus Pro [OXE]MACD Nexus Pro
Institutional-Grade Momentum Intelligence System
Transform How You Read Market Momentum
Standard MACD indicators show you what happened. MACD Nexus Pro shows you what's about to happen.
Built for serious traders who demand more than basic crossovers, this indicator combines 8 proprietary analysis engines into one powerful momentum intelligence system. Whether you trade forex, crypto, stocks, or commodities — MACD Nexus Pro gives you the institutional edge.
What Makes This Different?
Most MACD indicators are stuck in the 1970s. They show you two lines, a histogram, and leave you guessing. MACD Nexus Pro was engineered from the ground up to answer the questions professional traders actually ask:
"Is this signal confirmed across multiple timeframes?"
"Is this momentum move real or a fake-out?"
"Are smart money players accumulating or distributing?"
"Is this trend exhausted or just getting started?"
Core Benefits for Traders
🎯 Eliminate False Signals with MTF Confluence
Stop getting chopped up by single-timeframe noise. The Multi-Timeframe Confluence Matrix scans 4 timeframes simultaneously and calculates a unified alignment score from -5 to +5.
How it helps you:
Only take trades when multiple timeframes agree
See instantly if higher timeframes support your entry
Avoid counter-trend trades that fail 80% of the time
Build confidence knowing the "big picture" backs your trade
📊 Know Your Market Regime Instantly
Markets behave differently in trending vs ranging conditions. The Regime Detection Engine automatically classifies current conditions as TRENDING, VOLATILE, RANGING, or NEUTRAL.
How it helps you:
Adjust your strategy to match market conditions
Avoid momentum trades in choppy, ranging markets
Capitalize on trending markets with confidence
Stop forcing trades when conditions don't favor your style
🔄 Catch Reversals Early with Smart Divergence Detection
Divergences signal potential reversals before they happen — but spotting them manually is tedious and error-prone. The Divergence Engine automatically detects both Regular and Hidden divergences, then rates their strength.
How it helps you:
Get early warning of trend exhaustion
Find high-probability reversal entries
Use Hidden divergences for trend continuation trades
Prioritize strong divergences (★★★★) over weak ones
🏦 Trade Alongside Smart Money
Institutional players leave footprints. The Smart Money Momentum Zones detect when volume-weighted momentum enters extreme territory — signaling potential accumulation (buying) or distribution (selling) by large players.
How it helps you:
Identify where institutions are likely positioning
Buy in accumulation zones with smart money
Sell or short in distribution zones
Avoid buying into institutional selling
⚡ Distinguish Impulse Moves from Corrections
Not all momentum is created equal. The Impulse Wave Detection system identifies whether current momentum is an impulse (strong, directional) or a correction (weak, counter-trend).
How it helps you:
Enter on impulses, not corrections
Hold winners through corrections without panic
Recognize when a trend is resuming
Time entries at the start of new momentum waves
📍 Never Miss True Equilibrium
Static zero lines are outdated. The Dynamic Zero Line adapts to the market's true momentum equilibrium, shifting based on long-term bias.
How it helps you:
Understand the market's real neutral point
Recognize bullish/bearish bias at a glance
Better time zero-line crossover trades
Filter signals based on positioning above/below equilibrium
⚠️ Get Warned Before Momentum Dies
Chasing extended moves is how traders lose money. The Momentum Exhaustion Detector calculates the thrust-to-follow-through ratio and warns you when momentum is overextended.
How it helps you:
Avoid late entries into tired trends
Take profits before reversals hit
Spot when bulls/bears are running out of steam
Stay patient for better entries after exhaustion
🌈 Read Momentum Strength at a Glance
The Gradient Histogram Heatmap shows momentum acceleration through color intensity — brighter colors mean momentum is building, faded colors mean it's dying.
How it helps you:
Instantly see if momentum is accelerating or fading
Confirm breakouts with strengthening momentum
Spot weakening moves before price confirms
Make faster decisions with visual clarity
The Signal System You Can Trust
Every buy/sell signal comes with a Star Rating (★ to ★★★★★) based on:
Multi-timeframe alignment
Position relative to dynamic zero
Market regime confirmation
Volume confirmation
Exhaustion status
Choose your signal mode:
Standard: Classic MACD crossovers
Confluence: Only signals with MTF agreement (recommended)
Aggressive: Early entries with directional confluence
All signals are 100% non-repainting — what you see is what happened, permanently.
Two Professional Dashboards
MTF Confluence Panel (Top-Right)
TimeframeTrendAbove ZeroCurrent▲/▼✓/✗15min▲/▼✓/✗1H▲/▼✓/✗4H▲/▼✓/✗Daily▲/▼✓/✗
Nexus Status Panel (Bottom-Right)
Regime: TRENDING / VOLATILE / RANGING / NEUTRAL
Confluence: Net score (-5 to +5)
Zone: ACCUMULATION / DISTRIBUTION / NEUTRAL
Momentum: IMPULSE / CORRECTION / NORMAL
Exhaustion: BULL TIRED / BEAR TIRED / OK
Built-In Alerts
Never miss a trade. Set alerts for:
✅ Buy/Sell signals
✅ High-confluence signals (4+ stars)
✅ Momentum exhaustion warnings
✅ Impulse wave starts
✅ Zero line crosses
✅ Bullish/Bearish divergences
Who Is This For?
✓ Day Traders — Filter noise with MTF confluence, catch impulse moves early
✓ Swing Traders — Ride trends confidently with regime detection and exhaustion warnings
✓ Scalpers — Use aggressive mode with volume-confirmed signals
✓ Position Traders — Align with smart money accumulation/distribution zones
✓ Crypto Traders — Essential for volatile markets where exhaustion detection saves accounts
✓ Forex Traders — Multi-session momentum tracking across timeframes
What Traders Are Saying
"Finally, a MACD that tells me more than just 'line crossed line.' The exhaustion warnings alone have saved me from so many bad trades."
"The MTF confluence is a game-changer. I only trade 4+ star setups now and my win rate has never been better."
"I love how the regime detection stops me from forcing momentum trades in ranging markets. Should have had this years ago."
Summary: Your Edge in 8 Features
FeatureWhat It DoesYour BenefitMTF ConfluenceScans 4 timeframesHigher probability entriesRegime DetectionClassifies market conditionsRight strategy, right timeDivergence EngineFinds reversal signalsCatch turns earlySmart Money ZonesDetects institutional activityTrade with the big playersImpulse DetectionIdentifies momentum qualityEnter on strength, not weaknessDynamic Zero LineAdapts to market biasTrue equilibrium referenceExhaustion DetectorWarns of tired momentumAvoid late, losing tradesGradient HistogramShows acceleration visuallyInstant momentum read
Settings Overview
Fully customizable for any trading style:
MACD lengths (Fast/Slow/Signal)
4 MTF timeframes
Divergence sensitivity
Regime detection parameters
Signal mode selection
Minimum confluence threshold
Zone thresholds
Visual colors and toggles
Risk Disclaimer
No indicator guarantees profits. MACD Nexus Pro is a decision-support tool designed to improve your analysis — not replace sound risk management. Always use stop losses and never risk more than you can afford to lose.
Upgrade Your Momentum Analysis Today
Stop guessing. Start trading with institutional-grade momentum intelligence.
MACD Nexus Pro — See Momentum Differently.
Critical Advanced Multi-Divergence Dashboard
Complete Dashboard Interpretation Guide
Dashboard Metrics Explained
1. Timeframe
What it shows: Current chart timeframe (15m, 1H, 4H, 1D, etc.)
How to interpret:
The script auto-detects your chart timeframe
Higher timeframes (4H, 1D) = more reliable signals but fewer trades
Lower timeframes (5m, 15m) = more signals but higher noise
Best practice: Use multiple timeframes - get signal on 1H, confirm on 15m for entry
2. Signal Bias: BULLISH / BEARISH / NEUTRAL
What it shows: Overall market direction based on divergence consensus
Color coding:
🟢 BULLISH (Green) = Net strength > +10 → Expect upward move
🔴 BEARISH (Red) = Net strength < -10 → Expect downward move
⚪ NEUTRAL (Gray) = Net strength between -10 to +10 → No clear direction
How to interpret:
BULLISH: Multiple bullish divergences detected → Look for LONG entries
BEARISH: Multiple bearish divergences detected → Look for SHORT entries
NEUTRAL: Conflicting signals or weak divergences → WAIT, don't trade
Trading Action:
BULLISH + Strength > 60 = Strong BUY signal
BEARISH + Strength > 60 = Strong SELL signal
NEUTRAL = Stay out, wait for clarity
3. Signal Strength: 0-100
What it shows: Quantified power of the divergence signal
Strength Scale:
🔴 0-30 (Red): Weak signal → Don't trade
🟠 31-60 (Orange): Moderate signal → Trade with caution, reduce position size
🟢 61-100 (Green): Strong signal → High confidence trade
Calculation factors:
Number of divergences detected
Volume confirmation (1.3x multiplier if high volume)
Trend filter (ADX reduces counter-trend signals by 40%)
Weighted scoring (volume-based indicators get 1.5x weight)
How to use:
Strength > 70 + ADX < 20 = Best reversal trades
Strength > 60 + Volume HIGH = Excellent entry
Strength < 40 = Skip the trade
Example Scenarios:
Strength = 85 → Take full position size
Strength = 55 → Take 50% position, tight stop loss
Strength = 25 → No trade, wait for better setup
4. Quality Score: 0-100
What it shows: Overall reliability and confidence rating
Components (max 100 points):
Divergence count (40 points): More indicators confirming = higher quality
Volume confirmation (20 points): High volume adds 20, normal adds 10
Trend alignment (20 points): Signal aligning with trend = 20, against trend but weak ADX = 15
Detection timing (20 points): Confirmed signals = 20, early detection = 15
Quality Tiers:
80-100: Excellent - High probability setup
60-79: Good - Tradeable with proper risk management
40-59: Fair - Only for experienced traders
Below 40: Poor - Avoid trading
How to use:
Quality > 75 + Strength > 60 = Grade A setup
Quality > 60 + Strength > 50 = Grade B setup (reduce size)
Quality < 50 = Don't trade regardless of strength
5. Bullish Divs: 3R/2H (Example)
What it shows: Count of bullish divergences detected
R = Regular divergences (price LL, indicator HL)
H = Hidden divergences (price HL, indicator LL)
Interpretation:
Regular divergences = Reversal signals (more important)
Hidden divergences = Continuation signals (trend confirmation)
Examples:
4R/1H → Strong bullish reversal expected
1R/3H → Bullish trend continuation likely
5R/0H → Very strong reversal setup
Trading Logic:
High R count = Look for trend reversal
High H count = Trend is strong, look for pullback entries
R+H both high = Very strong signal, major move expected
6. Bearish Divs: 2R/1H (Example)
Same logic as Bullish Divs but for downside:
2R/1H → Moderate bearish reversal setup
0R/4H → Strong downtrend continuation
4R/3H → Extremely strong bearish signal
7. ADX (Trend): 35
What it shows: Average Directional Index - measures trend strength
ADX Scale:
0-20: Weak or no trend → Range-bound market
20-25: Emerging trend → Early trend formation
25-50: Strong trend → Trend is established
50-75: Very strong trend → Major directional move
75+: Extremely strong trend → Parabolic move, be cautious
Color Coding:
🟠 Orange (ADX > threshold): Strong trending market
⚪ Gray (ADX < threshold): Weak trend/ranging
How to interpret:
ADX < 20 + BULLISH Signal = Best for reversal trades (range breakout)
ADX > 25 + BEARISH Signal = Counter-trend, risky (signal strength reduced 40%)
ADX > 40 + Signal against trend = Dangerous, skip
ADX < 20 + High Strength = Perfect reversal setup
Trading Examples:
ADX = 15, BULLISH strength 75 → Perfect buy at bottom
ADX = 45, BEARISH strength 60 → Caution: Market in strong uptrend, bearish signal gets discounted
ADX = 50, BULLISH strength 80 → Trend continuation: Pullback in uptrend, good long entry
8. Volume: HIGH / Normal
What it shows: Current volume vs 20-period moving average
Volume Status:
🟡 HIGH (Yellow): Volume > 1.5x average → Signal multiplied by 1.3x
⚪ Normal (Gray): Volume ≤ 1.5x average → Signal multiplied by 0.8x
Why it matters:
High volume = More participation = More reliable signal
Normal/low volume = Weak conviction = Less reliable
Trading Rules:
HIGH volume + Strong signal = Take trade immediately
Normal volume + Strong signal = Wait for volume confirmation
HIGH volume + Weak signal = Still tradable (volume validates)
Normal volume + Weak signal = Definitely skip
Example:
Strength 50 + HIGH volume → Effective strength = 65 (tradable)
Strength 50 + Normal volume → Effective strength = 40 (skip)
9. Volatility: 2.35%
What it shows: ATR (Average True Range) as percentage of price
Volatility Scale:
< 1%: Very low volatility → Tight ranges, breakout coming
1-2%: Normal volatility → Standard market conditions
2-3%: Elevated volatility → Bigger moves expected
> 3%: High volatility → Large swings, wider stops needed
How to use:
Low volatility (< 1%) = Tighten stops, smaller targets
Normal (1-2%) = Standard position sizing
High (> 3%) = Reduce position size, wider stops
Impact on trading:
High volatility → Script auto-adjusts pivot periods (better divergence detection)
Stop loss placement: Use ATR × 2 for stop distance
Position sizing: Reduce size in high volatility
10. Detection: EARLY / Confirmed
What it shows: Whether signal detected before or after pivot confirmation
Detection Modes:
🟡 EARLY (Yellow): Signal detected before pivot confirms → Earlier entry but slightly less reliable
🟢 Confirmed (Green): Signal after pivot confirmation → More reliable but later entry
Trade-off:
EARLY mode:
+ Enter 2-5 bars earlier
+ Better risk/reward ratio
- 10-15% more false signals
Confirmed mode:
+ Higher reliability
+ Better for conservative traders
- May miss 10-20% of move
How to use:
Aggressive traders: Use EARLY mode + higher quality threshold (>70)
Conservative traders: Use Confirmed mode + moderate quality (>60)
🎯 Complete Trading Decision Matrix
STRONG BUY Signal ✅
Signal Bias: BULLISH
Signal Strength: > 70
Quality Score: > 75
Bullish Divs: ≥ 3 (preferably high R count)
ADX: < 25 (weak trend/reversal) OR > 30 with DI+ > DI-
Volume: HIGH
Action: Enter LONG with full position
STRONG SELL Signal ✅
Signal Bias: BEARISH
Signal Strength: > 70
Quality Score: > 75
Bearish Divs: ≥ 3 (preferably high R count)
ADX: < 25 (weak trend/reversal) OR > 30 with DI- > DI+
Volume: HIGH
Action: Enter SHORT with full position
Moderate Trade ⚠️
Signal Strength: 50-70
Quality Score: 60-75
Volume: Normal
Action: Enter with 50% position size, tight stop loss
NO TRADE ❌
Signal Bias: NEUTRAL
Signal Strength: < 50
Quality Score: < 60
ADX: > 40 (signal against strong trend)
Volume: Normal + Strength < 50
Action: Stay out, wait for better setup
📊 Real Trading Examples
Example 1: Perfect Bullish Setup
Timeframe: 1H
Signal Bias: BULLISH 🟢
Signal Strength: 82/100 🟢
Quality Score: 88/100
Bullish Divs: 5R/2H (excellent)
Bearish Divs: 0R/0H
ADX: 18 (weak trend, perfect for reversal)
Volume: HIGH 🟡
Volatility: 1.8%
Detection: EARLY 🟡
INTERPRETATION: Grade A+ setup
- Strong bullish consensus (5 regular divergences)
- Low ADX = perfect reversal condition
- High volume confirms the signal
- Quality 88 = highly reliable
ACTION:
✅ Enter LONG immediately with full position
✅ Stop loss: 2 × ATR below entry (3.6%)
✅ Target: Previous swing high or 2:1 R/R
Example 2: Risky Counter-Trend Signal
Timeframe: 15m
Signal Bias: BEARISH 🔴
Signal Strength: 55/100 🟠
Quality Score: 62/100
Bearish Divs: 2R/1H
ADX: 45 (very strong uptrend)
Volume: Normal
Detection: EARLY
INTERPRETATION: Dangerous setup
- ADX 45 = strong uptrend in place
- Bearish signal is counter-trend
- Script already reduced strength by 40%
- Moderate quality, normal volume
ACTION:
❌ SKIP this trade
⏸️ Wait for ADX to drop below 25
⏸️ Or wait for bearish strength > 70 with HIGH volume
Example 3: Wait and Watch
Signal Bias: NEUTRAL ⚪
Signal Strength: 35/100 🔴
Quality Score: 48/100
Bullish Divs: 1R/1H
Bearish Divs: 1R/0H
ADX: 22
Volume: Normal
INTERPRETATION: Conflicting signals
- Both bullish and bearish divergences present
- Low strength and quality
- No clear direction
ACTION:
⏸️ Don't trade - wait for clarity
👀 Watch for one side to dominate
📊 Check higher timeframe for context
🎓 Pro Tips for Dashboard Reading
Check Multiple Timeframes:
Signal on 4H + confirmation on 1H = Best trades
Higher TF gives direction, lower TF gives entry
Volume is King:
Never ignore HIGH volume signals (even if strength is moderate)
Be extra cautious with normal volume + weak signals
ADX Context Matters:
ADX < 20 + Divergence = Reversal opportunity
ADX > 40 + Counter-trend divergence = Dangerous
Quality Over Strength:
Quality 80 + Strength 60 > Quality 50 + Strength 80
High quality ensures the signal is real, not noise
Regular vs Hidden Divergences:
High R count = Reversal expected (more important)
High H count = Continuation (use for re-entries)
Early Detection Trade-off:
Use EARLY for swing trading (better R/R)
Use Confirmed for day trading (higher accuracy)
⚡ Quick Decision Flowchart
Step 1: Check Signal Bias
├─ NEUTRAL? → ❌ Don't trade
└─ BULLISH/BEARISH? → Continue
Step 2: Check Signal Strength
├─ < 50? → ❌ Don't trade
├─ 50-60? → Reduce position 50%
└─ > 60? → Continue
Step 3: Check Quality Score
├─ < 60? → ❌ Don't trade
└─ ≥ 60? → Continue
Step 4: Check ADX
├─ > 40 AND counter-trend? → ❌ Don't trade
└─ < 40 OR with-trend? → Continue
Step 5: Check Volume
├─ HIGH → ✅ Take trade (boost confidence)
└─ Normal → Check if strength > 60, then ✅ trade
Step 6: Position Sizing
├─ Strength > 70 + Quality > 75 → 100% position
├─ Strength 60-70 + Quality 60-75 → 75% position
└─ Strength 50-60 + Quality 60-70 → 50% position
This dashboard gives you a complete edge in divergence trading by quantifying what was previously subjective! 🚀
Only for Educational purpose
Structure Pivot (LL-HL / HH-LH)Structure Pivot (LL-HL / HH-LH) - Indicator Guide
This indicator scans for market structure pivot patterns—specifically the bullish Higher Low (LL–HL) and the bearish Lower High (HH–LH) —across multiple lengths simultaneously.
It automatically selects the most optimal pattern based on a "Priority Mode" and plots the structure and breakout/breakdown levels on the chart.
1. Basic Calculation Method
The indicator builds upon TradingView’s ta.pivotlow and ta.pivothigh functions to identify structural points.
Bullish Structure (LL–HL)
1.LL (Lowest Low): A standard Pivot Low is identified.
2.HL (Higher Low): A subsequent Pivot Low forms higher than the previous LL. This completes the setup.
3.Pivot Line (Resistance): The indicator finds the highest price (High) that occurred between the LL and the HL. This level becomes the breakout trigger.
Bearish Structure (HH–LH)
1.HH (Highest High): A standard Pivot High is identified.
2.LH (Lower High): A subsequent Pivot High forms lower than the previous HH. This completes the setup.
3.Pivot Line (Support): The indicator finds the lowest price (Low) that occurred between the HH and the LH. This level becomes the breakdown trigger.
2. Multi-Length Scanning
Unlike standard indicators that use a single fixed length (e.g., Length = 5), this indicator scans a range of lengths simultaneously.
・Settings: Defined by Min Length and Max Length.
・Mechanism: If set to Min=2 and Max=10, the indicator internally runs 9 separate calculations (Length 2 through 10) in parallel.
This allows it to capture everything from small, short-term pullbacks to larger, significant structural pivots without manual adjustment.
3. Priority Mode System
Since multiple lengths are scanned, multiple valid patterns may appear at the same time. The Priority Mode determines which single pattern is the "winner" and gets displayed.
A. Tightest Structure (Default)
・For Bullish (Long): Selects the pattern with the lowest Pivot Line (Resistance).
・For Bearish (Short): Selects the pattern with the highest Pivot Line (Support).
・Advantage: It finds the "tightest" contraction (like a VCP). This offers the entry point closest to the stop-loss level, providing the best Risk/Reward ratio.
B. Longest Length
・Selects the pattern detected by the longest length setting.
・Advantage: Focuses on major structural points, filtering out short-term noise. Best for trend confirmation.
C. Shortest Length
・Selects the pattern detected by the shortest length setting.
・Advantage: Extremely sensitive. Best for scalping or catching immediate micro-pullbacks.
4. Real-Time Logic & Features
Structure Invalidation (Failure)
・Bullish: If the current price drops below the HL (the support of the structure), the setup is considered failed.
・Bearish: If the current price rises above the LH (the resistance of the structure), the setup is considered failed.
・Result: All lines and labels for that structure are immediately deleted to keep the chart clean.
Pivot Line Extension
・As long as the structure remains valid (price hasn't violated the HL or LH), the Pivot Line extends to the right, acting as a live reference for breakouts or breakdowns.
Alerts
・Bullish Breakout: Triggered when the Close price crosses over the Pivot Line.
・Bearish Breakdown: Triggered when the Close price crosses under the Pivot Line.
King OscillatorKing Oscillator is a streamlined, non-overlay indicator designed to capture bullish momentum and bear-pressure via:
A normalized Heikin-Ashi-based tradeable trend filter
A fast-reacting custom MA variant
EMA oscillators, each scaled for cross-timeframe consistency
A bear-pressure line (blend of intrabar and group-range bears)
Combined Volume Flow and Price vs. VWAP oscillators
ICT Breaker Blocks [Exponential-X]🔄 Breaker Blocks
Overview
Breaker Blocks automatically identifies failed order blocks that have reversed their polarity. When an order block gets broken, it often becomes a powerful support or resistance zone in the opposite direction. This indicator tracks these institutional "flips" based on ICT (Inner Circle Trader) concepts, helping identify where price is likely to find strong support or resistance after a structural break.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 What This Indicator Does
Detects Breaker Blocks:
• 🔵 Bullish Breaker Blocks (BB+) - Failed bearish order blocks that became support
• 🟣 Bearish Breaker Blocks (BB-) - Failed bullish order blocks that became resistance
• Tracks order blocks first, then monitors when they break
• Converts broken order blocks into breaker blocks automatically
• Shows when breakers get tested by price
How Breakers Form:
1. Order block forms (last opposite candle before strong move)
2. Price returns and breaks through the order block
3. Broken order block becomes a breaker block with flipped polarity
4. Old resistance becomes new support (or vice versa)
Visual Display: Smart Features:
• Auto-timeframe adjustment for optimal detection
• ATR-based strength filtering
• Active block highlighting
• Test tracking
• Distance calculator
• Duplicate prevention
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 Understanding Breaker Blocks
What Are Breaker Blocks?
Breaker blocks are failed order blocks that price has broken through. In ICT methodology:
• When institutions place orders creating an order block
• If that level fails and price breaks through
• The zone often becomes strong support/resistance in the opposite direction
• This represents institutional position flipping
Why Breakers Form:
• Failed Defense: Institutions couldn't defend the original level
• Position Flip: Institutions reversed their position
• Stop Hunt Complete: After sweeping stops, new levels form
• Polarity Change: Old resistance becomes new support (or vice versa)
Key Difference From Order Blocks: [/b>
• Order Block: Original institutional level (unbroken)
• Breaker Block: Failed order block that flipped polarity
• Breakers often provide STRONGER reactions than original OBs
• Represents where institutions changed their strategy
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔵 Bullish Breaker Blocks Explained
Formation Process:
1. Step 1: Bearish order block forms (last bullish candle before drop)
2. Step 2: Price breaks ABOVE this bearish OB
3. Step 3: The broken bearish OB becomes a bullish breaker
4. Step 4: Now acts as SUPPORT when price returns
What It Means:
• Old resistance level failed
• Institutions flipped from selling to buying
• When price returns, zone acts as strong support
• Higher probability long setup than regular support
Trading Bullish Breakers:
Entry Setup:
• Wait for price to retrace back to bullish breaker
• Look for rejection/bounce from the breaker zone
• Enter long when price respects the breaker as support
• Stop loss: Below the breaker block
• Target: Recent high or opposite breaker
Why It Works:
Failed resistance becoming support is a strong technical signal indicating structural change in market sentiment.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟣 Bearish Breaker Blocks Explained
Formation Process:
1. Step 1: Bullish order block forms (last bearish candle before rally)
2. Step 2: Price breaks BELOW this bullish OB
3. Step 3: The broken bullish OB becomes a bearish breaker
4. Step 4: Now acts as RESISTANCE when price returns
What It Means:
• Old support level failed
• Institutions flipped from buying to selling
• When price returns, zone acts as strong resistance
• Higher probability short setup than regular resistance
Trading Bearish Breakers:
Entry Setup:
• Wait for price to retrace back to bearish breaker
• Look for rejection/reversal from the breaker zone
• Enter short when price respects the breaker as resistance
• Stop loss: Above the breaker block
• Target: Recent low or opposite breaker
Why It Works:
Failed support becoming resistance indicates structural change and often leads to continuation moves.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 How To Use This Indicator
Strategy 1: Breaker Block Retest
Timeframes: 15min, 1H, 4H
Style: [/b> Swing trading, reversal entries
Rules:
1. Identify active breaker block (bright color, not gray)
2. Wait for price to return to the breaker zone
3. Look for reversal confirmation (pin bar, engulfing, rejection)
4. Enter in the direction the breaker suggests
5. Stop: Beyond opposite side of breaker
6. Target: 2-3R or previous structure
Example - Bullish Breaker:
• Bullish breaker at $48,000-$48,500
• Price drops to $48,200 (enters breaker)
• Bullish pin bar forms
• Enter long at $48,600, stop at $47,800
• Target: $50,000+
Strategy 2: Multi-Timeframe Breakers
Timeframes: Combine 1H + 4H or 15min + 1H
Style: [/b> High-probability setups
Rules:
1. Identify breaker on higher timeframe (4H or Daily)
2. Switch to lower timeframe (1H or 15min)
3. Look for lower TF breaker WITHIN higher TF breaker
4. Trade the lower TF breaker in same direction as HTF
5. Stop: Below lower TF breaker
6. Target: Edge of higher TF breaker or beyond
Why It Works: Alignment across timeframes increases probability
Strategy 3: Breaker + Order Block Confluence
Timeframes: 1H, 4H
Style: High-conviction trades
Rules:
1. Find breaker block that overlaps with fresh order block
2. This creates double institutional zone
3. Wait for price to reach confluence area
4. Enter on first touch with confirmation
5. Stop: Beyond confluence zone
6. Target: 3-5R
Why It Works: Two ICT concepts aligned = maximum probability
Strategy 4: Breaker Breakout
Timeframes: [/b> 5min, 15min, 1H
Style: Trend continuation
Rules:
1. Price approaches breaker block
2. Instead of respecting it, price breaks THROUGH
3. This indicates very strong momentum
4. Enter breakout in direction of break
5. Stop: Back inside the breaker
6. Target: 2-3R
Why It Works: When breakers fail, momentum is extremely strong
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Settings Explained
Core Settings
Auto-Adjust for Timeframe (Default: ON)
• Automatically optimizes detection for current chart
• 1min: 3 bars lookback
• 5min: 4 bars lookback
• 15min: 5 bars lookback
• 1H: 6 bars lookback
• 4H+: 8-12 bars lookback
• Recommended: Keep ON
Manual Detection Length (Default: 5)
• Only used when Auto-Adjust is OFF
• Lookback period for finding order blocks
• Lower = more sensitive
• Higher = more selective
Display Settings
Show Bullish/Bearish Breaker Blocks
• Toggle each type independently
• Customize colors (default: cyan and fuchsia)
• Tip: Use colors that stand out from order blocks
Max Breaker Blocks to Display (Default: 10) [/b>
• Limits visible breakers
• Lower (5-8): Cleaner chart
• Higher (15-30): More context
• Recommended: 10-15
Show Breaker Block Labels [/b>
• Displays BB+ and BB- text
• Shows 🎯 on active (nearest) breaker
• Turn OFF for minimal appearance
Extend Blocks (bars) (Default: 50)
• How far to extend boxes to the right
• Recommended: 40-60 bars
Filters
Block Strength Filter (Default: Medium)
• Low: 0.5x ATR - More breakers, more noise
• Medium: 1x ATR - Balanced
• High: 1.5x ATR - Only strongest breakers
• Note: Breakers are naturally less common than OBs
• For learning: Use Low to see more examples
• For trading: Use Medium or High
Min Block Size % (Default: 0.1)
• Minimum breaker size as % of price
• Filters tiny insignificant blocks
• Adjust based on instrument volatility
Advanced
Show Tested Blocks (Default: OFF) [/b>
• When ON: Shows gray boxes for tested breakers
• When OFF: Breakers disappear after test
• Use ON: For learning and analysis
• Use OFF: For clean active trading
Highlight Active Block (Default: ON)
• Highlights nearest breaker to current price
• Active block shown with brighter color and 🎯
• Recommended: Keep ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Info Panel Guide
Bullish BB Count Bearish BB Count
• Number of active (untested) bearish breaker blocks
• More bearish breakers = More resistance zones above
Bias Indicator [/b>
• ⬆ Bullish: More bullish breakers (support > resistance)
• ⬇ Bearish: More bearish breakers (resistance > support)
• ↔ Neutral: Equal breakers on both sides
Near Indicator
• Shows nearest active breaker and distance
• Example: "Bull BB -1.5%" = Bullish breaker 1.5% below price
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Alert Setup
This indicator includes 2 alert types:
1. Price Entering Bullish Breaker [/b>
• Fires when price touches bullish breaker block
• Action: Watch for bounce/support
2. Price Entering Bearish Breaker
• Fires when price touches bearish breaker block
• Action: Watch for rejection/resistance
To Set Up Alerts:
1. Click "Alert" button (clock icon)
2. Select "Breaker Blocks"
3. Choose alert type
4. Configure notifications
5. Click "Create"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 Pro Tips & Best Practices
✅ DO:
• Wait for confirmation before entering at breakers
• First touch of breaker has highest reliability
• Use breakers with trend direction for best results
• Combine with order blocks and FVGs for confluence
• Check multiple timeframes for breaker alignment
• Respect breakers - they're stronger than regular S/R
• Use proper stop placement beyond the breaker
⚠️ DON'T:
• Don't trade every breaker - quality over quantity
• Don't ignore breaker breaks - very strong momentum signal
• Don't use tight stops - allow room for wicks
• Don't expect all breakers to hold
• Don't trade against strong momentum through breakers
• Don't confuse breakers with regular order blocks
🎯 Best Timeframes:
• Scalping: 5min, 15min (quick breaker tests)
• Day Trading: 15min, 1H (balanced)
• Swing Trading: 1H, 4H, Daily (major breakers)
🔥 Best Markets:
• Excellent: BTC, ETH, Forex majors, ES, NQ
• Good: Gold, Oil, Major indices
• Note: Breakers need volatility to form
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 Advanced Concepts
Breaker Strength Hierarchy
From weakest to strongest:
1. Support/Resistance lines
2. Order Blocks (unbroken)
3. Breaker Blocks (broken OBs) ← Often strongest
4. Multiple breakers stacked together
Breaker vs Order Block Priority
If breaker and order block overlap:
• Breaker takes precedence
• Failed levels are more significant
• Price respects breakers more reliably
Nested Breakers [/b>
When lower timeframe breaker exists within higher timeframe breaker:
• Trade lower TF breaker first
• Use higher TF breaker as final target
• Highest probability setups
Multiple Breaker Tests [/b>
• First test: Highest probability
• Second test: Still valid but weaker
• Third test: Likely to break through
Breaker Breakouts [/b>
When price breaks through breaker:
• Extremely strong momentum signal
• Old level completely invalidated
• Trade the breakout aggressively
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Common Patterns [/b>
Pattern 1: The Perfect Flip
• Bearish OB forms
• Price breaks above it cleanly
• Becomes bullish breaker
• First retest bounces perfectly
• High-probability setup
Pattern 2: The Double Break
• Bullish OB breaks down (becomes bearish breaker)
• Price tests it and rejects
• Later breaks back up through breaker
• Very strong momentum signal
Pattern 3: The Breaker Ladder [/b>
• Multiple breakers stacked like stairs
• Price bounces from one to next
• Each breaker provides support/resistance
Pattern 4: The Failed Breaker
• Breaker forms but gets broken immediately
• Shows extreme momentum
• Don't fight it - trade the breakout
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🙏 If You Find This Helpful
• ⭐ Leave your feedback
• 💬 Share your experience in the comments
• 🔔 Follow for updates and new tools
Questions about breaker blocks? Feel free to ask in the comments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Version History [/b>
• v1.0 - Initial release with auto-timeframe detection and polarity flip tracking
SMC-Math by Thomas v1📌 SMC-Math by Thomas v1 — Description
SMC-Math by Thomas v1 is a complete Smart Money Concepts toolkit designed for traders who want a clean, mathematical, and structured view of market mechanics.
Rather than relying on abstract concepts or subjective drawings, this indicator focuses on rules-based detection of:
✔ Order Blocks (OB)
✔ Fair Value Gaps (FVG)
✔ Market Structure shifts (BoS / CHoCH)
✔ HTF trend confirmation
✔ Premium / Discount arrays
✔ Equal High & Equal Low Liquidity Zones (no hinting — expiry only)
This version is engineered for stability, clarity, and performance — with fully optimized array management, timestamp-based cleanup, and a clean visual presentation suitable for both discretionary and systematic trading.
📌 Key Features
🔹 1. Order Blocks (Bullish & Bearish)
Auto-detected using fractal swing highs/lows
Optional displacement + high volume filters
Midline display option
HTF trend alignment filter
Smart expiry + broken OB cleanup
Custom opacity, buffer, and extension controls
🔹 2. Fair Value Gaps (FVG)
Bullish and bearish gap detection
HTF confirmation-based dimming
No border for a clean ICT-style visuals
Auto remove when filled
Fully rule-based
🔹 3. Market Structure (BoS / CHoCH)
Based on fractal highs/lows
Automatic labeling (small, unobtrusive)
Direction validated by HTF option
Each structure level plotted with a projected line
Smooth, clean BOS/CHOCH flow
🔹 4. Premium / Discount Zones
Auto-calculated from most recent swing high & swing low
Box shading dynamically updates each bar
Helps identify optimal trade areas (OB → FVG → PD array)
🔹 5. Liquidity Zones (Equal Highs & Equal Lows)
This tool highlights where liquidity is likely resting:
Detects Equal Highs and Equal Lows using your tolerance or max difference
Auto-creates borderless shaded boxes
Adjustable box height and extension
NO hinting logic — the box remains for exactly cleanupDelay bars, then expires
Clean and predictable behavior, ideal for rule-based setups
This is especially useful for:
identifying buy-side and sell-side liquidity pools
anticipating runs on liquidity
targeting sweeps
🔹 6. HTF Status Panel
Shows higher-timeframe trend status on the live bar:
Bullish
Bearish
Or “HTF Not Required”
Useful for aligning entries with larger market flow.
📌 How to Use SMC-Math by Thomas v1
1️⃣ Identifying Direction
Start by reading:
HTF Trend Label
BOS & CHOCH reactions
Bullish: look for HL → HH structure + bullish OBs + bullish FVGs
Bearish: look for LH → LL structure + bearish OBs + bearish FVGs
This creates your directional bias.
2️⃣ Using Order Blocks
An OB is valid when:
It appears in line with structure
HTF alignment supports it (optional toggle)
Price returns after a displacement
OB is not “broken” (indicator handles this visually)
Use OBs as:
Rebalance targets
Entry areas
Stop placement logic
3️⃣ Fair Value Gaps
FVGs appear when price dislocates and leaves inefficiency.
Use them to:
Refine entries inside OBs
Project premium/discount zones
Identify continuation zones
The indicator auto-removes FVGs when filled.
4️⃣ Liquidity Zones
Liquidity zones identify resting orders at equal highs/lows.
This version uses simple expiry logic:
Box is created when EQH/EQL forms
It remains visible for 20 bars (default)
It disappears automatically after expiry
No hint/confirmation triggers deletion
Usage tips:
Expect price to run toward these zones
Use them as targets or continuation markers
Combine with OB/FVG for confluence
5️⃣ Premium / Discount Zones
Use PD arrays to gauge:
Premium = optimal shorting zones
Discount = optimal long zones
Not trade “in the middle” unless a clear BOS or CHoCH happens
📌 Recommended Workflow
HTF Bias → Check the HTF panel
Market Structure → Identify trend continuation or reversal
Liquidity → Mark where price is likely to target
FVG → Identify imbalance zones
OB → Confirm institutional origin points
PD Arrays → Determine optimal trade location
Execute with confluence
📌 Who Is This Indicator For?
✔ Traders using ICT / SMC logic
✔ Traders wanting rule-based, non-subjective markups
✔ Traders who want automated detection without repainting
✔ Anyone who uses OB, FVG, liquidity sweeps, and structure shifts
TedAlpha – Structure / FVG / OB Sessions:
Only looks for trades when price is inside your defined London or NY time blocks.
CHOCH:
Uses pivots to track swing highs/lows, then flags a bullish CHOCH when structure flips from LL/LH to HH/HL, and vice versa for bearish.
FVG:
Detects 3-candle imbalance and keeps the zone “active” for fvgLookback bars, then checks if price trades back into it.
Order Blocks:
On a CHOCH, grabs the last opposite candle (bearish before bull CHOCH = bullish OB, bullish before bear CHOCH = bearish OB) and marks its body as the OB zone.
Signal:
A valid long = bull CHOCH + in session + (price inside bullish FVG and/or bullish OB, depending on toggles).
Short is the mirror image.
RR 1:3:
SL uses the last swing low (for longs) or last swing high (for shorts), TP is auto-set at 3× that distance and plotted as lines.
FANBLASTERFANBLASTER
Methodology & Rules (Live Trading Version)
Purpose
Catch the exact moment the market flips from chop into a high-conviction trending move using a clean, stacked Fib EMA ribbon + volatility + volume confirmation.
Core Idea
When the 5-8-13-21-34-55 EMA stack suddenly “fans out” in perfect order with significant separation, a real trend is being born. Most retail traders chase late – FANBLASTER alerts you on the very first bar the fan opens.
What Triggers a “FAN BLAST” Alert
Perfect EMA Alignment
Bullish: 5 > 8 > 13 > 21 > 34 > 55
Bearish: 5 < 8 < 13 < 21 < 34 < 55
(Has to flip from NOT aligned on the previous bar → aligned on this bar)
Significant Separation
Distance between EMA 5 and EMA 55 ≥ 1.3 × ATR(14)
(1.3 is the ES sweet spot – filters fake little wiggles)
Trend Strength Confirmation
ADX(14) ≥ 22
(Ensures the move isn’t just noise; ES trends explode while ADX is still climbing)
Volume Conviction
Current volume > 1.4 × 20-period EMA of volume
(Real moves have real participation)
When ALL FOUR conditions are true on the same bar → you get the green or red circle + phone alert.
How to Trade It (Live Rules)
Alert fires → look at the chart immediately
If price is pulling back to the 8 or 13 EMA in the direction of the fan → enter on touch or close above/below
Initial stop: opposite side of the fan (below the 55 for longs, above the 55 for shorts)
Target: 2–4 R minimum, trail with the 21 or 34 once in profit
No alert = stay flat. This is a “trend birth” sniper, not a scalping tool.
Best Instruments & Timeframes (2025)
ES & NQ futures
2 min, 5 min, 15 min (all work with the exact same settings)
Works on MES/MNQ too (same params)
Bottom Line
FANBLASTER sits silent 90 % of the day and only screams when the market is actually about to run 20–100+ points.
One alert = one high-probability trend. That’s it.
Lock it, load it, and let the phone do the hunting.
Good luck, stay disciplined, and stack those points.
— Your edge is now live.
SMC Pro+ ICT v4 Enhanced - FINAL🎯 SMC Pro+ ICT v4 Enhanced - Complete Smart Money Trading System📊 Professional All-in-One Indicator for Smart Money Concepts & ICT MethodologyThe SMC Pro+ ICT v4 Enhanced is a comprehensive trading system that combines Smart Money Concepts (SMC) with Inner Circle Trader (ICT) methodology. This indicator provides institutional-grade market structure analysis, liquidity mapping, and volume profiling in one powerful package.✨ CORE FEATURES🏗️ Advanced Market Structure Detection
MSS (Market Structure Shift) - Identifies major trend reversals with precision
BOS (Break of Structure) - Confirms trend continuation moves
CHoCH (Change of Character) - Detects internal structure shifts
Modern LuxAlgo-Style Lines - Clean, professional visualization
Dual Sensitivity System - External structure (major swings) + Internal structure (minor swings)
Customizable Labels - Tiny, Small, or Normal sizes
Structure Break Visualization - Clear break point markers
💎 Supply & Demand Zones (POI - Point of Interest)
Institutional Order Blocks - Where smart money enters/exits
ATR-Based Zone Sizing - Dynamically adjusted to market volatility
Smart Overlap Detection - Prevents cluttered charts
Historical Zone Tracking - Maintains up to 50 zones
POI Central Lines - Pinpoint entry/exit levels
Auto-Extension - Zones extend to current price
Auto-Cleanup - Removes broken zones automatically
📦 Fair Value Gap (FVG) Detection
Bullish & Bearish FVGs - Institutional inefficiencies
Consequent Encroachment (CE) - 50% fill levels
Auto-Delete Filled Gaps - Keeps charts clean
Customizable Lookback - 1-30 days of history
Color-Coded Zones - Easy visual identification
CE Line Styles - Dotted, Dashed, or Solid
🚀 Enhanced PVSRA Volume Analysis
This is one of the most powerful features:
200% Volume Candles - Extreme institutional activity (Lime/Red)
150% Volume Candles - High institutional interest (Blue/Fuchsia)
Volume Climax Detection - Major reversal signals with 2.5x+ volume
Exhaustion Signals - Identifies buying/selling exhaustion with high accuracy
Enhanced Volume Divergence - NEW! High-quality reversal detection
Price makes lower low, Volume makes higher low = Bullish Divergence
Price makes higher high, Volume makes lower high = Bearish Divergence
Strict trend context filtering for accuracy
Rising/Falling Volume Patterns - Momentum confirmation (allows 1 exception in 3 bars)
Volume Spread Analysis - Price range × Volume for true strength
Body/Wick Ratio Analysis - Candle structure quality
ATR Normalization - Adjusts for different market volatility
Volume Profile Indicators - 🔥 EXTREME, ⚡ VERY HIGH, 📈 HIGH, ✅ ABOVE AVG
💧 Advanced Liquidity System
Smart money targets these levels:
Weekly High/Low Liquidity - Major institutional targets
Daily High/Low Liquidity - Intraday key levels
4H Session Liquidity - Short-term targets
Distance Indicators - Shows % distance from current price
Strength Indicators - Identifies high-probability sweeps
Swept Level Detection - Tracks executed liquidity grabs
Customizable Line Styles - Width, length, offset controls
Color-Coded Levels - Easy visual hierarchy
🎯 Master Bias System
Data-driven directional bias with 9-factor scoring:
Bull/Bear Bias Calculation - 0-100% scoring system
Multi-Timeframe Analysis - Daily, 4H, 1H trend alignment
Kill Zone Integration - London (2-5 AM) & NY (8-11 AM) sessions
EMA Alignment Factor - Trend confirmation
Volume Confirmation - Adds 5% when volume supports direction
Range Filter Integration - Adds 10% for trending markets
Session Context - Above/below session midpoint scoring
Bias Strength Rating - STRONG (>75%), MODERATE (60-75%), WEAK (<60%)
Real-Time Updates - Dynamic recalculation
📈 Premium & Discount Zones
Fibonacci-based institutional pricing:
Extreme Premium - Above 78.6% (Overvalued)
Premium Zone - 61.8% - 78.6% (Expensive)
Equilibrium - 38.2% - 61.8% (Fair Value)
Discount Zone - 21.4% - 38.2% (Cheap)
Extreme Discount - Below 21.4% (Undervalued)
Visual Zone Boxes - Color-coded for instant recognition
200-500 Bar Lookback - Customizable range calculation
🔄 Range Filter
Advanced trend detection:
Smoothed Range Calculation - Eliminates noise
Dynamic Support/Resistance - Auto-adjusting levels
Upward/Downward Counters - Measures trend strength
Color-Coded Line - Green (uptrend), Red (downtrend), Orange (ranging)
Adjustable Period - 1-200 bars
Multiplier Control - Fine-tune sensitivity (0.1-10.0)
🌊 Liquidity Zones (Vector Zones)
PVSRA-based horizontal liquidity:
Above Price Zones - Resistance clusters
Below Price Zones - Support clusters
Maximum 500 Zones - Professional-grade capacity
Body/Wick Definition - Choose zone boundaries
Auto-Cleanup - Removes cleared zones
Color Override - Custom styling options
Transparency Control - 0-100% opacity
📊 EMA System
Triple EMA trend confirmation:
Fast EMA (9) - Green line - Immediate trend
Medium EMA (21) - Blue line - Short-term trend
Slow EMA (50) - Red line - Major trend
EMA Alignment Detection - Bull/Bear stack confirmation
Dashboard Integration - Status: 📈 BULL ALIGN, 📉 BEAR ALIGN, 🔀 MIXED
Adjustable Lengths - Customize all three EMAs (5-200)
🎯 IDM (Institutional Decision Maker) Levels
Key institutional price levels:
Latest IDM Detection - 20-bar pivot lookback
Extended Lines - Projects 50 bars into future
Customizable Styles - Solid, Dashed, or Dotted
Line Width Control - 1-5 pixels
Color Selection - Match your chart theme
Price Label - Shows exact level with tick precision
📱 Professional Dashboard
Real-time market intelligence panel:
🎯 SIGNAL - 🟢 LONG, 🔴 SHORT, ⏳ WAIT, 🛑 NO TRADE
🎲 BIAS - Bull/Bear with STRONG/MODERATE/WEAK rating
📊 BULL/BEAR Scores - 0-100% percentage display
💎 ZONE - Current premium/discount location
🕐 KZ - Kill Zone status (🇬🇧 LONDON/🇺🇸 NY/⏸️ OFF)
🏗️ STRUCT - Market structure status (BULLISH/BEARISH/NEUTRAL)
⚡ EVENT - Last structure event (MSS/BOS)
⚡ INT - Internal structure trend
🎯 IDM - Latest institutional level
📊 EMA - EMA alignment status
🔄 RF - Range Filter direction
📊 PVSRA - Volume status (🚀 CLIMAX/📈 RISING/📉 FALLING)
📅 MTF - Multi-timeframe alignment (✅ FULL/⚠️ PARTIAL/❌ CONFLICT)
💪 CONF - Confidence score (0-100%)
📊 VOL - Volume ratio (e.g., 1.8x average)
Advanced Metrics (Toggle On/Off):
📏 RSI - Value + Status (OVERBOUGHT/STRONG/NEUTRAL/WEAK/OVERSOLD)
📈 MACD - Value + Direction (BULL/BEAR)
🌪️ VOL - Volatility state (⚠️ EXTREME/🔥 HIGH/📊 NORMAL/😴 LOW)
🔊 VOL PROF - Volume profile ratio
⏱️ TF - Current timeframe
Dashboard Customization:
4 Positions - Top Left, Top Right, Bottom Left, Bottom Right
3 Sizes - Small, Normal, Large
2 Modes - Compact (MTF combined) or Full (separate rows)
Professional Design - Dark theme with color-coded cells
🎮 TRADING SIGNALS & SETUP SCORING🟢 LONG Setup Requirements (9-Factor Confidence Score)
MTF Alignment - Daily/4H/1H/Structure all bullish (+2 points for full, +1 for partial)
Volume Confirmation - Above 1.2x average (+1 point)
Structure Event - MSS or BOS bullish (+2 points)
EMA Alignment - 9 > 21 > 50 (+1 point)
Kill Zone Active - London/NY + Bull bias >75% (+2 points)
Bias Match - Master bias matches structure trend (+1 point)
Confidence Threshold - >60% minimum for signal
🔴 SHORT Setup Requirements
Same 9-factor system but inverted for bearish conditions.💪 Confidence Levels
75-100% - ⭐ HIGH CONFIDENCE (Strong setup, all factors aligned)
50-74% - ⚠️ MODERATE (Good setup, partial alignment)
0-49% - ❌ LOW CONFIDENCE (Wait for better setup)
🎯 Signal Output
🟢 LONG - Bull bias + Bullish structure + >60% confidence
🔴 SHORT - Bear bias + Bearish structure + >60% confidence
⏳ WAIT LONG - Bull bias but low confidence
⏳ WAIT SHORT - Bear bias but low confidence
🛑 NO TRADE - Neutral bias or conflicting signals
🔔 COMPREHENSIVE ALERT SYSTEM (12 Alerts)Structure Alerts
⚡ MSS Bullish - Major bullish reversal
⚡ MSS Bearish - Major bearish reversal
📈 BOS Bullish - Bullish continuation
📉 BOS Bearish - Bearish continuation
⚠️ CHoCH Bullish - Internal bullish shift
⚠️ CHoCH Bearish - Internal bearish shift
Bias & Confidence Alerts
🟢 Bias Shift Bull - Master bias turns bullish
🔴 Bias Shift Bear - Master bias turns bearish
⭐ High Confidence - Setup reaches 75%+ confidence
Volume Alerts (High Probability)
🚀 Volume Climax Buy - Extreme bullish volume spike
💥 Volume Climax Sell - Extreme bearish volume spike
⚠️ Selling Exhaustion - Potential bullish reversal
⚠️ Buying Exhaustion - Potential bearish reversal
📊 Bullish Volume Divergence - High-quality bullish reversal signal
📊 Bearish Volume Divergence - High-quality bearish reversal signal
🎨 EXTENSIVE CUSTOMIZATIONColors & Styling
✅ All colors customizable for every component
✅ Supply/Demand zone colors + outlines
✅ FVG colors (bullish/bearish)
✅ PVSRA candle colors (6 types)
✅ Liquidity level colors (Weekly/Daily/4H/Swept)
✅ Structure line colors
✅ Premium/Equilibrium/Discount zone colorsDisplay Controls
✅ Toggle each feature on/off independently
✅ Adjustable sensitivities (Structure: 5-30, Internal: 3-15)
✅ Label size controls (Tiny/Small/Normal)
✅ Line width adjustments (1-5 pixels)
✅ Transparency controls (0-100%)
✅ Extension lengths (20-100 bars)
✅ Lookback periods (50-500 bars)Volume Settings
✅ PVSRA symbol override (trade one asset, analyze another)
✅ Climax threshold (2.0-5.0x)
✅ Rising volume bar count (2-5 bars)
✅ Divergence filters (Strict/Lenient)
✅ Divergence minimum bars (10-30)
✅ Volume threshold multiplier (1.0-2.0x)Dashboard Settings
✅ Position (4 corners)
✅ Size (Small/Normal/Large)
✅ Compact/Full mode
✅ Show/Hide advanced metrics
✅ Show/Hide EMA status💡 BEST PRACTICES & USAGE TIPS⏰ Optimal Timeframes
Scalping - 1m, 5m (Use Kill Zones, Volume Climax, FVG)
Day Trading - 5m, 15m, 1H (Use Structure, Liquidity, Bias)
Swing Trading - 4H, Daily (Use MTF, Premium/Discount, Structure)
Position Trading - Daily, Weekly (Use major structure, liquidity)
🎯 Asset Classes
✅ Forex - All pairs (especially majors during Kill Zones)
✅ Crypto - BTC, ETH, altcoins (24/7 liquidity)
✅ Stocks - All stocks and indices (use session times)
✅ Commodities - Gold, Silver, Oil (high volume periods)
✅ Indices - S&P 500, NASDAQ, DAX, etc.🔥 High-Probability Setups
The Perfect Storm
MSS in direction of daily trend
Kill Zone active
Volume climax
Confidence >75%
Price in discount (long) or premium (short)
Volume Divergence Play
Enhanced volume divergence signal
CHoCH confirms direction change
Price near liquidity level
FVG forms for entry
Liquidity Sweep
Price sweeps weekly/daily high/low
Immediate rejection (selling/buying exhaustion)
Structure shift (MSS)
Volume confirmation
Structure Retest
BOS breaks structure
Price returns to POI/FVG
Volume confirms (>1.2x)
Kill Zone active
📊 Multi-Timeframe Analysis
Higher Timeframe - Identify trend & structure (Daily/4H)
Trading Timeframe - Find entries (15m/1H)
Lower Timeframe - Precise entries (1m/5m)
Look for MTF alignment - Dashboard shows ✅ FULL or ⚠️ PARTIAL
⚠️ Risk Management
Always use stop-loss (below/above recent structure)
Position size: 1-2% risk per trade
Target liquidity levels for take profit
Use supply/demand zones for SL placement
Watch for exhaustion signals near targets
Intermarket Swing Projection [LuxAlgo]The Intermarket Swing Projection allows traders to plot price movement swings from any user-selected asset directly onto the chart in the form of zigzags and/or horizontal support and resistance levels.
This tool rescale the external asset price on the user chart, enabling traders to make direct comparisons.
It answers the question of how different the price behavior is between two assets, accounting for each asset's volatility.
🔶 USAGE
This tool is based on swing detection of two different assets: the chart and a user-selected asset. It allows traders to compare two assets on an equal footing while accounting for volatility and price behavior.
Traders can customize the detection by selecting a custom ticker, timeframe, the number of swings and length for swing detection. This makes the tool a Swiss army knife for asset comparison.
As we can see in the image below, the Show Last, Pivot Length, and Spread parameters are key to defining the final output of the tool.
"Show Last" defines how many pivots are displayed. "Pivot Length" is used for pivot detection; a larger value will detect larger market structures. "Spread" defines how far apart the horizontal levels will be from their original location in terms of volatility.
🔹 Comparing different assets
This image shows the Nasdaq 100 futures contract compared to four other futures contracts: S&P 500, gold, bitcoin, and euro/U.S. dollar.
Plotting all of these assets in Nasdaq 100 terms makes it easy to compare and analyze price behaviors and identify key levels.
In the top left chart, we have NQ vs. ES. It's no surprise that they are practically an exact match; a large portion of the S&P 500 is technology.
In the top right chart, NQ vs. GC, we see totally different behaviors. We can clearly see the summer consolidation in gold and the resumption of the uptrend, which took gold above 29,200 NQ points, up from 21,200.
In the bottom right chart, we see bitcoin making new highs, way above the Nasdaq in May, July, and October. However, the last high was way below the Nasdaq prices on October 27—the first lower high in a while. Sellers are pushing down.
Finally, the bottom left chart is NQ vs. 6E. We can see large volatility in the uptrend since February, with NQ unable to catch up until now. The last swing low was almost a match, and 6E is in a range.
As we can see, this tool allows us to perform intermarket analysis properly by accounting for each asset's volatility and price behavior. Then, we plot them on the same scale on equal terms, which makes performing this kind of analysis easy.
As we can see in the chart above, the assets are the same as in the previous image, but the timeframe is 1H with different settings.
Note the horizontal levels acting as support and resistance, as well as how NQ prices react to the zones marked with white circles. These levels are derived from custom assets selected by the user.
🔹 Displaying Elements
Zig-zag allows traders to clearly see the path that the selected asset's price took, as well as its turning points.
Horizontal levels are displayed from those turning points to the present and can be used as support or resistance. Traders can adjust the spread parameter in the settings panel to expand or contract those levels' volatility.
There are two color modes for the levels: average and pivots. In the first mode, green is used for levels below the average and red for levels above the average. The second uses green for swing lows and red for swing highs.
The backpaint feature is enabled by default and allows the swings to be displayed in the correct location. With this feature disabled, the swings will be displayed in the current location when a new swing is detected.
🔶 DETAILS
On a more technical note, the rescaling is formed by calculating three main elements from all the swings detected on the custom and chart assets:
The chart asset's average of all swing points
The chart asset's standard deviation of all swing points
The custom asset's z-score for each swing point
Then, the re-scaled swing point is calculated as the average plus the z-score multiplied by the standard deviation. This makes it possible to plot AAPL swings on an NQ chart, for example.
Thanks to re-scaling, we can directly compare the price behavior of two assets with different price ranges and volatility on the same chart.
🔶 SETTINGS
🔹 Trendlines
Ticker: Select the custom ticker.
Timeframe: Select a custom timeframe.
Show Last: Select how many swing points to display.
Pivot Length: Select the size for swing point detection.
Spread: Volatility multiplier for horizontal levels. Larger values mean the levels are farther apart.
Backpaint: Enable or disable the backpaint feature. When enabled, the drawings will be displayed where they were detected. When disabled, the drawings will be displayed at the moment of detection.
🔹 Style
Show ZigZag: Enable or disable the ZigZag display and choose a line style.
Show Levels: Enable or disable the levels display and choose a line style.
Color Mode: Choose between Average Mode, which colors all levels below the average bullish and all levels above bearish, and Pivot Mode, which colors swing highs bearish and swing lows bullish.
Bullish: Select a bullish color.
Bearish: Select a bearish color.
ZigZag: Select the ZigZag color.
Apex IndicatorThe Apex Indicator is a physics-based momentum tool designed to measure the 2nd Derivative (Acceleration) of both Price and Volume.
Unlike standard oscillators which often lag, this indicator uses Kinematics to identify the subtle shifts in momentum before price makes a major move. It answers the critical questions: Is the selling pressure fading? and Is there fresh fuel (Volume) entering to support a turn?
This script uses Hull Moving Average (HMA) smoothing for low-latency calculation, and Z-Score Normalization to force Price and Volume onto a shared, readable scale.
Visual Guide
The Histogram (Price Acceleration)
Bright Green: Strong Bullish Acceleration (High Velocity).
Dark Green: Developing Bullish Momentum (or Waning Bullishness depending on context).
Bright Red: Strong Bearish Acceleration (Panic/Dump).
Dark Red: Developing Bearish Momentum (or Waning Bearishness).
The Line (Volume Acceleration)
Yellow: Volume is accelerating (Interest is entering).
Purple: Volume is decelerating (Interest is leaving).
The Background Highlights
Green/Red Background: These mark Statistical Extremes (>1 Standard Deviation). While these show maximum power, they often mark the climax of a move rather than the start.
How to Trade: Reading the Subtleties
The power of the Apex Indicator is not in chasing the spikes, but in reading the Transitions.
1. The Turn (The Reversal Entry)
Don't wait for the explosion; look for the "braking" action.
The Setup: Price has been moving down strongly (Bright Red bars).
The Signal: The histogram shifts to Dark Red and begins moving up toward the zero line (less negative). This means the selling acceleration is dying.
The Trigger: A Dark Green bar prints, accompanied by the Volume Line turning Yellow/Rising.
Why it works: You are entering when the bearish energy is exhausted and fresh volume is stepping in to lift the price, often before the main breakout occurs.
2. The Second Wind (Trend Continuation)
The Setup: You are already in a trend (Green bars), but the bars fade to Dark Green or near Zero (a pullback or pause).
The Trigger: The next bar flips Bright Green and the Volume Line spikes Yellow.
Why it works: This confirms that the pause was just a breather, and buyers are stepping back on the gas.
3. The "Hollow Move" (Trap Avoidance)
The Scenario: Price is moving up (Green bars), but the Volume Line is Purple or dropping.
Interpretation: This is a drift, not a drive. Without volume acceleration support, these moves are prone to rapid reversal.
4. The Climax (Exits)
If the Background flashes Green (Alert Trigger), be aware that price acceleration has hit a statistical extreme (Z-Score > 1).
If you are in a position, this is often a good place to Take Profit, as maintaining that level of acceleration is mathematically difficult for the market to sustain.
Settings
Analysis Length (21): The lookback period for the HMA smoothing.
Normalization Lookback (21): The historical window used to calculate the Z-Score. A setting of 21 allows the indicator to self-adjust quickly to recent volatility conditions.
Point of Control + Momentum CandlesPOINT OF CONTROL + MOMENTUM CANDLES
A comprehensive technical analysis indicator combining volume-based Point of Control detection, momentum-graded candle coloring, higher timeframe buy/sell signals, and order block identification.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT THIS INDICATOR DOES
This indicator identifies key price levels where the most trading activity has occurred (Point of Control), colors candles based on momentum strength, generates buy/sell signals from a user-selected timeframe, and detects order blocks that may act as future support/resistance zones.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FEATURES
1. POINT OF CONTROL (POC)
The POC represents the price level with the highest traded volume over a lookback period. This indicator calculates a volume profile by distributing volume across price levels and identifying where the most activity occurred.
- Orange horizontal line shows the current POC level
- Yellow box highlights the candles used in the POC calculation
- Break detection identifies when price closes decisively beyond the POC
- Rejection detection identifies when price tests but fails to break the POC
2. MOMENTUM CANDLE COLORING
Candles are colored based on a 6-level momentum system using EMA positioning and RSI values:
Bullish Levels (price above both EMAs):
- Bull Level 3 (Royal Blue): Strong momentum, RSI above 70
- Bull Level 2 (Cyan): Medium momentum, RSI above 60
- Bull Level 1 (Green): Weak momentum, above EMAs
Bearish Levels (price below both EMAs):
- Bear Level 1 (Yellow): Weak momentum, below EMAs
- Bear Level 2 (Orange): Medium momentum, RSI below 40
- Bear Level 3 (Red): Strong momentum, RSI below 30
Neutral (White): No clear directional momentum
3. BUY/SELL SIGNALS
Signals are generated from a user-selectable timeframe (default: 10 minutes) and appear on your current chart. This allows you to see higher timeframe signals while trading on lower timeframes.
Buy Signal Conditions:
- EMA crossover (fast crosses above slow) OR RSI exits oversold
- Bullish candle on the signal timeframe
- Close above both EMAs
Sell Signal Conditions:
- EMA crossunder (fast crosses below slow) OR RSI exits overbought
- Bearish candle on the signal timeframe
- Close below both EMAs
4. ORDER BLOCKS
Order blocks identify potential institutional entry zones that may act as future support or resistance.
- Bullish Order Block (Green zone): The last bearish candle before a bullish impulse move
- Bearish Order Block (Red zone): The last bullish candle before a bearish impulse move
- Blocks automatically extend forward and can be set to delete when mitigated (price closes through the zone)
5. DASHBOARD
A customizable info panel displays:
- Current POC price
- Distance from POC (percentage)
- Position relative to POC (Above/Below/At)
- Lookback period
- Current RSI value
- Current momentum level
- Signal timeframe
- Active order block count
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
POC Trading:
- Watch for breaks above POC for potential long entries
- Watch for breaks below POC for potential short entries
- Rejections at POC can indicate reversal opportunities
Momentum Reading:
- Use candle colors to gauge trend strength at a glance
- Level 3 colors indicate strong momentum (potential continuation)
- Level 1 colors indicate weakening momentum (potential reversal)
- Neutral/white candles suggest consolidation or indecision
Signal Confirmation:
- Use buy/sell signals from a higher timeframe to confirm entries on your trading timeframe
- Combine signals with POC breaks/rejections for higher probability setups
Order Block Strategy:
- Look for price to return to bullish order blocks for potential long entries
- Look for price to return to bearish order blocks for potential short entries
- Mitigated blocks (price closes through) lose their significance
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS OVERVIEW
POC Settings:
- Lookback Period: Number of bars for POC calculation (default: 20)
- Volume Resolution: Price level granularity (default: 50)
- Recalculation Frequency: How often POC updates (default: every 3 bars)
Break/Rejection Detection:
- Break Threshold: Minimum percentage move to confirm a break (default: 0.3%)
- Rejection Wick Ratio: Minimum wick-to-body ratio for rejections (default: 0.5)
Momentum Settings:
- Fast/Slow EMA lengths for trend determination
- RSI length and threshold levels for momentum grading
Buy/Sell Signals:
- Signal Timeframe: The timeframe used for signal calculation
- Separate EMA and RSI parameters for signal generation
Order Blocks:
- Order Block Timeframe: Timeframe for OB detection
- Max Blocks Per Side: Limits displayed order blocks
- Delete Mitigated: Automatically removes invalidated blocks
All visual elements (colors, sizes, line styles) are fully customizable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
10 alert conditions are available:
- Bullish/Bearish POC Break
- Bullish/Bearish POC Rejection
- Any POC Break
- Any POC Rejection
- Buy Signal
- Sell Signal
- Bullish Order Block Formed
- Bearish Order Block Formed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES
- The indicator uses request.security() to fetch data from the signal and order block timeframes. This is designed to work when viewing charts at timeframes equal to or lower than your selected signal/OB timeframes.
- POC calculations are based on the visible volume data. Assets with limited volume data may produce less reliable POC levels.
- Order blocks are detected using a simplified algorithm based on candle patterns and displacement. They represent potential zones of interest, not guaranteed support/resistance levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own analysis and consider your risk tolerance before making trading decisions. Use this tool as part of a comprehensive trading strategy, not as a standalone signal generator.
Fractal MTF MA System Overview Unlock the fractal nature of the market with a single, clean indicator. This tool allows you to visualize the exact same Moving Average length (default: 50) across 5 different timeframes simultaneously. By comparing "apples to apples" across time dimensions, you get a clear, immediate view of the overall market trend and momentum health.
No more switching charts or manually adding 5 different indicators. This script does it all with a single global setting.
Key Features
🧩 Fractal Logic: Applies one consistent calculation (e.g., 50 Period) to 15m, 30m, 1H, 2H, and 4H timeframes.
🎛️ Global Control: Change the Length or MA Type once, and it instantly updates all 5 lines. No need to adjust each line individually.
🚀 3 Calculation Modes: Switch between DEMA (Double Exponential - Default/Fast), EMA (Standard), or SMA (Smooth) to fit your trading style.
🎨 Visual Clarity: Choose between Step mode (for precise MTF levels) or Line mode (for a smoother, cleaner look).
How to Use This Indicator
1. Trend Following (The Fan) When the market is trending strongly, the lines will stack in perfect order:
Bullish: Price > 15m > 30m > 1H > 2H > 4H.
Bearish: Price < 15m < 30m < 1H < 2H < 4H.
Strategy: Ride the trend as long as the "Fan" is open and orderly.
2. Mean Reversion (The Snap-Back) When the price moves too far from the anchor line (the 4H line) and the gaps between the lines become extreme, the market is "overextended" (like a stretched rubber band).
Strategy: Watch for price to stall and cross back over the fastest line (15m) as an early sign of a correction towards the slower averages.
3. Dynamic Support & Resistance During a trend, price often pulls back to test the 1H or 2H lines before continuing. These lines act as dynamic support zones.
Settings
Global Length: Sets the lookback period for ALL lines (Default: 50).
MA Type: Select DEMA, EMA, or SMA.
Line Style: Toggle between Step (precise) or Line (smooth).
Individual Toggles: You can hide specific timeframes via the settings menu if you want a cleaner chart.
Enjoy the clean charts! Feedback and likes are appreciated. 🚀
ICT Order Block Identifier [Eˣ]📦 Order Block Identifier
Overview
The Order Block Identifier automatically detects and displays institutional order blocks on your charts - zones where banks, hedge funds, and market makers place their orders. This indicator helps identify where institutions are likely to defend their positions and where price often finds support or resistance, based on ICT (Inner Circle Trader) concepts.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 What This Indicator Does
Detects Order Blocks:
• 🟢 Bullish Order Blocks (OB+) - Last bearish candle before strong bullish move
• 🔴 Bearish Order Blocks (OB-) - Last bullish candle before strong bearish move
• Automatically identifies institutional buying/selling zones
• Tracks up to 30 order blocks simultaneously
• Works on all timeframes and instruments
Smart Features:
• Auto-Timeframe Adjustment - Optimizes detection for 1min to Weekly charts
• Active Block Highlighting - Shows which OB price is approaching
• Touch Tracking - Knows when blocks are tested
• ATR-Based Detection - Adapts to each instrument's volatility
• Strength Filtering - Choose Low/Medium/High to control sensitivity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 Understanding Order Blocks
What Are Order Blocks?
Order blocks are the "footprints" left behind by institutional traders (banks, hedge funds, market makers) when they enter large positions. Because institutions can't fill massive orders at once without moving the market, they:
1. Place orders gradually over time
2. Leave zones where their buy/sell orders are concentrated
3. Defend these zones when price returns
4. Create reliable support and resistance levels
The ICT Concept:
Developed by Michael Huddleston (Inner Circle Trader), order block theory states that:
• The last opposite-colored candle before a strong move contains institutional orders
• Price often returns to test these zones before continuing
• These zones act as strong support (bullish OB) or resistance (bearish OB)
• Smart money defends their positions at these levels
Why Order Blocks Work:
• Unfilled Orders: Institutions may still have pending orders in the block
• Position Defense: They protect their entries by adding to positions
• Stop Placement: Retail stops cluster near these zones (liquidity for institutions)
• Market Structure: Price respects these levels due to order flow dynamics
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 Bullish Order Blocks Explained
How They Form:
1. Price is consolidating or declining
2. Institutions begin accumulating (buying)
3. A strong bullish move erupts
4. The last bearish candle before this move = Bullish Order Block
5. This candle represents where institutions were buying aggressively
Why The Last Bearish Candle?
• Institutions absorbed all selling pressure at this level
• Their buy orders filled as price was declining
• When price returns, they defend this zone with more buying
• It becomes a demand zone / support level
Trading Bullish Order Blocks:
Setup:
• Wait for price to retrace back to bullish OB (green box)
• Look for rejection/reversal pattern (pin bar, engulfing, etc.)
• Enter long when price bounces from the OB zone
• Stop loss: Below the order block
• Target: Recent high or opposite order block
Best Scenarios:
• OB aligns with other support (trendline, fibonacci, round number)
• First touch of OB (unmitigated) has highest probability
• Occurs during high-volume sessions (London/NY)
• Trend is bullish on higher timeframe
Example Trade:
• Bullish OB forms at $50,000 (last red candle before rally)
• Price rallies to $52,000 then retraces
• Price drops back to $50,100 (touching OB)
• Bullish pin bar forms on the OB
• Enter long at $50,200, stop at $49,800
• Target: $52,000+ (previous high)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔴 Bearish Order Blocks Explained
How They Form:
1. Price is consolidating or rising
2. Institutions begin distributing (selling)
3. A strong bearish move erupts
4. The last bullish candle before this move = Bearish Order Block
5. This candle represents where institutions were selling aggressively
Why The Last Bullish Candle?
• Institutions absorbed all buying pressure at this level
• Their sell orders filled as price was rising
• When price returns, they defend this zone with more selling
• It becomes a supply zone / resistance level
Trading Bearish Order Blocks:
Setup:
• Wait for price to retrace back to bearish OB (red box)
• Look for rejection/reversal pattern (shooting star, bearish engulfing)
• Enter short when price rejects from the OB zone
• Stop loss: Above the order block
• Target: Recent low or opposite order block
Best Scenarios:
• OB aligns with other resistance (trendline, fibonacci, round number)
• First touch of OB (unmitigated) has highest probability
• Occurs during high-volume sessions (London/NY)
• Trend is bearish on higher timeframe
Example Trade:
• Bearish OB forms at $48,000 (last green candle before drop)
• Price drops to $46,000 then retraces
• Price rallies back to $47,900 (touching OB)
• Bearish engulfing forms at the OB
• Enter short at $47,800, stop at $48,200
• Target: $46,000- (previous low)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 How To Use This Indicator
Strategy 1: Order Block Retest (Classic)
Best For: Swing trading, capturing reversals
Timeframes: 15min, 1H, 4H, Daily
Win Rate: 60-70% (first touch)
Entry Rules:
1. Identify unmitigated order block (bright color, not gray)
2. Wait for price to return to the OB zone
3. Look for price action confirmation:
• Bullish OB: Pin bar, bullish engulfing, hammer
• Bearish OB: Shooting star, bearish engulfing, doji
4. Enter in the direction of the OB
5. Stop loss: Beyond the opposite side of OB (20-30 pips)
6. Target: 2-3R or opposite OB
Example:
• Bullish OB at $100-$102
• Price drops to $101.50 (enters OB)
• Bullish pin bar forms with low at $100.80
• Enter long at $102 (OB high), stop at $99.50
• Risk: $2.50, Target: $107.50 (3R)
Strategy 2: Break & Retest
Best For: Trend trading, breakout confirmation
Timeframes: 5min, 15min, 1H
Win Rate: 65-75%
Entry Rules:
1. Price breaks through an order block
2. Wait for pullback to the broken OB
3. The OB now acts as support (if broken up) or resistance (if broken down)
4. Enter when price respects the flipped OB
5. Stop: Inside the OB zone
6. Target: Next OB or structure level
Why It Works: Broken OBs flip polarity - support becomes resistance and vice versa
Strategy 3: Multi-Timeframe Confirmation
Best For: High-probability setups
Timeframes: Combine 1H + 4H or 15min + 1H
Win Rate: 70-80%
Entry Rules:
1. Identify order block on higher timeframe (4H or Daily)
2. Switch to lower timeframe (1H or 15min)
3. Wait for lower TF order block to form within higher TF OB
4. Trade the lower TF OB in direction of higher TF OB
5. Stop: Below lower TF OB
6. Target: Edge of higher TF OB or beyond
Why It Works: Alignment across timeframes = institutional consensus
Strategy 4: Order Block to Order Block
Best For: Range trading, swing entries
Timeframes: 1H, 4H
Win Rate: 55-65%
Entry Rules:
1. Identify both bullish OB below and bearish OB above
2. Price is ranging between these OBs
3. Enter long at bullish OB, target bearish OB
4. Enter short at bearish OB, target bullish OB
5. Stop: Beyond the trading OB
6. Exit at opposite OB
Why It Works: Price moves from one institutional zone to another
Strategy 5: Mitigation Fade
Best For: Aggressive scalping
Timeframes: 5min, 15min
Win Rate: 50-60% (higher risk)
Entry Rules:
1. Price approaches an order block
2. Instead of bouncing, price breaks through (mitigates it)
3. Enter immediately in direction of breakout
4. Stop: Back inside the mitigated OB
5. Quick target: 1-1.5R
Why It Works: When OB fails, it often leads to strong continuation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Settings Explained
Core Settings
Auto-Adjust for Timeframe (Default: ON)
• Automatically optimizes detection for current chart timeframe
• 1min: 3 bars lookback
• 5min: 4 bars lookback
• 15min: 5 bars lookback
• 1H: 6 bars lookback
• 4H: 8 bars lookback
• Daily+: 10-12 bars lookback
• Recommended: Keep ON for best results
Manual Detection Length (Default: 5)
• Only used when Auto-Adjust is OFF
• Number of bars to look back for the "last opposite candle"
• Lower (2-4): More sensitive, more blocks, more noise
• Higher (6-10): Less sensitive, fewer blocks, higher quality
• Recommended: Use Auto-Adjust instead
Display Settings
Show Bullish/Bearish Order Blocks
• Toggle each type on/off independently
• Customize colors for each OB type
• Tip: Match colors to your chart theme
Max Order Blocks to Display (Default: 10)
• Limits how many OBs are shown at once
• Lower (5-8): Cleaner chart, only recent blocks
• Higher (15-30): More historical context
• Recommended: 8-12 for most trading
Show Order Block Labels (Default: ON)
• Displays "OB+" and "OB-" text on blocks
• Shows 🎯 on active (nearest) block
• Turn OFF for minimal chart appearance
• Recommended: Keep ON for clarity
Extend Blocks (bars) (Default: 50)
• How far to extend OB boxes to the right
• Lower (20-30): Shorter boxes, less clutter
• Higher (100+): Longer boxes, easier to see
• Blocks auto-extend until mitigated or limit reached
• Recommended: 40-60 bars
Filters
Block Strength Filter (Default: Medium)
• Controls how strong a move must be to create an OB
• Low: 0.5x ATR move required - Many blocks, more noise
• Medium: 1x ATR move required - Balanced quality/quantity
• High: 1.5x ATR move required - Only strongest institutional moves
• Recommended for beginners: High
• Recommended for experienced: Medium
• Recommended for scalpers: Low
Min Block Size % (Default: 0.1)
• Minimum size of OB as percentage of price
• Filters out tiny, insignificant blocks
• Crypto: 0.1-0.3%
• Forex: 0.05-0.15%
• Stocks: 0.1-0.5%
• Adjust based on instrument volatility
Advanced Settings
Show Mitigated Blocks (Default: OFF)
• When ON: Shows gray boxes for "used" order blocks
• When OFF: Blocks disappear after mitigation
• Use ON: For learning and analysis
• Use OFF: For clean, active trading
Highlight Active Block (Default: ON)
• Highlights the nearest order block to current price
• Active block shown with 🎯 emoji and brighter color
• Helps focus on most relevant trading opportunity
• Recommended: Keep ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Info Panel Guide
Bullish OB Count
• Number of active (unmitigated) bullish order blocks
• Higher number = More support zones below price
• Multiple bullish OBs = Strong demand structure
Bearish OB Count
• Number of active (unmitigated) bearish order blocks
• Higher number = More resistance zones above price
• Multiple bearish OBs = Strong supply structure
Bias Indicator
• ⬆ Bullish: More bullish OBs than bearish (demand > supply)
• ⬇ Bearish: More bearish OBs than bullish (supply > demand)
• ↔ Neutral: Equal OBs on both sides
• Trade in direction of bias for higher probability
Near Indicator
• Shows which OB price is closest to
• Displays distance as percentage
• Example: "Bull OB 0.85%" = Bullish OB is 0.85% below current price
• Watch for "Near" alerts to time entries
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Alert Setup
This indicator includes 4 alert types:
1. Price Entering Bullish OB
• Fires when price touches a bullish order block
• Action: Watch for bounce/reversal pattern
• High-probability long setup developing
2. Price Entering Bearish OB
• Fires when price touches a bearish order block
• Action: Watch for rejection/reversal pattern
• High-probability short setup developing
3. New Bullish OB Detected
• Fires when a new bullish order block forms
• Action: Mark the zone for future retest
• New demand zone identified
4. New Bearish OB Detected
• Fires when a new bearish order block forms
• Action: Mark the zone for future retest
• New supply zone identified
To Set Up Alerts:
1. Click "Alert" button (clock icon)
2. Select "Order Block Identifier"
3. Choose your alert condition
4. Configure notification method
5. Click "Create"
Pro Tip: Set "Price Entering" alerts to catch trading opportunities in real-time
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 Pro Tips & Best Practices
✅ DO:
• First touch is best - Unmitigated OBs have highest win rate (60-70%)
• Wait for confirmation - Don't buy/sell just because price touched OB
• Use multiple timeframes - Higher TF OBs are stronger than lower TF
• Combine with structure - OB + trendline/support = high probability
• Trade with the bias - More bullish OBs = favor longs
• Respect mitigation - Once OB is mitigated, it's less reliable
• Use proper stop loss - Always place stops beyond the OB zone
• Consider session timing - OBs work best during London/NY sessions
⚠️ DON'T:
• Don't blindly buy/sell at OBs - Wait for confirmation
• Don't ignore mitigation - Gray blocks are much weaker
• Don't trade every OB - Quality over quantity
• Don't fight strong trends - OBs can be run through in strong momentum
• Don't use alone - Combine with price action, support/resistance
• Don't expect 100% win rate - Even best OBs fail sometimes (30-40% of time)
• Don't overtrade - Wait for A+ setups with confluence
🎯 Best Timeframes By Trading Style:
• Scalpers: 1min, 5min (quick OB touches)
• Day Traders: 5min, 15min, 1H (balanced view)
• Swing Traders: 1H, 4H, Daily (major institutional zones)
• Position Traders: 4H, Daily, Weekly (strongest OBs)
🔥 Best Instruments:
• Excellent: Forex major pairs (EUR/USD, GBP/USD), BTC, ETH, ES, NQ
• Good: Gold, Oil, Major indices, Large-cap stocks
• Moderate: Altcoins, small-cap stocks (more noise)
• Avoid: Very low liquidity instruments (OBs less reliable)
⏰ Best Times To Trade OBs:
• London Session (03:00-12:00 EST): Highest OB respect rate
• NY Session (08:00-17:00 EST): Strong OB reactions
• London-NY Overlap (08:00-12:00 EST): Best probability
• Asian Session: Lower probability, wait for London
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 Advanced Order Block Concepts
Order Block Flips (Polarity Change)
When price breaks through an OB and closes beyond it:
• Bullish OB that's broken becomes bearish (support becomes resistance)
• Bearish OB that's broken becomes bullish (resistance becomes support)
• Trading: Watch for retest of broken OB from opposite side
Order Block Refinement
When multiple OBs form at similar level:
• Later OB "refines" or "replaces" the earlier one
• Use the most recent OB as the active zone
• Older OBs become less relevant
Order Block Clusters
Multiple OBs stacked close together:
• Creates a "super zone" of institutional interest
• Higher probability of reversal
• Wider zone for entries (more room for confirmation)
Fair Value Gaps + Order Blocks
When OB aligns with Fair Value Gap:
• Extremely high probability setup
• Price is drawn to fill the gap AND test the OB
• Double confluence = institutional magnet
Order Block Mitigation Types
• Full Mitigation: Price fully enters and closes inside OB
• Partial Mitigation: Price wicks into OB but closes outside
• False Mitigation: Quick touch then immediate rejection
• Partial/false mitigation = OB still somewhat valid
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Common Order Block Patterns
Pattern 1: The Perfect Retest
• OB forms during strong move
• Price continues 100-200+ pips
• Price retraces back to OB
• Clean bounce with confirmation candle
• Highest probability pattern
Pattern 2: The Double Tap
• Price tests OB, bounces weakly
• Price tests same OB again
• Second test produces stronger reaction
• Second touch often better entry
Pattern 3: The Fake-Out
• Price breaks through OB
• Immediately reverses back
• "Stop hunt" or liquidity grab
• Enter after price reclaims OB
Pattern 4: The Ladder
• Multiple OBs stacked like stairs
• Price steps from one OB to next
• Each OB provides support/resistance
• Trade OB-to-OB movements
Pattern 5: The Failed OB
• Price crashes through OB without pause
• OB completely invalidated
• Often signals strong momentum
• Don't fight it, trade the breakout
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 What Makes This Different?
Unlike basic support/resistance indicators, Order Block Identifier:
• ICT Methodology - Based on proven institutional concepts
• Auto-Timeframe Optimization - Works perfectly on all timeframes
• ATR-Based Detection - Adapts to each instrument's volatility
• Mitigation Tracking - Knows when blocks are no longer valid
• Active Block Highlighting - Shows most relevant opportunity
• Smart Filtering - Only shows high-quality institutional zones
• Visual Clarity - Clean, professional appearance
• Real-Time Updates - Blocks update as price action develops
Based On Professional Concepts:
• ICT Smart Money Concepts (SMC)
• Institutional order flow analysis
• Market maker behavior patterns
• Supply and demand zone theory
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🙏 If You Find This Helpful
• ⭐ Leave your feedback
• 💬 Share your experience in the comments
• 🔔 Follow for updates and new tools
Questions about Order Blocks? Feel free to ask in the comments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Version History
• v1.0 - Initial release with auto-timeframe detection and ATR-based strength filtering
LiquidityPulse Higher Timeframe Consecutive Candle Run LevelsLiquidityPulse Higher Timeframe Consecutive Candle Run Levels
Research suggests that financial markets can alternate between trend-persistence and mean-reversion regimes, particularly at short (intraday) or very long timeframes. Extended directional moves, whether prolonged intraday rallies or sell-offs, also carry a statistically higher chance of retracing or reversing (Safari & Schmidhuber, 2025). In addition, studies examining support and resistance behaviour show that swing highs or lows formed after strong directional moves may act as structurally and psychologically important price levels, where subsequent price interactions have an increased likelihood of stalling or bouncing rather than passing through directly (Chung & Bellotti, 2021). By highlighting higher-timeframe candle runs and marking their extremal levels, this indicator aims to display areas where directional momentum previously stopped, providing contextual "watch levels" that traders may incorporate into their broader analysis.
How this information is used in the indicator:
When a sequence of consecutive higher-timeframe candles prints in the same direction, the indicator highlights the lower-timeframe chart with a green or red background, depending on whether the higher-timeframe run was bullish or bearish. The highest high (for a bull run) or lowest low (for a bear run) of that sequence forms a recent extremum, and this value is plotted as a swing-high or swing-low level. These levels appear only after the required number of consecutive higher-timeframe candles (set by the user) have closed, and they continue updating as long as the higher-timeframe streak remains intact. A level "freezes" and stops updating only when an opposite-colour higher-timeframe candle closes (e.g., a red candle ending a bull run, or a green candle ending a bear run). Once frozen, the level remains fixed to preserve that structural information for future analysis or retests. The number of past bull/bear levels displayed on the chart is also adjustable in the settings.
Why capture a level after a long directional run:
When price moves in one direction for several consecutive candles (e.g. 4, 5, or more), it reflects strong directional bias, often associated with momentum, liquidity imbalance, or liquidity grabs. Once that sequence breaks, the final level reached marks a point of exhaustion or structural resistance/support, where that bias failed to continue. These inflection points are often used by traders and trading algorithms to assess potential reversals, retests, or breakout setups. By freezing these levels once the run ends, the indicator creates a map of historically significant price zones, allowing traders to observe how price behaves around them over time.
Additional information displayed by the indicator:
Each detected run includes a label showing the run length (the number of consecutive higher-timeframe candles in the streak) along with the source timeframe used for detection. The indicator also displays an overstretch marker: this numerical value appears when the total size of the candle bodies within the run exceeds a user-defined multiple of the average higher-timeframe body size (default: 1.5x). This helps highlight runs that were unusually strong or extended relative to typical volatility. You can also enable alerts that trigger when this overstretch ratio exceeds a higher threshold.
Key Settings
Timeframe: Choose which HTF to analyse (e.g., 15m, 1h, 4h)
Minimum Candle Run Length: Define how many consecutive candles are needed to trigger a level (e.g., 4)
Overstretch Settings: Customize detection threshold and alert trigger (in multiples of average body size)
Background Tints: Enable/disable visual highlights for bull and bear runs
Display Capacity: Choose how many past bull/bear levels to show
How Traders Can Use This Indicator
Traders can:
-Watch levels for retests, reversals, breakouts, or consolidation
-Identify areas where price showed strong directional conviction
-Spot extended or aggressive moves based on overstretch detection
-Monitor how price reacts when retesting prior run levels
-Build confluence with your existing levels, zones, or indicators
Disclaimer
This tool does not reflect true order flow, liquidity, or institutional positioning. It is a visual aid that highlights specific candle behaviour patterns and does not produce predictive signals. All analysis is subject to interpretation, and past price behaviour does not imply future outcomes.
References:
Trends and Reversion in Financial Markets on Time Scales from Minutes to Decades (Sara A. Safari & Christof Schmidhuber, 2025)
Evidence and Behaviour of Support and Resistance Levels in Financial Time Series (Chung & Bellotti, 2021)
Brahmastra Basic1. Core Purpose and Strategy
This is a multi-timeframe (MTF) indicator designed to identify high-probability entry points for a specific trend-following options selling strategy. It works by confirming a trend on higher timeframes (Daily and Hourly) before waiting for a precise entry trigger on a lower timeframe (15-Minute).
The core principle is confluence: ensuring that the Daily trend bias and the Hourly trend momentum are aligned before looking for a trade. This filters out many false signals that can occur when trading on a single timeframe.
IMPORTANT: This indicator MUST be applied to a 15-minute chart to function correctly.
2. How to Read the Visual Signals on Your Chart
The indicator provides several visual cues to guide you through the trading setup from start to finish.
A. Candle Colors: The "Setup is Ready" Signal
The primary signal to start paying attention is the change in candle color.
Aqua Candles: The market is in a Bullish Alignment. This means both the Daily and Hourly trends are bullish. You should now be preparing for a Put Sell entry. The very first aqua candle in a sequence is your "alert candle."
Yellow Candles: The market is in a Bearish Alignment. This means both the Daily and Hourly trends are bearish. You should now be preparing for a Call Sell entry. The very first yellow candle in a sequence is your "alert candle."
B. Entry Signals: The "Execute Trade" Signal
These signals appear only after the alert candle's level has been breached.
Green "PUT SELL" Label (below candle): This is your signal to enter a Put Sell (or a long position). It appears on the close of the 15-minute candle that breaks above the high of the first aqua alert candle.
Red "CALL SELL" Label (above candle): This is your signal to enter a Call Sell (or a short position). It appears on the close of the 15-minute candle that breaks below the low of the first yellow alert candle.
C. Exit Signals: The "Close Position" Signal
Red 'X' (above candle): This is the signal to close your Put Sell position. It appears when the primary daily trend has reversed to bearish.
Green 'X' (below candle): This is the signal to close your Call Sell position. It appears when the primary daily trend has reversed to bullish.
D. Background & EMA Lines: The "Context"
EMA Lines: The indicator plots two key EMAs from the higher timeframes onto your 15-minute chart so you can see the context.
Orange Line: Daily 5 EMA
Blue Line: Hourly 51 EMA
Faint Background Color: After an entry signal appears, the background will remain faintly colored (green for a bullish trade, red for a bearish trade) to remind you that you are in a hypothetical position.
3. The Step-by-Step Strategy Logic
Here is the precise set of rules the indicator follows to generate its signals:
For a PUT Sell (Bullish Trade):
Alignment Check: The indicator first confirms that:
The Daily Close is above the Daily 5 EMA.
AND the Hourly Close is above the Hourly 51 EMA.
Alert Phase: As soon as this alignment is true, the 15-minute candles turn aqua. The indicator internally notes the high of the very first aqua candle.
Entry Trigger: The indicator waits for a 15-minute candle to close above the high of that first alert candle. When this happens, the green "PUT SELL" label is plotted.
Exit Condition: The position is held until the Daily Close crosses back below the Daily 5 EMA. When this happens, the red 'X' exit signal is plotted.
For a CALL Sell (Bearish Trade):
Alignment Check: The indicator first confirms that:
The Daily Close is below the Daily 5 EMA.
AND the Hourly Close is below the Hourly 51 EMA.
Alert Phase: As soon as this alignment is true, the 15-minute candles turn yellow. The indicator internally notes the low of the very first yellow candle.
Entry Trigger: The indicator waits for a 15-minute candle to close below the low of that first alert candle. When this happens, the red "CALL SELL" label is plotted.
Exit Condition: The position is held until the Daily Close crosses back above the Daily 5 EMA. When this happens, the green 'X' exit signal is plotted.
FVG Maxing - Fair Value Gaps, Equilibrium, and Candle Patterns
What this script does
This open-source indicator highlights 3-candle fair value gaps (FVGs) on the active chart timeframe, draws their midpoint ("equilibrium") line, tracks when each gap is mitigated, and optionally marks simple candle patterns (engulfing and doji) for confluence. It is intended as an educational tool to study how price interacts with imbalances.
3-candle bullish and bearish FVG zones drawn as forward-extending boxes.
Equilibrium line at 50% of each gap.
Different styling for mitigated vs unmitigated gaps.
Compact statistics panel showing how many gaps are currently active and filled.
Optional overlays for bullish/bearish engulfing patterns and doji candles.
1. FVG logic (3-candle gaps)
The script focuses on a strict 3-candle definition of a fair value gap:
Three consecutive candles with the same body direction.
The wick of candle 3 is separated from the wick of candle 1 (no overlap).
A bullish gap is created when price moves up fast enough to leave a gap between candle 1 and 3. A bearish gap is the mirror case to the downside.
In Pine, the core detection looks like this:
// Three candles with the same body direction
bull_seq = close > open and close > open and close > open
bear_seq = close < open and close < open and close < open
// Wick gap between candle 1 and candle 3
bull_gap = bull_seq and low > high
bear_gap = bear_seq and high < low
// Final FVG flags
is_bull_fvg = bull_gap
is_bear_fvg = bear_gap
For each detected FVG:
Bullish FVG range: from high up to low (gap below current price).
Bearish FVG range: from low down to high (gap above current price).
Each zone is stored in a custom FVGData structure so it can be updated when price later trades back inside it.
2. Equilibrium line (0.5 of the gap)
Every FVG box gets an optional equilibrium line plotted at the midpoint between its top and bottom:
eq_level = (top + bottom) / 2.0
right_index = extend_boxes ? bar_index + extend_length_bars : bar_index
bx = box.new(bar_index - 2, top, right_index, bottom)
eq_ln = line.new(bar_index - 2, eq_level, right_index, eq_level)
line.set_style(eq_ln, line.style_dashed)
line.set_color(eq_ln, eq_color)
You can use this line as a neutral “fair value” reference inside the zone, or as a simple way to think in terms of premium/discount within each gap.
3. Mitigation rules and styling
Each FVG stays active until price trades back into the gap:
Bullish FVG is considered mitigated when the low touches or moves below the top of the gap.
Bearish FVG is considered mitigated when the high touches or moves above the bottom of the gap.
When that happens, the script:
Marks the internal FVGData entry as mitigated.
Softens the box fill and border colors.
Optionally updates the label text from "BULL EQ / BEAR EQ" to "BULL FILLED / BEAR FILLED".
Can hide mitigated zones almost completely if you only want to see unfilled imbalances.
This allows you to distinguish between current areas of interest and zones that have already been traded through.
4. Candle pattern overlays (engulfing and doji)
For additional confluence, the script can mark simple candle patterns on top of the FVG view:
Bullish engulfing — current candle body fully wraps the previous bearish body and is larger in size.
Bearish engulfing — current candle body fully wraps the previous bullish body and is larger in size.
Doji — candles where the real body is small relative to the full range (high–low).
The detection is based on basic body and range geometry:
curr_body = math.abs(close - open)
prev_body = math.abs(close - open )
curr_range = high - low
body_ratio = curr_range > 0 ? curr_body / curr_range : 1.0
bull_engulfing = close > open and close < open and open <= close and close >= open and curr_body > prev_body
bear_engulfing = close < open and close > open and open >= close and close <= open and curr_body > prev_body
is_doji = curr_range > 0 and body_ratio <= doji_body_ratio
On the chart, they appear as:
Small triangle markers below bullish engulfing candles.
Small triangle markers above bearish engulfing candles.
Small circles above doji candles.
All three overlays are optional and can be turned on or off and recolored in the CANDLE PATTERNS group of inputs.
5. Inputs overview
The script organizes settings into clear groups:
DISPLAY SETTINGS : Show bullish/bearish FVGs, show/hide mitigated zones, box extension length, box border width, and maximum number of boxes.
EQUILIBRIUM : Toggle equilibrium lines, color, and line width.
LABELS : Enable labels, choose whether to label unmitigated and/or mitigated zones, and select label size.
BULLISH COLORS / BEARISH COLORS : Separate fill and border colors for bullish and bearish gaps.
MITIGATED STYLE : Opacity used when a gap is marked as mitigated.
STATISTICS : Toggle the on-chart FVG statistics panel.
CANDLE PATTERNS : Show engulfing patterns, show dojis, colors, and the body-to-range threshold that defines a doji.
6. Statistics panel
An optional table in the corner of the chart summarizes the current state of all tracked gaps:
Total number of FVGs still being tracked.
Number of bullish vs bearish FVGs.
Number of unfilled vs mitigated FVGs.
Simple fill rate: percentage of tracked FVGs that have been marked as mitigated.
This can help you study how a particular market tends to treat gaps over time.
7. How you might use it (examples)
These are usage ideas only, not recommendations:
Study how often your symbol mitigates gaps and where inside the zone price tends to react.
Use higher-timeframe context and then refine entries near the equilibrium line on your trading timeframe.
Combine FVG zones with basic candle patterns (engulfing/doji) as an extra visual anchor, if that fits your process.
Hope you enjoy, give your feedback in the comments!
- officialjackofalltrades
Ultimate Trend System — FINAL MASTER EDITIONUltimate Trend System — FINAL MASTER EDITION
A complete, multi‑layered trend‑detection engine designed for precision execution and clarity.
This final edition fuses trend, momentum, volatility, and filtering into one symmetrical logic system — enabling traders to instantly visualize directional strength and avoid false signals during choppy markets.
🔹 System Overview
The Ultimate Trend System consolidates several classic trading frameworks into a unified model.
It dynamically generates BUY, SELL, and STOP tags directly on the chart — each derived from clean, interlinked conditions that measure both momentum and structure.
In addition, a built‑in information panel summarizes live indicator states for quick decision‑making without checking multiple indicators.
⚙️ Core Logic Components
SMA (20‑period): Identifies trend slope; rising → bullish bias, falling → bearish bias.
VWAP: Defines fair‑value position — Above, Below, or Inside volume‑weighted average price.
QQE‑Lite (RSI): Tracks internal momentum shifts by comparing RSI to its EMA smoothing.
ATR Strength: Classifies current volatility regime as Turbo, Strong, or Weak.
SuperTrend: Confirms structural trend direction using an ATR‑based trailing model.
Choppiness Filter: Suppresses signals when short‑term volatility contracts or range noise dominates.
Fakeout Detection: Prevents false triggers after deceptive breakouts or reversals.
🧩 Execution Logic
BUY Signal: All major trend engines align bullishly, with clean structure and momentum.
SELL Signal: All major engines align bearishly, with clean structure and momentum.
STOP Phase: Appears once per cycle to mark neutral or transition zones; automatically locks further stops until a new entry signal is confirmed.
🟩🟥 Visual Elements
Green Labels: Confirmed bullish entry (BUY).
Red Labels: Confirmed bearish entry (SELL).
Yellow Labels: STOP state (trend exhaustion or consolidation).
Panel: Displays live readings for VWAP, SMA, QQE, ATR regime, and SuperTrend direction.
🧠 Design Philosophy
Built for simplicity, speed, and precision — the Final Master Edition strips away noise without losing analytical depth.
It can serve as a standalone trend system or foundation layer for more advanced frameworks like auto‑execution or multi‑engine HUDs.






















