Swing High/Low Levels

Swing High/Low Levels is a free indicator by DinexSpace for MT5 and TradingView. Marks swing highs and lows and extends them as support and resistance.

Download .zipDetailed installation guide27.9 KB · 8 files · no sign-up

What Swing High/Low Levels does

Swing High/Low Levels is a free indicator by DinexSpace for MT5 and TradingView. Marks swing highs and lows and extends them as support and resistance.

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.

MT5 version

Swing High/Low Levels marks confirmed swing highs and lows and extends each one to the right as a horizontal level until price breaks it. At a glance you can see which recent swings are still intact and which have already been taken out.

TradingView version

Swing High/Low Levels marks confirmed swing highs and lows and extends each one to the right as a horizontal level until price breaks it. At a glance you can see which recent swings are still intact and which have already been taken out.

When to use it

Use it to read market structure faster.

Features and modes

Swing High/Low Levels has 9 documented features, listed below.

MT5 version

How it works

  • A swing high is a bar whose high is above the highs of the bars on its left and not exceeded by the bars on its right (10 left and 5 right by default). A swing low works the same way with lows.
  • A swing is confirmed only after the bars on its right side have closed. It appears with that delay, and once drawn it never moves.
  • Active levels extend to the current bar and carry a price label at the right edge.
  • When a closed bar finishes beyond a level (or trades through it, if you choose the wick rule), the level stops at that bar and turns grey and dotted. You choose how many broken levels to keep, or 0 to remove them right away.
  • Only closed bars are used, so the forming bar never creates or breaks a level.

TradingView version

How it works

  • A swing high is a bar whose high is the highest of the bars on its left and on its right (10 left and 5 right by default). A swing low works the same way with lows.
  • A swing is confirmed only after the bars on its right side have closed. It appears with that delay, and once drawn it never moves.
  • Each new swing starts a level at the swing bar. Active levels extend bar by bar.
  • When price closes beyond a level (or trades through it, if you choose "Wick"), the level stops at that bar and turns grey and dotted. You can keep a number of broken levels for reference or remove them right away.
  • Active levels carry a price label at the right edge. Small triangles can mark the swing points themselves.

Parameters

Swing High/Low Levels has 10 inputs in the MT5 version and 11 in the TradingView version; every input and its default is listed below.

MT5 version

  • Swings: bars on the left, bars on the right, break rule.
  • Display: colours, active levels kept per side, broken levels kept, labels, bars to scan.

TradingView version

  • Swings: bars on the left, bars on the right, break rule (close or wick).
  • Display: colours, active levels kept per side, broken levels on/off and how many to keep, labels, swing markers.
Swing High/Low Levels inputs – MT5 version
InputDefaultLabel in MT5
Swings
InpLeft10Bars on the left
InpRight5Bars on the right (confirmation delay)
InpBreakBREAK_CLOSELevel is broken by
Display
InpColHiclrSpringGreenSwing high levels
InpColLoclrAquaSwing low levels
InpColBrkclrDimGrayBroken levels
InpKeep10Active levels kept (each side)
InpKeepBrk20Broken levels kept (0 = delete when broken)
InpLabelstruePrice labels on active levels
InpMaxBars3000Bars to scan
Swing High/Low Levels inputs – TradingView version
InputDefault
Swings
Bars on the left10
Bars on the right (confirmation delay)5
Level is broken by"Close"
Display
Swing high levelsC_GREEN
Swing low levelsC_AQUA
Broken levelscolor.new(C_GRAY, 50)
Active levels kept (each side)10
Keep broken levels on charttrue
Broken levels kept20
Price labels on active levelstrue
Mark swing pointstrue

Signals

The free version of Swing High/Low Levels has no separate buy/sell signal system with SL and TP; it marks the chart as described under Features, and you decide how to trade it.

Alerts

Yes. Swing High/Low Levels has built-in alerts: TradingView – alert conditions for Create Alert.

"New swing high confirmed" and "New swing low confirmed" fire when a swing is confirmed.

Buffers for Expert Advisors

No. Swing High/Low Levels draws chart objects (lines, boxes, labels or a panel) and has no indicator buffers for EAs.

Timeframes and markets

Swing High/Low Levels runs on any chart timeframe. Its calculation reads the chart timeframe or a fixed timeframe (for example D1 or a higher timeframe), as described under Features.

Limitations

Swing High/Low Levels is an analysis tool, not a trading system. Its documented limitations are listed below.

MT5 version

  • Which swings appear depends on the left/right settings and the timeframe.
  • Only the most recent swings are kept (10 per side by default) to keep the chart readable.
  • It draws levels only. It does not say when to buy or sell.

The indicator does not trade, give signals or use DLLs or web requests.

TradingView version

  • Which swings appear depends on the left/right settings and the timeframe.
  • It draws levels only. It does not say when to buy or sell.

This script is an analysis aid only. It does not give trade signals or investment advice.

Pine Script code

Paste the whole script into the Pine Editor on TradingView.

swing_levels.pine · 100 lines
//@version=6
// DinexSpace | Swing High/Low Levels
// Marks confirmed swing highs and lows (pivots) and extends each one as a horizontal level until price
// closes beyond it. Broken levels stop at the bar that broke them, so you can see which swings still hold.
// A swing is confirmed only after N bars on its right side, so it is plotted with that delay and does not move.
// It only draws levels; it does not give trade signals.
// Free and open source. License: MIT. (c) 2026 DinexSpace
indicator("DinexSpace | Swing High/Low Levels", shorttitle = "DNX Swings", overlay = true, max_lines_count = 500, max_labels_count = 500)

// ===== Brand colours =====
C_GREEN = #00FF7F   // SpringGreen
C_AQUA  = #00FFFF   // Aqua
C_GRAY  = #9AA0A6

// ===== Inputs =====
GRP_P    = "Swings"
leftN    = input.int(10, "Bars on the left", minval = 1, maxval = 100, group = GRP_P)
rightN   = input.int(5, "Bars on the right (confirmation delay)", minval = 1, maxval = 100, group = GRP_P)
breakSrc = input.string("Close", "Level is broken by", options = ["Close", "Wick"], group = GRP_P)

GRP_D    = "Display"
colHi    = input.color(C_GREEN, "Swing high levels", group = GRP_D)
colLo    = input.color(C_AQUA, "Swing low levels", group = GRP_D)
colBrk   = input.color(color.new(C_GRAY, 50), "Broken levels", group = GRP_D)
keepN    = input.int(10, "Active levels kept (each side)", minval = 1, maxval = 50, group = GRP_D)
showBrk  = input.bool(true, "Keep broken levels on chart", group = GRP_D)
keepBrk  = input.int(20, "Broken levels kept", minval = 0, maxval = 200, group = GRP_D)
showLbl  = input.bool(true, "Price labels on active levels", group = GRP_D)
showMark = input.bool(true, "Mark swing points", group = GRP_D)

// ===== Pivots (confirmed `rightN` bars later; values never change after that) =====
float ph = ta.pivothigh(high, leftN, rightN)
float pl = ta.pivotlow(low, leftN, rightN)

plotshape(showMark and not na(ph) ? ph : na, "Swing high", shape.triangledown, location.absolute, colHi, offset = -rightN, size = size.tiny)
plotshape(showMark and not na(pl) ? pl : na, "Swing low", shape.triangleup, location.absolute, colLo, offset = -rightN, size = size.tiny)

var array<line>  hiLines = array.new<line>()
var array<line>  loLines = array.new<line>()
var array<line>  broken  = array.new<line>()
var array<label> lbls    = array.new<label>()

// New swing: start a line at the pivot bar.
if not na(ph)
    hiLines.push(line.new(bar_index - rightN, ph, bar_index, ph, color = colHi, width = 1))
    if hiLines.size() > keepN
        line.delete(hiLines.shift())
if not na(pl)
    loLines.push(line.new(bar_index - rightN, pl, bar_index, pl, color = colLo, width = 1))
    if loLines.size() > keepN
        line.delete(loLines.shift())

float upTest = breakSrc == "Close" ? close : high
float dnTest = breakSrc == "Close" ? close : low

// Moves a level to the broken list (or deletes it) and trims the broken list.
retire(line ln) =>
    if showBrk and keepBrk > 0
        ln.set_color(colBrk)
        ln.set_style(line.style_dotted)
        broken.push(ln)
        if broken.size() > keepBrk
            line.delete(broken.shift())
    else
        line.delete(ln)

// Extend active levels; stop a level at the bar that breaks it. Loop backwards so removals are safe.
if hiLines.size() > 0
    for i = hiLines.size() - 1 to 0
        line ln = hiLines.get(i)
        if upTest > ln.get_y1()
            ln.set_x2(bar_index)
            hiLines.remove(i)
            retire(ln)
        else
            ln.set_x2(bar_index)
if loLines.size() > 0
    for i = loLines.size() - 1 to 0
        line ln = loLines.get(i)
        if dnTest < ln.get_y1()
            ln.set_x2(bar_index)
            loLines.remove(i)
            retire(ln)
        else
            ln.set_x2(bar_index)

// Labels on the active levels at the last bar.
if barstate.islast
    for lb in lbls
        lb.delete()
    lbls.clear()
    if showLbl
        for ln in hiLines
            lbls.push(label.new(bar_index + 2, ln.get_y1(), str.tostring(ln.get_y1(), format.mintick), color = color(na), textcolor = colHi, style = label.style_label_left, size = size.small))
        for ln in loLines
            lbls.push(label.new(bar_index + 2, ln.get_y1(), str.tostring(ln.get_y1(), format.mintick), color = color(na), textcolor = colLo, style = label.style_label_left, size = size.small))

// ===== Alerts =====
alertcondition(not na(ph), "New swing high confirmed", "{{ticker}}: new swing high confirmed")
alertcondition(not na(pl), "New swing low confirmed", "{{ticker}}: new swing low confirmed")

Swing High/Low Levels FAQ

Swing High/Low Levels is free, runs on MT5 and TradingView and does not place trades.

Is Swing High/Low Levels free?

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

Which platforms does Swing High/Low Levels run on?

Swing High/Low Levels is available for MetaTrader 5 (MQL5) and TradingView (Pine Script v6).

Does Swing High/Low Levels give buy and sell signals?

The free version of Swing High/Low Levels has no separate buy/sell signal system with SL and TP; it marks the chart as described under Features, and you decide how to trade it.

Does Swing High/Low Levels have alerts?

Yes. Swing High/Low Levels has built-in alerts: TradingView – alert conditions for Create Alert.

Can an EA read Swing High/Low Levels?

No. Swing High/Low Levels draws chart objects (lines, boxes, labels or a panel) and has no indicator buffers for EAs.

Which timeframes does Swing High/Low Levels work on?

Swing High/Low Levels runs on any chart timeframe. Its calculation reads the chart timeframe or a fixed timeframe (for example D1 or a higher timeframe), as described under Features.

Does Swing High/Low 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 Swing High/Low Levels?

Download the .zip and follow the step-by-step installation guide for MT5 and 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: 2 of 21 symbols above break-even after costs.

Swipe sideways to see every timeframe.

Out of sample: 2024-01-01 to 2026-11-16
SymbolM15H1H4D1
AUDUSD40.7% (n=4028; break-even 61.4%)45.5% (n=1034; break-even 55.3%)52.1% (n=290; break-even 52.6%)42.1% (n=58; break-even 51.1%)
AUS20042.0% (n=887; break-even 64.3%)42.5% (n=268; break-even 56.3%)43.9% (n=115; break-even 53.9%)50.0% (n=50; break-even 52.3%)
BNB–47.2% (n=1309; break-even 57.8%)48.1% (n=319; break-even 53.7%)60.4% (n=53; break-even 51.5%)
BTCUSD48.5% (n=5396; break-even 53.8%)50.7% (n=1359; break-even 51.7%)51.2% (n=340; break-even 50.8%)50.0% (n=56; break-even 50.3%)
ETHUSD46.6% (n=5285; break-even 57.5%)49.6% (n=1293; break-even 53.4%)54.8% (n=323; break-even 51.6%)60.8% (n=52; break-even 50.5%)
EURUSD44.6% (n=3931; break-even 58.1%)46.4% (n=967; break-even 53.7%)45.5% (n=268; break-even 51.8%)54.2% (n=60; break-even 50.7%)
GBPUSD43.4% (n=3946; break-even 58.4%)45.7% (n=995; break-even 53.8%)52.6% (n=312; break-even 51.9%)47.9% (n=48; break-even 50.8%)
GER4049.7% (n=3013; break-even 53.8%)52.2% (n=801; break-even 51.7%)51.8% (n=225; break-even 50.8%)29.4% (n=35; break-even 50.3%)
JP22547.8% (n=3257; break-even 57.4%)50.8% (n=827; break-even 53.4%)46.1% (n=215; break-even 51.6%)51.2% (n=41; break-even 50.7%)
NAS10049.6% (n=3891; break-even 52.0%)51.1% (n=990; break-even 50.8%)55.3% (n=284; break-even 50.4%)52.1% (n=48; break-even 50.2%)
NZDUSD38.7% (n=4080; break-even 65.7%)46.3% (n=1026; break-even 57.3%)45.2% (n=290; break-even 53.5%)36.4% (n=56; break-even 51.4%)
SOLUSD34.8% (n=5383; break-even 83.1%)39.6% (n=1370; break-even 65.4%)49.0% (n=353; break-even 56.9%)70.2% (n=48; break-even 52.9%)
UK10043.1% (n=3096; break-even 62.4%)44.3% (n=819; break-even 55.7%)49.5% (n=226; break-even 52.7%)48.4% (n=31; break-even 51.1%)
US3047.2% (n=3882; break-even 52.8%)47.8% (n=961; break-even 51.2%)47.2% (n=287; break-even 50.6%)45.1% (n=51; break-even 50.2%)
US50048.0% (n=3906; break-even 55.3%)49.4% (n=1002; break-even 52.2%)51.4% (n=294; break-even 51.1%)36.7% (n=49; break-even 50.4%)
USDCAD41.2% (n=3958; break-even 62.6%)46.1% (n=1001; break-even 55.8%)53.7% (n=282; break-even 52.8%)51.0% (n=51; break-even 51.2%)
USDCHF41.3% (n=3950; break-even 63.4%)46.8% (n=1022; break-even 56.2%)50.7% (n=270; break-even 52.9%)47.4% (n=58; break-even 51.2%)
USDJPY46.0% (n=3839; break-even 59.1%)47.7% (n=972; break-even 54.2%)50.5% (n=271; break-even 52.0%)45.5% (n=45; break-even 50.8%)
WTI47.3% (n=3874; break-even 56.6%)47.4% (n=1014; break-even 52.9%)49.3% (n=280; break-even 51.5%)54.4% (n=47; break-even 50.6%)
XAGUSD44.7% (n=3758; break-even 58.2%)51.4% (n=927; break-even 53.7%)48.8% (n=259; break-even 51.9%)39.5% (n=43; break-even 50.8%)
XAUUSD48.7% (n=3734; break-even 51.9%)46.6% (n=266; break-even 51.5%)measured up to 2024-10-1657.5% (n=260; break-even 50.5%)65.1% (n=43; break-even 50.2%)

No data: HK50, KOSPI

Swipe sideways to see every timeframe.

In sample: through 2023-12-31
SymbolM15H1H4D1
AUDUSD45.2% (n=1544; break-even 56.9%)48.5% (n=4722; break-even 51.4%)47.4% (n=1215; break-even 50.7%)53.4% (n=223; break-even 50.3%)
AUS20046.9% (n=2319; break-even 56.8%)48.0% (n=1040; break-even 51.9%)46.8% (n=468; break-even 51.1%)43.2% (n=213; break-even 50.6%)
BNB–47.9% (n=2902; break-even 55.0%)54.8% (n=727; break-even 52.4%)53.2% (n=94; break-even 51.0%)
BTCUSD49.1% (n=53; break-even 50.9%)51.3% (n=608; break-even 51.2%)58.5% (n=159; break-even 50.5%)–
ETHUSD46.7% (n=60; break-even 62.2%)48.6% (n=636; break-even 52.4%)51.2% (n=166; break-even 51.0%)–
EURUSD40.5% (n=1499; break-even 58.3%)49.2% (n=4524; break-even 51.6%)48.2% (n=1213; break-even 50.8%)51.9% (n=233; break-even 50.2%)
GBPUSD44.6% (n=1471; break-even 54.7%)49.6% (n=4462; break-even 51.1%)49.4% (n=1261; break-even 50.5%)41.6% (n=226; break-even 50.2%)
GER4049.7% (n=2275; break-even 51.5%)52.1% (n=1473; break-even 50.3%)51.8% (n=623; break-even 50.1%)50.5% (n=281; break-even 50.0%)
JP22550.3% (n=2170; break-even 52.7%)52.5% (n=1029; break-even 50.7%)52.2% (n=391; break-even 50.2%)48.3% (n=201; break-even 50.0%)
NAS10049.1% (n=1759; break-even 52.1%)50.7% (n=2553; break-even 50.1%)54.0% (n=803; break-even 50.1%)53.7% (n=227; break-even 50.0%)
NZDUSD41.3% (n=1500; break-even 61.9%)48.3% (n=4613; break-even 52.8%)48.0% (n=1261; break-even 51.3%)46.6% (n=232; break-even 50.6%)
SOLUSD41.2% (n=51; break-even 50.0%)50.1% (n=659; break-even 50.2%)53.0% (n=168; break-even 50.1%)–
UK10047.3% (n=2332; break-even 53.5%)48.3% (n=1983; break-even 50.5%)51.2% (n=668; break-even 50.2%)47.5% (n=217; break-even 50.1%)
US3046.2% (n=1735; break-even 52.3%)50.4% (n=2529; break-even 50.2%)53.4% (n=805; break-even 50.1%)55.7% (n=228; break-even 50.0%)
US50045.7% (n=1782; break-even 54.8%)50.8% (n=2552; break-even 50.4%)53.7% (n=815; break-even 50.1%)55.8% (n=226; break-even 50.0%)
USDCAD43.8% (n=1551; break-even 56.9%)47.9% (n=4531; break-even 51.2%)49.5% (n=1226; break-even 50.6%)47.9% (n=234; break-even 50.3%)
USDCHF37.8% (n=1509; break-even 62.7%)48.4% (n=4531; break-even 51.9%)51.5% (n=1246; break-even 50.9%)53.8% (n=238; break-even 50.4%)
USDJPY45.3% (n=1503; break-even 57.2%)51.0% (n=4518; break-even 51.9%)51.3% (n=1185; break-even 50.9%)52.7% (n=188; break-even 50.3%)
WTI46.5% (n=1751; break-even 54.0%)51.3% (n=2552; break-even 50.3%)50.6% (n=841; break-even 50.1%)58.4% (n=262; break-even 50.0%)
XAGUSD45.7% (n=1714; break-even 58.1%)44.8% (n=4481; break-even 60.0%)50.8% (n=1275; break-even 55.1%)50.0% (n=240; break-even 52.3%)
XAUUSD48.3% (n=1649; break-even 52.6%)50.6% (n=4521; break-even 51.5%)50.6% (n=1260; break-even 50.8%)55.6% (n=198; break-even 50.3%)

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 · M1526.7%19.9%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H129.0%21.7%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H432.8%23.5%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · D125.0%18.5%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · M1529.6%22.2%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H129.8%23.1%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H432.5%24.8%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · D120.0%14.0%
Out of sample: 2024-01-01 to 2026-11-16 · BNB · H132.3%24.7%
Out of sample: 2024-01-01 to 2026-11-16 · BNB · H431.1%26.2%
Out of sample: 2024-01-01 to 2026-11-16 · BNB · D145.3%42.3%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · M1532.6%24.7%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H134.8%24.9%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H435.0%25.0%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · D133.9%30.4%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · M1532.1%23.7%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H134.2%26.8%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H439.8%30.6%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · D147.1%34.0%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · M1529.4%22.1%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H130.3%22.7%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H431.0%22.9%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · D136.2%25.9%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · M1528.9%21.5%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H129.5%22.9%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H433.8%24.8%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · D122.9%12.5%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · M1534.9%26.7%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H135.4%25.5%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H435.3%27.7%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · D120.6%15.2%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · M1533.7%25.1%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H133.7%25.0%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H430.2%23.3%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · D141.5%37.5%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · M1534.5%26.8%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H135.8%28.1%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H435.9%27.1%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · D129.2%25.5%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · M1524.8%18.3%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H132.5%24.2%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H429.5%18.5%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · D125.4%14.5%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · M1526.2%20.6%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H128.0%21.3%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H431.9%25.4%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · D146.8%34.8%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · M1528.1%21.4%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H128.3%20.7%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H432.1%25.1%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · D135.5%32.3%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · M1532.4%24.9%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · H135.3%27.1%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · H430.1%19.9%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · D129.4%21.6%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · M1532.2%25.1%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · H135.9%27.4%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · H432.4%22.9%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · D126.5%22.4%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · M1526.9%20.7%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H131.8%25.1%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H437.1%28.7%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · D139.2%19.6%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · M1526.9%20.5%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H132.9%25.3%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H432.2%21.6%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · D130.4%21.8%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · M1529.9%22.5%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H130.9%23.9%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H436.5%24.2%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · D131.8%25.0%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · M1531.6%23.3%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · H130.5%23.7%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · H431.1%24.1%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · D137.0%28.3%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · M1530.6%22.9%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H133.8%26.6%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H434.6%27.6%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · D132.6%28.6%
Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · M1533.2%25.5%
Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H132.7%25.2%
Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H442.9%33.3%
Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · D153.5%46.3%
In sample: through 2023-12-31 · AUDUSD · M1529.9%21.7%
In sample: through 2023-12-31 · AUDUSD · H132.1%23.8%
In sample: through 2023-12-31 · AUDUSD · H429.9%22.1%
In sample: through 2023-12-31 · AUDUSD · D136.3%27.5%
In sample: through 2023-12-31 · AUS200 · M1532.9%26.2%
In sample: through 2023-12-31 · AUS200 · H133.5%26.2%
In sample: through 2023-12-31 · AUS200 · H431.6%22.2%
In sample: through 2023-12-31 · AUS200 · D128.6%18.3%
In sample: through 2023-12-31 · BNB · H133.1%24.4%
In sample: through 2023-12-31 · BNB · H437.8%28.2%
In sample: through 2023-12-31 · BNB · D136.2%34.0%
In sample: through 2023-12-31 · BTCUSD · M1532.1%17.0%
In sample: through 2023-12-31 · BTCUSD · H133.0%25.4%
In sample: through 2023-12-31 · BTCUSD · H439.0%31.9%
In sample: through 2023-12-31 · ETHUSD · M1530.0%21.7%
In sample: through 2023-12-31 · ETHUSD · H131.3%21.3%
In sample: through 2023-12-31 · ETHUSD · H431.3%25.9%
In sample: through 2023-12-31 · EURUSD · M1526.7%20.4%
In sample: through 2023-12-31 · EURUSD · H132.7%24.8%
In sample: through 2023-12-31 · EURUSD · H432.7%24.5%
In sample: through 2023-12-31 · EURUSD · D132.6%24.9%
In sample: through 2023-12-31 · GBPUSD · M1529.9%21.0%
In sample: through 2023-12-31 · GBPUSD · H133.0%24.9%
In sample: through 2023-12-31 · GBPUSD · H431.4%23.5%
In sample: through 2023-12-31 · GBPUSD · D126.6%23.0%
In sample: through 2023-12-31 · GER40 · M1533.6%25.1%
In sample: through 2023-12-31 · GER40 · H136.0%27.9%
In sample: through 2023-12-31 · GER40 · H436.4%27.0%
In sample: through 2023-12-31 · GER40 · D136.6%29.2%
In sample: through 2023-12-31 · JP225 · M1535.7%27.9%
In sample: through 2023-12-31 · JP225 · H138.3%29.8%
In sample: through 2023-12-31 · JP225 · H438.6%29.4%
In sample: through 2023-12-31 · JP225 · D134.8%26.9%
In sample: through 2023-12-31 · NAS100 · M1533.1%24.9%
In sample: through 2023-12-31 · NAS100 · H135.6%26.9%
In sample: through 2023-12-31 · NAS100 · H437.1%29.1%
In sample: through 2023-12-31 · NAS100 · D137.0%27.8%
In sample: through 2023-12-31 · NZDUSD · M1525.6%18.5%
In sample: through 2023-12-31 · NZDUSD · H132.2%24.4%
In sample: through 2023-12-31 · NZDUSD · H432.0%23.5%
In sample: through 2023-12-31 · NZDUSD · D130.6%22.8%
In sample: through 2023-12-31 · SOLUSD · M1527.5%19.6%
In sample: through 2023-12-31 · SOLUSD · H134.3%27.5%
In sample: through 2023-12-31 · SOLUSD · H439.3%30.4%
In sample: through 2023-12-31 · UK100 · M1530.9%23.2%
In sample: through 2023-12-31 · UK100 · H132.0%23.7%
In sample: through 2023-12-31 · UK100 · H434.1%23.2%
In sample: through 2023-12-31 · UK100 · D125.4%15.7%
In sample: through 2023-12-31 · US30 · M1530.2%22.4%
In sample: through 2023-12-31 · US30 · H134.0%25.9%
In sample: through 2023-12-31 · US30 · H435.9%27.3%
In sample: through 2023-12-31 · US30 · D136.4%27.6%
In sample: through 2023-12-31 · US500 · M1530.6%23.3%
In sample: through 2023-12-31 · US500 · H133.9%26.0%
In sample: through 2023-12-31 · US500 · H435.7%27.1%
In sample: through 2023-12-31 · US500 · D138.0%31.0%
In sample: through 2023-12-31 · USDCAD · M1528.8%21.4%
In sample: through 2023-12-31 · USDCAD · H131.8%23.5%
In sample: through 2023-12-31 · USDCAD · H432.1%22.9%
In sample: through 2023-12-31 · USDCAD · D129.1%20.1%
In sample: through 2023-12-31 · USDCHF · M1525.2%17.6%
In sample: through 2023-12-31 · USDCHF · H132.3%23.7%
In sample: through 2023-12-31 · USDCHF · H435.3%27.2%
In sample: through 2023-12-31 · USDCHF · D133.6%22.7%
In sample: through 2023-12-31 · USDJPY · M1530.6%22.7%
In sample: through 2023-12-31 · USDJPY · H134.8%26.8%
In sample: through 2023-12-31 · USDJPY · H434.0%26.8%
In sample: through 2023-12-31 · USDJPY · D136.2%26.6%
In sample: through 2023-12-31 · WTI · M1531.4%22.9%
In sample: through 2023-12-31 · WTI · H134.1%27.0%
In sample: through 2023-12-31 · WTI · H434.2%26.3%
In sample: through 2023-12-31 · WTI · D142.8%32.8%
In sample: through 2023-12-31 · XAGUSD · M1530.1%22.5%
In sample: through 2023-12-31 · XAGUSD · H130.5%23.4%
In sample: through 2023-12-31 · XAGUSD · H434.5%27.7%
In sample: through 2023-12-31 · XAGUSD · D136.2%26.7%
In sample: through 2023-12-31 · XAUUSD · M1532.4%23.8%
In sample: through 2023-12-31 · XAUUSD · H134.8%27.0%
In sample: through 2023-12-31 · XAUUSD · H434.4%26.5%
In sample: through 2023-12-31 · XAUUSD · D139.4%31.3%

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 measured rates for each market.

What this version adds

  • Standard Swing Level 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 50% (n=2343)" on XAUUSD H1 buys. 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

Gap Levels

Levels & Structure · Indicator

Marks the gap at the daily session open and tracks it until it is filled. Use it when you trade around the open.

FreeTradingViewMeasured