ATR Stop Levels

ATR Stop Levels is a free indicator by DinexSpace for MT5 and TradingView. Plots reference stop-loss levels at ATR multiples above and below price.

Download .zipDetailed installation guide35.6 KB · 8 files · no sign-up

What ATR Stop Levels does

ATR Stop Levels is a free indicator by DinexSpace for MT5 and TradingView. Plots reference stop-loss levels at ATR multiples above and below price.

ATR Stop Levels on an XAUUSD H1 chart in MT5
ATR Stop Levels on an XAUUSD H1 chart in MT5

MT5 version

ATR Stop Levels draws price levels a chosen number of ATRs below and above the current price. It shows at a glance where a volatility-based stop would sit for a long or a short position, without measuring by hand.

TradingView version

ATR Stop Levels draws price levels a chosen number of ATRs below and above the current price. It gives a quick picture of where a volatility-based stop would sit for a long or a short position, without any manual measuring.

When to use it

Use it to size stops by volatility instead of a fixed number of pips.

Features and modes

ATR Stop Levels has 8 documented features, listed below.

MT5 version

How it works

  • ATR (Average True Range) measures the typical bar range. You can smooth it with RMA (Wilder's original method), SMA or EMA.
  • Up to three multipliers (1.5, 2 and 3 by default). Each draws a dashed level below price and one above, with a label showing the price and the distance in percent.
  • "Measure from" sets the starting point. With Close, both levels start from the close. With High / Low, the level below starts from the bar high and the level above from the bar low.
  • A panel lists the ATR, the ATR as a percent of price and the size of each multiplier in price and percent.
  • An optional dotted line shows where level 2 was on every past bar. It is a plain distance from price, not a trailing stop.

TradingView version

How it works

  • ATR (Average True Range) measures the typical bar range. You can smooth it with RMA (the classic Wilder method), SMA or EMA.
  • Up to three multipliers (1.5, 2 and 3 by default). Each one draws a dashed level below price and one above, with a label showing the price and the distance in percent.
  • "Measure from" sets where the levels start. With Close, both levels start from the close. With High / Low, the level below starts from the bar high and the level above from the bar low.
  • A table lists the ATR, the ATR as a percent of price, and the size of each multiplier in price and in percent.
  • An optional stepped line shows where level 2 was on every past bar. This is a plain distance from price, not a trailing stop.

Parameters

ATR Stop Levels has 18 inputs in the MT5 version and 15 in the TradingView version; every input and its default is listed below.

MT5 version

  • ATR: length, smoothing, measure from.
  • Multipliers: three levels, each with its own switch.
  • Display: colours, which side to show, line length and extension, labels, level 2 history, panel and its corner.

TradingView version

  • ATR: length, smoothing, measure from.
  • Multipliers: three levels, each with its own switch.
  • Display: colours, which side to show, line length and extension, labels, level 2 history, table and position.
ATR Stop Levels inputs – MT5 version
InputDefaultLabel in MT5
ATR
InpAtrLen14ATR length
InpAtrMaATR_RMASmoothing
InpAnchorANCHOR_CLOSEMeasure from (High/Low: below from high, above from low)
Multipliers
InpUse1trueLevel 1 on
InpM11.5Level 1 x ATR
InpUse2trueLevel 2 on
InpM22.0Level 2 x ATR
InpUse3trueLevel 3 on
InpM33.0Level 3 x ATR
Display
InpColBelowclrAquaLevels below price
InpColAboveclrSpringGreenLevels above price
InpSideSIDE_BOTHShow
InpBack15Line length (bars back)
InpAhead8Line extension (bars ahead)
InpLabelstrueLabels with price
InpHistoryfalsePlot level 2 history (not a trailing stop)
InpPaneltruePanel
InpCornerCORNER_RIGHT_UPPERPanel corner
ATR Stop Levels inputs – TradingView version
InputDefault
ATR
Length14
Smoothing"RMA"
Measure from"Close"
Multipliers
Level 1 × ATR1.5
Level 2 × ATR2.0
Level 3 × ATR3.0
Display
Levels below priceC_AQUA
Levels above priceC_GREEN
Show"Both"
Line length (bars back)15
Line extension (bars ahead)8
Labels with pricetrue
Plot level 2 historyfalse
Tabletrue
Table position"Top right"

Signals

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

Alerts

No. ATR Stop Levels has no built-in alerts.

Buffers for Expert Advisors

Yes. The MT5 version of ATR Stop Levels exposes its plots as indicator buffers that an EA can read with iCustom and CopyBuffer: Level 2 below (history), Level 2 above (history).

Timeframes and markets

ATR Stop 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

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

MT5 version

  • The levels move with every new bar and every tick on the current bar. They are a reference for sizing a stop, not orders.
  • ATR describes past ranges only. A gap or a news spike can move price well past any level.

The indicator only draws levels. It does not trade, give signals or use DLLs or web requests.

TradingView version

  • The levels move with every new bar and with every tick on the current bar. They are a reference for sizing a stop, not fixed orders.
  • ATR describes past ranges only. A gap or a news spike can move price well past any level.
  • The script 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.

atr_stop_levels.pine · 129 lines
//@version=6
// DinexSpace | ATR Stop Levels
// Draws price levels at a chosen number of ATRs below and above the current price, for up to three
// multipliers, so you can see how far a volatility-based stop would sit for a long or a short position.
// A table lists the ATR, the ATR as a percent of price and the distance to each level.
// It only draws levels; it does not tell you when to buy or sell.
// Free and open source. License: MIT. (c) 2026 DinexSpace
indicator("DinexSpace | ATR Stop Levels", shorttitle = "DNX ATR Stops", overlay = true, max_lines_count = 50, max_labels_count = 50)

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

// ===== Inputs: ATR =====
GRP_A   = "ATR"
atrLen  = input.int(14, "Length", minval = 1, maxval = 500, group = GRP_A)
atrMa   = input.string("RMA", "Smoothing", options = ["RMA", "SMA", "EMA"], group = GRP_A)
anchor  = input.string("Close", "Measure from", options = ["Close", "High / Low"], tooltip = "Close: both levels start from the close.\nHigh / Low: the level below starts from the bar high, the level above from the bar low.", group = GRP_A)

// ===== Inputs: multipliers =====
GRP_M   = "Multipliers"
use1    = input.bool(true, "", inline = "m1", group = GRP_M)
m1      = input.float(1.5, "Level 1 × ATR", minval = 0.1, step = 0.1, inline = "m1", group = GRP_M)
use2    = input.bool(true, "", inline = "m2", group = GRP_M)
m2      = input.float(2.0, "Level 2 × ATR", minval = 0.1, step = 0.1, inline = "m2", group = GRP_M)
use3    = input.bool(true, "", inline = "m3", group = GRP_M)
m3      = input.float(3.0, "Level 3 × ATR", minval = 0.1, step = 0.1, inline = "m3", group = GRP_M)

// ===== Inputs: display =====
GRP_D    = "Display"
colBelow = input.color(C_AQUA, "Levels below price", group = GRP_D)
colAbove = input.color(C_GREEN, "Levels above price", group = GRP_D)
showSide = input.string("Both", "Show", options = ["Both", "Below only", "Above only"], group = GRP_D)
lineLen  = input.int(15, "Line length (bars back)", minval = 1, maxval = 200, group = GRP_D)
lineExt  = input.int(8, "Line extension (bars ahead)", minval = 0, maxval = 100, group = GRP_D)
showLbl  = input.bool(true, "Labels with price", group = GRP_D)
showHist = input.bool(false, "Plot level 2 history", tooltip = "Draws where level 2 was on every past bar (not a trailing stop).", group = GRP_D)
showTbl  = input.bool(true, "Table", group = GRP_D)
tblPos   = input.string("Top right", "Table position", options = ["Top right", "Top left", "Bottom right", "Bottom left"], group = GRP_D)

// ===== ATR and levels =====
// All three averages are computed on every bar (not inside the switch) so their history stays consistent.
float tr     = ta.tr(true)
float atrSma = ta.sma(tr, atrLen)
float atrEma = ta.ema(tr, atrLen)
float atrRma = ta.rma(tr, atrLen)
float atr = switch atrMa
    "SMA" => atrSma
    "EMA" => atrEma
    => atrRma

float baseBelow = anchor == "Close" ? close : high
float baseAbove = anchor == "Close" ? close : low
bool  wantBelow = showSide != "Above only"
bool  wantAbove = showSide != "Below only"

below(float m) => baseBelow - m * atr
above(float m) => baseAbove + m * atr

plot(showHist and wantBelow ? below(m2) : na, "Level 2 below (history)", color = color.new(colBelow, 40), style = plot.style_stepline)
plot(showHist and wantAbove ? above(m2) : na, "Level 2 above (history)", color = color.new(colAbove, 40), style = plot.style_stepline)

// ===== Lines and labels on the last bar =====
var array<line>  lines  = array.new<line>()
var array<label> labels = array.new<label>()

drawLevel(float y, float m, color col, bool isBelow) =>
    int x1 = bar_index - lineLen
    int x2 = bar_index + lineExt
    lines.push(line.new(x1, y, x2, y, color = col, width = 1, style = line.style_dashed))
    if showLbl
        float pct = (y / close - 1) * 100
        string txt = (isBelow ? "−" : "+") + str.tostring(m, "#.##") + " ATR  " + str.tostring(y, format.mintick) + "  (" + str.tostring(pct, "+0.00;-0.00") + "%)"
        labels.push(label.new(x2, y, txt, color = color(na), textcolor = col, style = label.style_label_left, size = size.small))

if barstate.islast and not na(atr)
    for ln in lines
        ln.delete()
    for lb in labels
        lb.delete()
    lines.clear()
    labels.clear()
    if use1
        if wantBelow
            drawLevel(below(m1), m1, colBelow, true)
        if wantAbove
            drawLevel(above(m1), m1, colAbove, false)
    if use2
        if wantBelow
            drawLevel(below(m2), m2, colBelow, true)
        if wantAbove
            drawLevel(above(m2), m2, colAbove, false)
    if use3
        if wantBelow
            drawLevel(below(m3), m3, colBelow, true)
        if wantAbove
            drawLevel(above(m3), m3, colAbove, false)

// ===== Table =====
tPos = switch tblPos
    "Top left"     => position.top_left
    "Bottom right" => position.bottom_right
    "Bottom left"  => position.bottom_left
    => position.top_right

var table tbl = table.new(tPos, 3, 7, bgcolor = color.new(color.black, 10), border_color = color.new(color.gray, 70), border_width = 1)

rowM(int r, bool show, float m) =>
    string name = show ? str.tostring(m, "#.##") + " × ATR" : ""
    string dist = show ? str.tostring(m * atr, format.mintick) : ""
    string pct  = show ? str.tostring(m * atr / close * 100, "0.00") + "%" : ""
    table.cell(tbl, 0, r, name, text_color = color.white, text_size = size.small, text_halign = text.align_left)
    table.cell(tbl, 1, r, dist, text_color = color.white, text_size = size.small, text_halign = text.align_right)
    table.cell(tbl, 2, r, pct, text_color = C_AMBER, text_size = size.small, text_halign = text.align_right)

if showTbl and barstate.islast
    table.cell(tbl, 0, 0, "ATR(" + str.tostring(atrLen) + ") " + atrMa, text_color = color.gray, text_size = size.small, text_halign = text.align_left)
    table.cell(tbl, 1, 0, na(atr) ? "-" : str.tostring(atr, format.mintick), text_color = color.white, text_size = size.small, text_halign = text.align_right)
    table.cell(tbl, 2, 0, na(atr) ? "-" : str.tostring(atr / close * 100, "0.00") + "%", text_color = C_AMBER, text_size = size.small, text_halign = text.align_right)
    table.cell(tbl, 0, 1, "Distance", text_color = color.gray, text_size = size.small, text_halign = text.align_left)
    table.cell(tbl, 1, 1, "Price", text_color = color.gray, text_size = size.small, text_halign = text.align_right)
    table.cell(tbl, 2, 1, "% of price", text_color = color.gray, text_size = size.small, text_halign = text.align_right)
    rowM(2, use1, m1)
    rowM(3, use2, m2)
    rowM(4, use3, m3)
    table.cell(tbl, 0, 5, "From: " + anchor, text_color = color.gray, text_size = size.tiny, text_halign = text.align_left)
    table.cell(tbl, 0, 6, "DinexSpace", text_color = C_GREEN, text_size = size.tiny, text_halign = text.align_left)

ATR Stop Levels FAQ

ATR Stop Levels is free, runs on MT5 and TradingView and does not place trades.

Is ATR Stop Levels free?

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

Which platforms does ATR Stop Levels run on?

ATR Stop Levels is available for MetaTrader 5 (MQL5) and TradingView (Pine Script v6).

Does ATR Stop Levels give buy and sell signals?

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

Does ATR Stop Levels have alerts?

No. ATR Stop Levels has no built-in alerts.

Can an EA read ATR Stop Levels?

Yes. The MT5 version of ATR Stop Levels exposes its plots as indicator buffers that an EA can read with iCustom and CopyBuffer: Level 2 below (history), Level 2 above (history).

Which timeframes does ATR Stop Levels work on?

ATR Stop 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 ATR Stop 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 ATR Stop 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: 3 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
AUDUSD41.2% (n=979; break-even 60.8%)41.9% (n=277; break-even 54.9%)54.4% (n=68; break-even 52.4%)–
AUS20044.3% (n=549; break-even 63.4%)44.5% (n=221; break-even 56.0%)43.0% (n=100; break-even 53.7%)–
BNB–52.7% (n=387; break-even 57.1%)49.5% (n=104; break-even 53.4%)–
BTCUSD53.4% (n=1818; break-even 53.7%)56.4% (n=543; break-even 51.6%)55.6% (n=151; break-even 50.7%)–
ETHUSD49.5% (n=1742; break-even 56.7%)56.4% (n=516; break-even 53.1%)59.1% (n=132; break-even 51.5%)–
EURUSD42.8% (n=1109; break-even 57.5%)44.2% (n=330; break-even 53.4%)48.9% (n=88; break-even 51.7%)–
GBPUSD42.7% (n=1090; break-even 58.0%)46.4% (n=331; break-even 53.5%)46.2% (n=91; break-even 51.7%)–
GER4050.0% (n=1060; break-even 53.8%)51.3% (n=265; break-even 51.6%)46.7% (n=60; break-even 50.8%)–
JP22545.5% (n=1170; break-even 56.9%)51.9% (n=333; break-even 53.2%)51.2% (n=80; break-even 51.4%)–
NAS10049.1% (n=1465; break-even 51.9%)50.2% (n=480; break-even 50.8%)54.5% (n=132; break-even 50.4%)–
NZDUSD36.1% (n=909; break-even 65.6%)40.2% (n=241; break-even 56.5%)43.8% (n=64; break-even 53.4%)–
SOLUSD32.9% (n=1336; break-even 89.0%)41.0% (n=412; break-even 65.9%)53.4% (n=88; break-even 56.5%)–
UK10042.0% (n=1099; break-even 62.7%)49.3% (n=219; break-even 55.1%)42.0% (n=50; break-even 52.4%)–
US3046.1% (n=1650; break-even 52.6%)51.9% (n=514; break-even 51.1%)52.2% (n=138; break-even 50.6%)–
US50047.0% (n=1467; break-even 55.0%)48.4% (n=438; break-even 52.1%)44.0% (n=125; break-even 51.1%)–
USDCAD41.6% (n=1078; break-even 61.7%)47.0% (n=332; break-even 55.3%)55.4% (n=83; break-even 52.5%)–
USDCHF40.1% (n=1076; break-even 63.8%)45.3% (n=296; break-even 55.6%)49.4% (n=83; break-even 52.7%)–
USDJPY44.3% (n=1136; break-even 58.8%)50.5% (n=297; break-even 53.8%)44.0% (n=76; break-even 51.9%)–
WTI46.5% (n=1414; break-even 56.4%)50.0% (n=384; break-even 52.7%)51.0% (n=104; break-even 51.4%)–
XAGUSD45.9% (n=1269; break-even 57.4%)48.5% (n=365; break-even 53.4%)56.3% (n=103; break-even 51.8%)–
XAUUSD52.5% (n=1097; break-even 51.7%)40.4% (n=104; break-even 51.4%)measured up to 2024-10-1648.9% (n=93; break-even 50.5%)–

No data: HK50, KOSPI

Swipe sideways to see every timeframe.

In sample: through 2023-12-31
SymbolM15H1H4D1
AUDUSD46.1% (n=397; break-even 56.1%)50.7% (n=1236; break-even 51.3%)51.1% (n=276; break-even 50.6%)–
AUS20047.1% (n=1456; break-even 56.4%)48.5% (n=779; break-even 52.2%)49.2% (n=260; break-even 51.6%)57.1% (n=56; break-even 50.9%)
BNB–49.4% (n=848; break-even 54.7%)55.7% (n=221; break-even 52.4%)48.4% (n=31; break-even 50.9%)
BTCUSD–53.2% (n=282; break-even 51.0%)56.0% (n=84; break-even 50.5%)–
ETHUSD–52.4% (n=271; break-even 52.0%)54.4% (n=68; break-even 51.0%)–
EURUSD44.6% (n=473; break-even 58.2%)52.8% (n=1742; break-even 51.4%)48.1% (n=426; break-even 50.8%)61.0% (n=41; break-even 50.1%)
GBPUSD44.9% (n=461; break-even 54.6%)49.4% (n=1754; break-even 51.0%)50.1% (n=437; break-even 50.5%)60.4% (n=48; break-even 50.2%)
GER4047.1% (n=896; break-even 51.5%)51.9% (n=470; break-even 50.3%)53.3% (n=150; break-even 50.1%)50.8% (n=61; break-even 50.0%)
JP22551.7% (n=1504; break-even 51.5%)52.1% (n=852; break-even 50.4%)53.0% (n=287; break-even 50.1%)51.1% (n=92; break-even 50.0%)
NAS10049.6% (n=706; break-even 51.9%)52.4% (n=1186; break-even 50.2%)57.8% (n=322; break-even 50.1%)52.2% (n=69; break-even 50.0%)
NZDUSD39.8% (n=349; break-even 61.0%)47.4% (n=1166; break-even 52.5%)48.6% (n=278; break-even 51.4%)–
SOLUSD–58.6% (n=210; break-even 50.9%)54.1% (n=61; break-even 50.1%)–
UK10046.2% (n=819; break-even 53.5%)49.3% (n=679; break-even 50.6%)48.3% (n=172; break-even 50.2%)37.2% (n=51; break-even 50.0%)
US3047.9% (n=701; break-even 52.3%)50.6% (n=1077; break-even 50.2%)56.5% (n=294; break-even 50.1%)56.8% (n=74; break-even 50.0%)
US50046.1% (n=672; break-even 54.6%)50.3% (n=1049; break-even 50.4%)55.7% (n=298; break-even 50.2%)44.1% (n=68; break-even 50.0%)
USDCAD43.2% (n=382; break-even 56.8%)50.0% (n=1489; break-even 51.0%)53.2% (n=417; break-even 50.5%)63.4% (n=41; break-even 50.2%)
USDCHF39.6% (n=517; break-even 63.7%)50.2% (n=1690; break-even 51.7%)53.0% (n=385; break-even 50.9%)51.5% (n=33; break-even 50.3%)
USDJPY48.1% (n=418; break-even 56.1%)50.2% (n=1436; break-even 51.7%)60.9% (n=366; break-even 50.9%)46.8% (n=62; break-even 50.3%)
WTI45.5% (n=635; break-even 54.2%)52.0% (n=1025; break-even 50.3%)49.3% (n=286; break-even 50.1%)63.8% (n=47; break-even 50.0%)
XAGUSD49.5% (n=600; break-even 58.0%)48.3% (n=1740; break-even 59.1%)51.0% (n=502; break-even 54.6%)56.7% (n=67; break-even 52.0%)
XAUUSD51.2% (n=535; break-even 52.3%)52.4% (n=1808; break-even 51.4%)53.5% (n=555; break-even 50.7%)67.2% (n=64; 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.8%19.0%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H127.8%21.4%
Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H435.3%26.5%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · M1527.7%19.9%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H132.3%25.4%
Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H429.0%23.2%
Out of sample: 2024-01-01 to 2026-11-16 · BNB · H134.5%24.9%
Out of sample: 2024-01-01 to 2026-11-16 · BNB · H429.1%25.5%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · M1537.0%29.0%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H139.6%31.1%
Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H441.1%31.8%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · M1534.7%26.5%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H139.3%30.4%
Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H442.4%33.3%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · M1530.4%23.2%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H130.1%22.3%
Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H431.8%27.3%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · M1529.4%22.5%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H130.0%22.4%
Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H431.9%24.2%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · M1534.9%26.8%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H133.6%23.0%
Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H430.0%23.3%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · M1531.0%23.3%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H136.0%27.6%
Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H436.2%25.0%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · M1534.0%26.0%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H134.0%27.3%
Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H441.2%29.8%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · M1524.8%18.1%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H127.4%19.9%
Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H428.1%20.3%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · M1525.7%20.9%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H129.6%23.1%
Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H439.8%28.4%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · M1527.9%21.5%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H129.7%25.1%
Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H440.0%26.0%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · M1531.7%23.9%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · H137.0%27.2%
Out of sample: 2024-01-01 to 2026-11-16 · US30 · H434.8%24.1%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · M1531.7%24.7%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · H133.8%25.8%
Out of sample: 2024-01-01 to 2026-11-16 · US500 · H428.8%19.2%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · M1528.4%20.9%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H129.2%22.4%
Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H438.6%24.4%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · M1527.0%19.7%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H131.4%26.1%
Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H433.7%30.1%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · M1530.1%23.1%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H132.3%22.2%
Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H432.0%22.7%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · M1530.6%23.0%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · H132.8%25.3%
Out of sample: 2024-01-01 to 2026-11-16 · WTI · H423.3%20.6%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · M1531.3%22.7%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H132.1%24.2%
Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H434.0%26.2%
Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · M1533.8%25.5%
Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H125.0%19.2%
Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H434.8%25.0%
In sample: through 2023-12-31 · AUDUSD · M1531.7%24.2%
In sample: through 2023-12-31 · AUDUSD · H134.5%27.3%
In sample: through 2023-12-31 · AUDUSD · H433.7%23.9%
In sample: through 2023-12-31 · AUS200 · M1532.2%24.6%
In sample: through 2023-12-31 · AUS200 · H134.4%24.9%
In sample: through 2023-12-31 · AUS200 · H432.7%24.2%
In sample: through 2023-12-31 · AUS200 · D142.9%30.4%
In sample: through 2023-12-31 · BNB · H136.6%28.1%
In sample: through 2023-12-31 · BNB · H440.3%29.5%
In sample: through 2023-12-31 · BNB · D125.8%25.8%
In sample: through 2023-12-31 · BTCUSD · H135.9%27.6%
In sample: through 2023-12-31 · BTCUSD · H445.2%37.4%
In sample: through 2023-12-31 · ETHUSD · H134.7%26.8%
In sample: through 2023-12-31 · ETHUSD · H438.2%25.8%
In sample: through 2023-12-31 · EURUSD · M1529.2%22.0%
In sample: through 2023-12-31 · EURUSD · H135.5%26.9%
In sample: through 2023-12-31 · EURUSD · H432.2%25.4%
In sample: through 2023-12-31 · EURUSD · D143.9%31.7%
In sample: through 2023-12-31 · GBPUSD · M1529.7%21.1%
In sample: through 2023-12-31 · GBPUSD · H133.8%26.0%
In sample: through 2023-12-31 · GBPUSD · H432.7%26.8%
In sample: through 2023-12-31 · GBPUSD · D143.8%31.2%
In sample: through 2023-12-31 · GER40 · M1532.1%23.6%
In sample: through 2023-12-31 · GER40 · H134.3%26.4%
In sample: through 2023-12-31 · GER40 · H437.3%26.0%
In sample: through 2023-12-31 · GER40 · D132.8%16.4%
In sample: through 2023-12-31 · JP225 · M1537.2%29.0%
In sample: through 2023-12-31 · JP225 · H139.2%29.8%
In sample: through 2023-12-31 · JP225 · H441.8%31.7%
In sample: through 2023-12-31 · JP225 · D134.8%31.5%
In sample: through 2023-12-31 · NAS100 · M1533.9%24.4%
In sample: through 2023-12-31 · NAS100 · H135.7%27.9%
In sample: through 2023-12-31 · NAS100 · H436.0%30.1%
In sample: through 2023-12-31 · NAS100 · D131.9%24.6%
In sample: through 2023-12-31 · NZDUSD · M1525.5%19.8%
In sample: through 2023-12-31 · NZDUSD · H131.7%22.9%
In sample: through 2023-12-31 · NZDUSD · H432.7%23.7%
In sample: through 2023-12-31 · SOLUSD · H140.0%32.4%
In sample: through 2023-12-31 · SOLUSD · H449.2%41.0%
In sample: through 2023-12-31 · UK100 · M1530.6%23.9%
In sample: through 2023-12-31 · UK100 · H132.1%23.4%
In sample: through 2023-12-31 · UK100 · H429.6%21.5%
In sample: through 2023-12-31 · UK100 · D123.5%13.7%
In sample: through 2023-12-31 · US30 · M1532.8%24.1%
In sample: through 2023-12-31 · US30 · H134.6%25.8%
In sample: through 2023-12-31 · US30 · H440.8%31.7%
In sample: through 2023-12-31 · US30 · D135.1%27.0%
In sample: through 2023-12-31 · US500 · M1531.7%23.3%
In sample: through 2023-12-31 · US500 · H132.7%25.2%
In sample: through 2023-12-31 · US500 · H437.9%29.9%
In sample: through 2023-12-31 · US500 · D123.5%17.6%
In sample: through 2023-12-31 · USDCAD · M1530.1%22.5%
In sample: through 2023-12-31 · USDCAD · H133.5%24.7%
In sample: through 2023-12-31 · USDCAD · H435.7%28.1%
In sample: through 2023-12-31 · USDCAD · D141.5%31.7%
In sample: through 2023-12-31 · USDCHF · M1527.5%21.1%
In sample: through 2023-12-31 · USDCHF · H133.9%23.9%
In sample: through 2023-12-31 · USDCHF · H437.9%28.6%
In sample: through 2023-12-31 · USDCHF · D136.4%30.3%
In sample: through 2023-12-31 · USDJPY · M1534.7%23.4%
In sample: through 2023-12-31 · USDJPY · H135.1%26.2%
In sample: through 2023-12-31 · USDJPY · H441.8%30.9%
In sample: through 2023-12-31 · USDJPY · D124.2%22.6%
In sample: through 2023-12-31 · WTI · M1530.2%22.1%
In sample: through 2023-12-31 · WTI · H134.7%26.5%
In sample: through 2023-12-31 · WTI · H432.9%24.6%
In sample: through 2023-12-31 · WTI · D148.9%31.9%
In sample: through 2023-12-31 · XAGUSD · M1534.3%25.9%
In sample: through 2023-12-31 · XAGUSD · H133.6%25.9%
In sample: through 2023-12-31 · XAGUSD · H434.9%26.7%
In sample: through 2023-12-31 · XAGUSD · D140.3%28.4%
In sample: through 2023-12-31 · XAUUSD · M1534.9%25.6%
In sample: through 2023-12-31 · XAUUSD · H135.6%27.7%
In sample: through 2023-12-31 · XAUUSD · H437.8%28.6%
In sample: through 2023-12-31 · XAUUSD · D142.2%25.0%

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 ATR Stop 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 53% (n=900)" 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.

More in this category

All Risk Management indicators

Correlation Matrix

Risk Management · Indicator

A table of correlation coefficients between the symbols you choose. Use it to avoid stacking positions that are really the same bet.

FreeMT5TradingViewMeasured

Drawdown Monitor

Risk Management · Indicator

Tracks drawdown from the peak: price drawdown on TradingView, account drawdown on MT5. Use it to know when to cut your position size.

FreeMT5TradingViewFilter tool

Lot Size Script

Risk Management · MT5 Script

An MT5 script that calculates lot size from your risk percentage and stop distance. Use it before every trade so you never risk more than you planned.

FreeMT5Uses SuperTrend

Risk-to-Lot Calculator

Risk Management · Indicator

Works out position size from the amount you are willing to lose and your stop-loss level. The MT5 version reads the symbol's real contract specifications and never places an order.

FreeMT5TradingViewUses SuperTrend