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.
| Input | Default | Label in MT5 |
|---|---|---|
| Swings | ||
InpLeft | 10 | Bars on the left |
InpRight | 5 | Bars on the right (confirmation delay) |
InpBreak | BREAK_CLOSE | Level is broken by |
| Display | ||
InpColHi | clrSpringGreen | Swing high levels |
InpColLo | clrAqua | Swing low levels |
InpColBrk | clrDimGray | Broken levels |
InpKeep | 10 | Active levels kept (each side) |
InpKeepBrk | 20 | Broken levels kept (0 = delete when broken) |
InpLabels | true | Price labels on active levels |
InpMaxBars | 3000 | Bars to scan |
| Input | Default |
|---|---|
| Swings | |
| Bars on the left | 10 |
| Bars on the right (confirmation delay) | 5 |
| Level is broken by | "Close" |
| Display | |
| Swing high levels | C_GREEN |
| Swing low levels | C_AQUA |
| Broken levels | color.new(C_GRAY, 50) |
| Active levels kept (each side) | 10 |
| Keep broken levels on chart | true |
| Broken levels kept | 20 |
| Price labels on active levels | true |
| Mark swing points | true |
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.
| Symbol | M15 | H1 | H4 | D1 |
|---|---|---|---|---|
| AUDUSD | 40.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%) |
| AUS200 | 42.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%) |
| BTCUSD | 48.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%) |
| ETHUSD | 46.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%) |
| EURUSD | 44.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%) |
| GBPUSD | 43.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%) |
| GER40 | 49.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%) |
| JP225 | 47.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%) |
| NAS100 | 49.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%) |
| NZDUSD | 38.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%) |
| SOLUSD | 34.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%) |
| UK100 | 43.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%) |
| US30 | 47.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%) |
| US500 | 48.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%) |
| USDCAD | 41.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%) |
| USDCHF | 41.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%) |
| USDJPY | 46.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%) |
| WTI | 47.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%) |
| XAGUSD | 44.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%) |
| XAUUSD | 48.7% (n=3734; break-even 51.9%) | 46.6% (n=266; break-even 51.5%)measured up to 2024-10-16 | 57.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.
| Symbol | M15 | H1 | H4 | D1 |
|---|---|---|---|---|
| AUDUSD | 45.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%) |
| AUS200 | 46.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%) |
| BTCUSD | 49.1% (n=53; break-even 50.9%) | 51.3% (n=608; break-even 51.2%) | 58.5% (n=159; break-even 50.5%) | – |
| ETHUSD | 46.7% (n=60; break-even 62.2%) | 48.6% (n=636; break-even 52.4%) | 51.2% (n=166; break-even 51.0%) | – |
| EURUSD | 40.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%) |
| GBPUSD | 44.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%) |
| GER40 | 49.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%) |
| JP225 | 50.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%) |
| NAS100 | 49.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%) |
| NZDUSD | 41.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%) |
| SOLUSD | 41.2% (n=51; break-even 50.0%) | 50.1% (n=659; break-even 50.2%) | 53.0% (n=168; break-even 50.1%) | – |
| UK100 | 47.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%) |
| US30 | 46.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%) |
| US500 | 45.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%) |
| USDCAD | 43.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%) |
| USDCHF | 37.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%) |
| USDJPY | 45.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%) |
| WTI | 46.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%) |
| XAGUSD | 45.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%) |
| XAUUSD | 48.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
| Sample · symbol · timeframe | 1:2 | 1:3 |
|---|---|---|
| Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · M15 | 26.7% | 19.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H1 | 29.0% | 21.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H4 | 32.8% | 23.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · D1 | 25.0% | 18.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · M15 | 29.6% | 22.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H1 | 29.8% | 23.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H4 | 32.5% | 24.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · D1 | 20.0% | 14.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · BNB · H1 | 32.3% | 24.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · BNB · H4 | 31.1% | 26.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · BNB · D1 | 45.3% | 42.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · M15 | 32.6% | 24.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H1 | 34.8% | 24.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H4 | 35.0% | 25.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · D1 | 33.9% | 30.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · M15 | 32.1% | 23.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H1 | 34.2% | 26.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H4 | 39.8% | 30.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · D1 | 47.1% | 34.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · M15 | 29.4% | 22.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H1 | 30.3% | 22.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H4 | 31.0% | 22.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · D1 | 36.2% | 25.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · M15 | 28.9% | 21.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H1 | 29.5% | 22.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H4 | 33.8% | 24.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · D1 | 22.9% | 12.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · M15 | 34.9% | 26.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H1 | 35.4% | 25.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H4 | 35.3% | 27.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · D1 | 20.6% | 15.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · M15 | 33.7% | 25.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H1 | 33.7% | 25.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H4 | 30.2% | 23.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · D1 | 41.5% | 37.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · M15 | 34.5% | 26.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H1 | 35.8% | 28.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H4 | 35.9% | 27.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · D1 | 29.2% | 25.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · M15 | 24.8% | 18.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H1 | 32.5% | 24.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H4 | 29.5% | 18.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · D1 | 25.4% | 14.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · M15 | 26.2% | 20.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H1 | 28.0% | 21.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H4 | 31.9% | 25.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · D1 | 46.8% | 34.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · M15 | 28.1% | 21.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H1 | 28.3% | 20.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H4 | 32.1% | 25.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · D1 | 35.5% | 32.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · M15 | 32.4% | 24.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · H1 | 35.3% | 27.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · H4 | 30.1% | 19.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · D1 | 29.4% | 21.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · M15 | 32.2% | 25.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · H1 | 35.9% | 27.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · H4 | 32.4% | 22.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · D1 | 26.5% | 22.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · M15 | 26.9% | 20.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H1 | 31.8% | 25.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H4 | 37.1% | 28.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · D1 | 39.2% | 19.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · M15 | 26.9% | 20.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H1 | 32.9% | 25.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H4 | 32.2% | 21.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · D1 | 30.4% | 21.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · M15 | 29.9% | 22.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H1 | 30.9% | 23.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H4 | 36.5% | 24.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · D1 | 31.8% | 25.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · M15 | 31.6% | 23.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · H1 | 30.5% | 23.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · H4 | 31.1% | 24.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · D1 | 37.0% | 28.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · M15 | 30.6% | 22.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H1 | 33.8% | 26.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H4 | 34.6% | 27.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · D1 | 32.6% | 28.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · M15 | 33.2% | 25.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H1 | 32.7% | 25.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H4 | 42.9% | 33.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · D1 | 53.5% | 46.3% |
| In sample: through 2023-12-31 · AUDUSD · M15 | 29.9% | 21.7% |
| In sample: through 2023-12-31 · AUDUSD · H1 | 32.1% | 23.8% |
| In sample: through 2023-12-31 · AUDUSD · H4 | 29.9% | 22.1% |
| In sample: through 2023-12-31 · AUDUSD · D1 | 36.3% | 27.5% |
| In sample: through 2023-12-31 · AUS200 · M15 | 32.9% | 26.2% |
| In sample: through 2023-12-31 · AUS200 · H1 | 33.5% | 26.2% |
| In sample: through 2023-12-31 · AUS200 · H4 | 31.6% | 22.2% |
| In sample: through 2023-12-31 · AUS200 · D1 | 28.6% | 18.3% |
| In sample: through 2023-12-31 · BNB · H1 | 33.1% | 24.4% |
| In sample: through 2023-12-31 · BNB · H4 | 37.8% | 28.2% |
| In sample: through 2023-12-31 · BNB · D1 | 36.2% | 34.0% |
| In sample: through 2023-12-31 · BTCUSD · M15 | 32.1% | 17.0% |
| In sample: through 2023-12-31 · BTCUSD · H1 | 33.0% | 25.4% |
| In sample: through 2023-12-31 · BTCUSD · H4 | 39.0% | 31.9% |
| In sample: through 2023-12-31 · ETHUSD · M15 | 30.0% | 21.7% |
| In sample: through 2023-12-31 · ETHUSD · H1 | 31.3% | 21.3% |
| In sample: through 2023-12-31 · ETHUSD · H4 | 31.3% | 25.9% |
| In sample: through 2023-12-31 · EURUSD · M15 | 26.7% | 20.4% |
| In sample: through 2023-12-31 · EURUSD · H1 | 32.7% | 24.8% |
| In sample: through 2023-12-31 · EURUSD · H4 | 32.7% | 24.5% |
| In sample: through 2023-12-31 · EURUSD · D1 | 32.6% | 24.9% |
| In sample: through 2023-12-31 · GBPUSD · M15 | 29.9% | 21.0% |
| In sample: through 2023-12-31 · GBPUSD · H1 | 33.0% | 24.9% |
| In sample: through 2023-12-31 · GBPUSD · H4 | 31.4% | 23.5% |
| In sample: through 2023-12-31 · GBPUSD · D1 | 26.6% | 23.0% |
| In sample: through 2023-12-31 · GER40 · M15 | 33.6% | 25.1% |
| In sample: through 2023-12-31 · GER40 · H1 | 36.0% | 27.9% |
| In sample: through 2023-12-31 · GER40 · H4 | 36.4% | 27.0% |
| In sample: through 2023-12-31 · GER40 · D1 | 36.6% | 29.2% |
| In sample: through 2023-12-31 · JP225 · M15 | 35.7% | 27.9% |
| In sample: through 2023-12-31 · JP225 · H1 | 38.3% | 29.8% |
| In sample: through 2023-12-31 · JP225 · H4 | 38.6% | 29.4% |
| In sample: through 2023-12-31 · JP225 · D1 | 34.8% | 26.9% |
| In sample: through 2023-12-31 · NAS100 · M15 | 33.1% | 24.9% |
| In sample: through 2023-12-31 · NAS100 · H1 | 35.6% | 26.9% |
| In sample: through 2023-12-31 · NAS100 · H4 | 37.1% | 29.1% |
| In sample: through 2023-12-31 · NAS100 · D1 | 37.0% | 27.8% |
| In sample: through 2023-12-31 · NZDUSD · M15 | 25.6% | 18.5% |
| In sample: through 2023-12-31 · NZDUSD · H1 | 32.2% | 24.4% |
| In sample: through 2023-12-31 · NZDUSD · H4 | 32.0% | 23.5% |
| In sample: through 2023-12-31 · NZDUSD · D1 | 30.6% | 22.8% |
| In sample: through 2023-12-31 · SOLUSD · M15 | 27.5% | 19.6% |
| In sample: through 2023-12-31 · SOLUSD · H1 | 34.3% | 27.5% |
| In sample: through 2023-12-31 · SOLUSD · H4 | 39.3% | 30.4% |
| In sample: through 2023-12-31 · UK100 · M15 | 30.9% | 23.2% |
| In sample: through 2023-12-31 · UK100 · H1 | 32.0% | 23.7% |
| In sample: through 2023-12-31 · UK100 · H4 | 34.1% | 23.2% |
| In sample: through 2023-12-31 · UK100 · D1 | 25.4% | 15.7% |
| In sample: through 2023-12-31 · US30 · M15 | 30.2% | 22.4% |
| In sample: through 2023-12-31 · US30 · H1 | 34.0% | 25.9% |
| In sample: through 2023-12-31 · US30 · H4 | 35.9% | 27.3% |
| In sample: through 2023-12-31 · US30 · D1 | 36.4% | 27.6% |
| In sample: through 2023-12-31 · US500 · M15 | 30.6% | 23.3% |
| In sample: through 2023-12-31 · US500 · H1 | 33.9% | 26.0% |
| In sample: through 2023-12-31 · US500 · H4 | 35.7% | 27.1% |
| In sample: through 2023-12-31 · US500 · D1 | 38.0% | 31.0% |
| In sample: through 2023-12-31 · USDCAD · M15 | 28.8% | 21.4% |
| In sample: through 2023-12-31 · USDCAD · H1 | 31.8% | 23.5% |
| In sample: through 2023-12-31 · USDCAD · H4 | 32.1% | 22.9% |
| In sample: through 2023-12-31 · USDCAD · D1 | 29.1% | 20.1% |
| In sample: through 2023-12-31 · USDCHF · M15 | 25.2% | 17.6% |
| In sample: through 2023-12-31 · USDCHF · H1 | 32.3% | 23.7% |
| In sample: through 2023-12-31 · USDCHF · H4 | 35.3% | 27.2% |
| In sample: through 2023-12-31 · USDCHF · D1 | 33.6% | 22.7% |
| In sample: through 2023-12-31 · USDJPY · M15 | 30.6% | 22.7% |
| In sample: through 2023-12-31 · USDJPY · H1 | 34.8% | 26.8% |
| In sample: through 2023-12-31 · USDJPY · H4 | 34.0% | 26.8% |
| In sample: through 2023-12-31 · USDJPY · D1 | 36.2% | 26.6% |
| In sample: through 2023-12-31 · WTI · M15 | 31.4% | 22.9% |
| In sample: through 2023-12-31 · WTI · H1 | 34.1% | 27.0% |
| In sample: through 2023-12-31 · WTI · H4 | 34.2% | 26.3% |
| In sample: through 2023-12-31 · WTI · D1 | 42.8% | 32.8% |
| In sample: through 2023-12-31 · XAGUSD · M15 | 30.1% | 22.5% |
| In sample: through 2023-12-31 · XAGUSD · H1 | 30.5% | 23.4% |
| In sample: through 2023-12-31 · XAGUSD · H4 | 34.5% | 27.7% |
| In sample: through 2023-12-31 · XAGUSD · D1 | 36.2% | 26.7% |
| In sample: through 2023-12-31 · XAUUSD · M15 | 32.4% | 23.8% |
| In sample: through 2023-12-31 · XAUUSD · H1 | 34.8% | 27.0% |
| In sample: through 2023-12-31 · XAUUSD · H4 | 34.4% | 26.5% |
| In sample: through 2023-12-31 · XAUUSD · D1 | 39.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.