Gap Levels

Gap Levels is a free indicator by DinexSpace for TradingView. Marks the gap at the daily session open and tracks it until it is filled.

Download .zipDetailed installation guide5.6 KB · 5 files · no sign-up

What Gap Levels does

Gap Levels is a free indicator by DinexSpace for TradingView. Marks the gap at the daily session open and tracks it until it is filled.

Enable JavaScript to see the chart.

Chart powered by TradingView Lightweight Charts™ (Apache-2.0 license). tradingview.com

The candles and indicator lines above come straight from the MT5 version running in the Strategy Tester (XAUUSD H1); nothing is recalculated in the browser. Press ▶ to replay bar by bar.

Gap Levels marks the price gap between the previous day's close and the new day's open, so you can see which gaps are still open. Each gap is drawn as a shaded zone that extends to the right until price trades back through it.

When to use it

Use it when you trade around the open.

Features and modes

Gap Levels has 4 documented features, listed below.

How it works

  • At the first bar of a new day the script compares the open with the previous close. If the difference is at least a set share of the daily ATR (0.10 by default), a zone is drawn between the two prices: green for a gap up, aqua for a gap down.
  • While a gap is open, its zone shrinks as price moves into it, so the remaining unfilled part is always visible.
  • A gap counts as filled when price reaches the previous close again. Filled gaps are removed, or kept in grey if you prefer.
  • The label shows the gap size in price and in daily ATR units. The ATR uses completed days only.

Parameters

Gap Levels has 8 inputs; every input and its default is listed below.

  • Gaps: minimum size in daily ATR, ATR length, maximum number of open gaps, keep filled gaps.
  • Style: colours for gaps up and down, label on/off.
  • Alert: optional alert when a gap is fully filled (use "Any alert() function call").
Gap Levels inputs – TradingView version
InputDefault
Gaps
Minimum gap (x daily ATR)0.10
Daily ATR length14
Keep at most this many open gaps10
Keep filled gaps on the chart (grey)false
Style
Gap upcolor.new(C_GREEN, 80)
Gap downcolor.new(C_AQUA, 80)
Label with the gap sizetrue
Alert
Alert when a gap is fully filledfalse

Signals

Gap Levels does not generate buy or sell signals. It is an analysis tool: you read what it plots and make your own decisions.

Alerts

Yes. Gap Levels has built-in alerts: TradingView – alert conditions for Create Alert.

Buffers for Expert Advisors

Not applicable. Gap Levels is a TradingView script; indicator buffers for EAs are an MT5 feature.

Timeframes and markets

Works on intraday and daily charts.

  • On weekly and monthly charts there is no daily gap to draw.

Limitations

Gap Levels is an analysis tool, not a trading system. Its documented limitations are listed below.

  • The "day" follows the symbol's session. On markets that trade around the clock, such as crypto, daily gaps are usually tiny and the ATR filter hides most of them.
  • Works on intraday and daily charts. On weekly and monthly charts there is no daily gap to draw.
  • A gap that is open now may or may not be filled later. The tool shows levels and does not predict price.

This script only marks price levels. It does not give trade signals or investment advice.

Pine Script code

Paste the whole script into the Pine Editor on TradingView.

gap_levels.pine · 90 lines
//@version=6
// DinexSpace | Gap Levels
// Marks the gap between the previous day's close and the new day's open as a zone, extends it to the right until
// price trades back through it, and shrinks it as it is partly filled. Gaps smaller than a share of the daily ATR
// are ignored. Shows levels only: it gives no trade signals.
// Free and open source. License: MIT. (c) 2026 DinexSpace
indicator("DinexSpace | Gap Levels", shorttitle = "DNX Gaps", overlay = true, max_boxes_count = 200, max_labels_count = 200)

// ===== Brand colours =====
C_GREEN = #00FF7F   // SpringGreen: gap up
C_AQUA  = #00FFFF   // Aqua: gap down
C_GRAY  = #9AA0A6

// ===== Inputs =====
GRP_G   = "Gaps"
minAtr  = input.float(0.10, "Minimum gap (x daily ATR)", minval = 0, step = 0.05, group = GRP_G)
atrLen  = input.int(14, "Daily ATR length", minval = 1, maxval = 100, group = GRP_G)
maxOpen = input.int(10, "Keep at most this many open gaps", minval = 1, maxval = 50, group = GRP_G)
keepFil = input.bool(false, "Keep filled gaps on the chart (grey)", group = GRP_G)
GRP_S   = "Style"
colUp   = input.color(color.new(C_GREEN, 80), "Gap up", inline = "c", group = GRP_S)
colDn   = input.color(color.new(C_AQUA, 80), "Gap down", inline = "c", group = GRP_S)
showLbl = input.bool(true, "Label with the gap size", group = GRP_S)
GRP_A   = "Alert"
useAlt  = input.bool(false, "Alert when a gap is fully filled", group = GRP_A)

// Daily ATR of completed days only ([1] with lookahead_on: no look-ahead).
float atrD = request.security(syminfo.tickerid, "D", ta.atr(atrLen)[1], lookahead = barmerge.lookahead_on)

// One open gap: its zone, label, the level that fills it and its direction.
type Gap
    box   zone
    label tag
    float fillLevel
    bool  up

var array<Gap> gaps = array.new<Gap>()

// Closes a gap: grey and stopped, or deleted.
closeGap(Gap g) =>
    if keepFil
        g.zone.set_bgcolor(color.new(C_GRAY, 88))
        g.zone.set_border_color(color.new(C_GRAY, 70))
        g.zone.set_right(bar_index)
        if not na(g.tag)
            g.tag.set_textcolor(C_GRAY)
    else
        g.zone.delete()
        g.tag.delete()

// ===== New gap at the first bar of a new day =====
bool newDay = timeframe.change("D")
float prevClose = close[1]
if newDay and not na(prevClose) and not na(atrD) and bar_index > 0
    float gap = open - prevClose
    if math.abs(gap) > 0 and math.abs(gap) >= minAtr * atrD
        bool up = gap > 0
        color c = up ? colUp : colDn
        box z = box.new(bar_index, math.max(open, prevClose), bar_index, math.min(open, prevClose), border_color = color.new(c, 40), bgcolor = c, extend = extend.none)
        label t = na
        if showLbl
            string txt = (up ? "Gap up " : "Gap down ") + str.tostring(math.abs(gap), format.mintick) + " (" + str.tostring(math.abs(gap) / atrD, "0.00") + " ATR)"
            t := label.new(bar_index, up ? math.max(open, prevClose) : math.min(open, prevClose), txt, style = up ? label.style_label_lower_left : label.style_label_upper_left, color = color(na), textcolor = up ? C_GREEN : C_AQUA, size = size.small)
        gaps.push(Gap.new(z, t, prevClose, up))
        if gaps.size() > maxOpen
            Gap old = gaps.shift()
            old.zone.delete()
            old.tag.delete()

// ===== Extend, shrink and close open gaps =====
// A gap up is filled when price trades down to the previous close; until then its upper edge follows the lowest
// low since the gap (and the opposite for a gap down). The bar that opened the gap is skipped.
if gaps.size() > 0
    for i = gaps.size() - 1 to 0
        Gap g = gaps.get(i)
        if g.zone.get_left() < bar_index
            bool filled = g.up ? low <= g.fillLevel : high >= g.fillLevel
            if filled
                closeGap(g)
                gaps.remove(i)
                if useAlt
                    alert(syminfo.ticker + ": " + (g.up ? "gap up" : "gap down") + " filled at " + str.tostring(g.fillLevel, format.mintick), alert.freq_once_per_bar)
            else
                if g.up
                    g.zone.set_top(math.min(g.zone.get_top(), low))
                else
                    g.zone.set_bottom(math.max(g.zone.get_bottom(), high))
                g.zone.set_right(bar_index)
                if not na(g.tag)
                    g.tag.set_x(bar_index)

Gap Levels FAQ

Gap Levels is free, runs on TradingView and does not place trades.

Is Gap Levels free?

Yes. Gap Levels is free to download from this page with no sign-up, and the download includes the full source code.

Which platforms does Gap Levels run on?

Gap Levels is available for TradingView (Pine Script v6).

Does Gap Levels give buy and sell signals?

Gap Levels does not generate buy or sell signals. It is an analysis tool: you read what it plots and make your own decisions.

Does Gap Levels have alerts?

Yes. Gap Levels has built-in alerts: TradingView – alert conditions for Create Alert.

Can an EA read Gap Levels?

Not applicable. Gap Levels is a TradingView script; indicator buffers for EAs are an MT5 feature.

Which timeframes does Gap Levels work on?

Works on intraday and daily charts.

Does Gap Levels place trades?

No. It is a read-only indicator: it only reads market data and shows the result on the chart or writes it to a file. The source contains no calls that open, close or modify orders.

How do I install Gap Levels?

Download the .zip and follow the step-by-step installation guide for TradingView: https://indicators.dinexspace.com/install-guide/

Measured win rates (backtest)

Measured (signal-by-signal check against MT5: in progress)

Out of sample on H1: 4 of 15 symbols above break-even after costs.

Swipe sideways to see every timeframe.

Out of sample: 2024-01-01 to 2026-11-16
SymbolM15H1H4D1
AUDUSD61.4% (n=44; break-even 61.5%)61.0% (n=41; break-even 55.1%)59.1% (n=44; break-even 52.7%)56.8% (n=44; break-even 51.2%)
AUS20038.7% (n=204; break-even 63.3%)49.2% (n=181; break-even 56.3%)45.2% (n=147; break-even 53.6%)46.2% (n=144; break-even 52.2%)
BNB––––
BTCUSD––––
ETHUSD––––
EURUSD–51.4% (n=35; break-even 53.5%)48.5% (n=33; break-even 51.7%)–
GBPUSD42.9% (n=35; break-even 59.6%)65.0% (n=40; break-even 53.7%)39.5% (n=43; break-even 51.9%)38.9% (n=36; break-even 50.8%)
GER4051.7% (n=118; break-even 53.6%)50.8% (n=132; break-even 51.6%)48.6% (n=146; break-even 50.8%)51.8% (n=141; break-even 50.3%)
JP22550.2% (n=205; break-even 55.5%)52.4% (n=187; break-even 53.0%)49.8% (n=200; break-even 51.5%)48.5% (n=171; break-even 50.6%)
NAS10043.6% (n=39; break-even 51.5%)47.4% (n=38; break-even 50.7%)52.8% (n=36; break-even 50.4%)52.8% (n=36; break-even 50.2%)
NZDUSD52.4% (n=42; break-even 68.3%)63.6% (n=44; break-even 56.9%)62.8% (n=43; break-even 53.5%)31.8% (n=44; break-even 51.5%)
SOLUSD––––
UK10046.8% (n=126; break-even 63.9%)52.8% (n=126; break-even 55.9%)51.2% (n=130; break-even 52.6%)53.7% (n=123; break-even 51.1%)
US3039.0% (n=41; break-even 52.3%)47.4% (n=38; break-even 51.1%)38.7% (n=31; break-even 50.5%)41.2% (n=35; break-even 50.2%)
US50036.8% (n=38; break-even 54.2%)53.3% (n=30; break-even 51.8%)55.6% (n=36; break-even 51.0%)45.5% (n=33; break-even 50.5%)
USDCAD32.6% (n=43; break-even 62.2%)53.5% (n=43; break-even 55.4%)68.8% (n=32; break-even 52.9%)40.0% (n=30; break-even 51.2%)
USDCHF33.3% (n=51; break-even 65.0%)33.3% (n=54; break-even 55.4%)44.7% (n=39; break-even 52.9%)48.8% (n=41; break-even 51.2%)
USDJPY55.0% (n=40; break-even 59.2%)38.9% (n=36; break-even 54.3%)48.8% (n=41; break-even 52.1%)48.6% (n=37; break-even 50.9%)
WTI38.2% (n=34; break-even 55.2%)41.9% (n=31; break-even 52.7%)56.7% (n=30; break-even 51.3%)56.7% (n=30; break-even 50.5%)
XAGUSD––––
XAUUSD––measured up to 2024-10-16––

No data: HK50, KOSPI

Swipe sideways to see every timeframe.

In sample: through 2023-12-31
SymbolM15H1H4D1
AUDUSD–48.5% (n=132; break-even 51.3%)53.5% (n=157; break-even 50.6%)53.7% (n=162; break-even 50.3%)
AUS20046.7% (n=638; break-even 54.8%)48.3% (n=625; break-even 52.1%)44.1% (n=594; break-even 51.2%)45.7% (n=523; break-even 50.7%)
BNB––––
BTCUSD––––
ETHUSD––––
EURUSD–45.8% (n=120; break-even 51.0%)50.5% (n=109; break-even 50.6%)46.7% (n=122; break-even 50.2%)
GBPUSD–38.9% (n=131; break-even 51.0%)39.0% (n=141; break-even 50.5%)46.8% (n=126; break-even 50.2%)
GER4041.7% (n=115; break-even 51.6%)53.6% (n=1385; break-even 50.1%)52.2% (n=1382; break-even 50.0%)52.7% (n=1284; break-even 50.0%)
JP22552.5% (n=1376; break-even 50.4%)51.7% (n=1319; break-even 50.2%)50.8% (n=1242; break-even 50.1%)49.8% (n=1086; break-even 50.1%)
NAS100–52.8% (n=161; break-even 50.0%)50.0% (n=158; break-even 50.0%)49.3% (n=136; break-even 50.0%)
NZDUSD–48.1% (n=187; break-even 52.9%)50.0% (n=202; break-even 51.4%)52.7% (n=186; break-even 50.6%)
SOLUSD––––
UK10046.6% (n=161; break-even 55.0%)47.2% (n=1140; break-even 50.3%)47.1% (n=1111; break-even 50.1%)48.5% (n=963; break-even 50.1%)
US30–57.1% (n=175; break-even 50.1%)54.6% (n=185; break-even 50.0%)51.5% (n=167; break-even 50.0%)
US500–53.6% (n=179; break-even 50.2%)53.0% (n=181; break-even 50.1%)49.7% (n=173; break-even 50.0%)
USDCAD–41.1% (n=129; break-even 51.1%)48.0% (n=127; break-even 50.6%)51.0% (n=104; break-even 50.3%)
USDCHF–47.3% (n=146; break-even 51.8%)50.0% (n=142; break-even 50.8%)54.5% (n=156; break-even 50.4%)
USDJPY–56.4% (n=156; break-even 51.1%)54.3% (n=162; break-even 50.6%)44.9% (n=158; break-even 50.3%)
WTI–48.8% (n=166; break-even 50.1%)53.3% (n=165; break-even 50.0%)43.9% (n=164; break-even 50.0%)
XAGUSD–41.5% (n=130; break-even 58.7%)45.6% (n=114; break-even 54.9%)49.5% (n=103; break-even 52.2%)
XAUUSD–53.7% (n=121; break-even 51.5%)51.8% (n=141; break-even 50.7%)56.3% (n=119; break-even 50.4%)

No data: HK50, KOSPI

Also measured: 1:2 and 1:3 TP win rates
Also measured: 1:2 and 1:3 TP win rates
Sample · symbol · timeframe1:21:3
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · M1547.7%31.8%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H143.9%29.3%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H436.4%25.0%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · D129.5%19.1%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · M1527.9%24.0%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H133.1%25.4%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H428.8%24.0%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · D125.2%16.8%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H122.9%17.1%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H430.3%18.2%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · M1531.4%25.7%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H147.5%27.5%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H425.6%20.9%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · D122.2%16.7%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · M1534.8%30.5%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H134.1%26.5%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H433.1%26.9%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · D136.7%27.2%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · M1536.1%29.9%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H133.9%26.3%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H435.2%25.4%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · D131.9%25.1%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · M1528.2%20.5%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H134.2%24.3%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H434.3%22.9%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · D133.3%25.7%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · M1535.7%30.9%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H145.5%34.1%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H437.2%27.9%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · D120.4%13.6%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · M1530.2%19.8%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H135.2%26.4%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H435.9%25.8%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · D139.7%28.7%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · M1524.4%24.4%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · H121.1%13.2%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · H416.7%16.7%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · D138.2%35.3%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · M1528.9%23.7%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · H140.0%33.3%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · H433.3%25.7%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · D133.3%30.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · M1520.9%16.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H139.5%23.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H443.8%28.1%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · D140.0%23.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · M1517.6%11.8%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H124.1%22.2%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H428.9%26.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · D136.6%29.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · M1542.5%27.5%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H125.0%22.2%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H436.6%27.5%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · D122.9%20.0%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · M1517.6%11.8%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · H122.6%22.6%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · H433.3%23.3%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · D140.0%31.0%
In sample: through 2023-12-31 · AUDUSD · H134.8%25.9%
In sample: through 2023-12-31 · AUDUSD · H433.8%26.1%
In sample: through 2023-12-31 · AUDUSD · D139.5%24.7%
In sample: through 2023-12-31 · AUS200 · M1533.1%25.8%
In sample: through 2023-12-31 · AUS200 · H133.8%25.4%
In sample: through 2023-12-31 · AUS200 · H429.6%21.4%
In sample: through 2023-12-31 · AUS200 · D128.7%21.1%
In sample: through 2023-12-31 · EURUSD · H130.0%21.7%
In sample: through 2023-12-31 · EURUSD · H433.9%23.8%
In sample: through 2023-12-31 · EURUSD · D132.8%21.3%
In sample: through 2023-12-31 · GBPUSD · H125.9%22.1%
In sample: through 2023-12-31 · GBPUSD · H424.8%18.4%
In sample: through 2023-12-31 · GBPUSD · D129.4%24.6%
In sample: through 2023-12-31 · GER40 · M1532.2%19.1%
In sample: through 2023-12-31 · GER40 · H134.8%26.4%
In sample: through 2023-12-31 · GER40 · H435.9%26.7%
In sample: through 2023-12-31 · GER40 · D133.7%24.2%
In sample: through 2023-12-31 · JP225 · M1536.0%27.9%
In sample: through 2023-12-31 · JP225 · H136.5%28.7%
In sample: through 2023-12-31 · JP225 · H434.5%26.3%
In sample: through 2023-12-31 · JP225 · D131.8%24.6%
In sample: through 2023-12-31 · NAS100 · H135.4%24.4%
In sample: through 2023-12-31 · NAS100 · H433.5%25.3%
In sample: through 2023-12-31 · NAS100 · D135.3%30.1%
In sample: through 2023-12-31 · NZDUSD · H131.0%23.0%
In sample: through 2023-12-31 · NZDUSD · H435.1%24.8%
In sample: through 2023-12-31 · NZDUSD · D132.3%23.1%
In sample: through 2023-12-31 · UK100 · M1527.3%19.9%
In sample: through 2023-12-31 · UK100 · H129.8%21.7%
In sample: through 2023-12-31 · UK100 · H429.3%21.1%
In sample: through 2023-12-31 · UK100 · D131.7%20.6%
In sample: through 2023-12-31 · US30 · H136.2%27.8%
In sample: through 2023-12-31 · US30 · H435.3%28.3%
In sample: through 2023-12-31 · US30 · D128.9%22.9%
In sample: through 2023-12-31 · US500 · H131.3%20.8%
In sample: through 2023-12-31 · US500 · H432.6%24.9%
In sample: through 2023-12-31 · US500 · D133.5%24.3%
In sample: through 2023-12-31 · USDCAD · H127.1%18.6%
In sample: through 2023-12-31 · USDCAD · H429.1%19.7%
In sample: through 2023-12-31 · USDCAD · D132.7%26.9%
In sample: through 2023-12-31 · USDCHF · H132.9%24.7%
In sample: through 2023-12-31 · USDCHF · H437.3%30.3%
In sample: through 2023-12-31 · USDCHF · D136.5%23.1%
In sample: through 2023-12-31 · USDJPY · H143.6%34.6%
In sample: through 2023-12-31 · USDJPY · H439.5%31.5%
In sample: through 2023-12-31 · USDJPY · D136.1%23.4%
In sample: through 2023-12-31 · WTI · H125.9%21.7%
In sample: through 2023-12-31 · WTI · H431.5%23.6%
In sample: through 2023-12-31 · WTI · D123.2%18.9%
In sample: through 2023-12-31 · XAGUSD · H126.2%16.2%
In sample: through 2023-12-31 · XAGUSD · H432.5%26.3%
In sample: through 2023-12-31 · XAGUSD · D131.1%22.3%
In sample: through 2023-12-31 · XAUUSD · H135.5%28.1%
In sample: through 2023-12-31 · XAUUSD · H437.6%29.8%
In sample: through 2023-12-31 · XAUUSD · D137.8%29.4%

What counts as a win

  • W1: take profit before stop loss. Stop loss = 1.5 × ATR(14) Wilder of the signal bar; shown take profit = 1 × stop loss (1:1). Entry is at the signal bar close. Buy pays the spread at entry; sell pays it at exit. If stop loss and take profit occur in the same M15 bar, count a loss. No result within 200 bars is not counted.
  • W2 direction after 5, 10 and 20 bars is measured too.
  • Default inputs require confluence ≥ 4/7.
  • In sample: first bar to 2023-12-31; out of sample: 2024-01-01 to 2026-11-16.
  • Costs: Real spread of an ECN-type MT5 account, no commission.
  • Data source: MT5 tick data (BNB: Binance spot).
  • Cells with fewer than 30 signals show –.

TradingView H4/D1 bars may follow the exchange time zone of the TradingView symbol, not the MT5 server time (UTC) used for the measurement; sessions and the H4 trend may differ on the Pine version. Same signals on TradingView not checked yet.

Arrows show one rate for all markets: 49% (n = 20926).

What this version adds

  • Standard Gap Levels versions on MT5 or TradingView do not show a measured win rate for their signals.
  • Every arrow shows its measured win rate, e.g. "Buy 1:1 49% all mkts (n=20926)" (one rate for all markets: the per-market rates were not better out of sample). Measured on 20 MT5 symbols + BNB, M15 to D1, in and out of sample.
  • Signals on closed bars only; 7-factor confluence score, by default only signals scoring 4/7 or more.
  • ATR-based SL/TP suggestions, per-bar odds, standard buffers for EAs, one alert per closed bar.
  • On gold: GII panel and an optional GII side filter (off by default: GII is not validated yet).

Past test statistics are not a promise of future results.

Fibonacci Auto Levels

Levels & Structure · Indicator

Draws Fibonacci retracement levels automatically from the latest swing high and low. Use it to find pullback zones inside a trend.

FreeMT5TradingViewMeasured

Pivot Points

Levels & Structure · Indicator

Plots pivot points with their support and resistance levels. Use them as reference zones for entries and profit targets.

FreeMT5TradingViewSignalsMeasured