What MA Distance ATR does
MA Distance ATR is a free indicator by DinexSpace for MT5. The distance from price to a moving average, measured in ATR units.
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.
DinexSpace MA Distance ATR is an indicator for MetaTrader 5 that shows how far the close is from a moving average, measured in ATR units. The scale reads the same on quiet and fast symbols.
For each bar it computes (Close - MA) / ATR with the standard iMA and iATR of the chart. A value of 2 means the close is two average true ranges above the moving average.
When to use it
Use it to compare how stretched different symbols are.
Features and modes
MA Distance ATR has 3 documented features: Distance in ATR units; Zone colours; Choice of moving average.
Key Features
- Distance in ATR units
- One colour histogram around zero, with reference levels at plus and minus the inner and outer levels.
- Zone colours
- Four colours: at or above the outer level, between zero and the outer level, between zero and minus the outer level, and at or below minus the outer level.
- Choice of moving average
- SMA, EMA, SMMA or LWMA of the close.
How to Use
- Attach the indicator to a chart of the symbol you want to analyse.
- Set the MA and ATR periods for your timeframe.
- Read how many ATR the close sits from the average, and whether it is inside or beyond the outer level, on closed bars.
- Save the settings as a template if you use them on several charts.
Parameters
MA Distance ATR has 6 inputs; every input and its default is listed below.
- MA period (default 20) and method (default EMA)
- ATR period (default 14)
- Inner level in ATR (default 1.0), drawn as a reference line
- Outer level in ATR (default 2.0), which also sets the strong colour
- Alert when a closed bar moves beyond the outer level (default off)
| Input | Default | Label in MT5 |
|---|---|---|
InpMAPeriod | 20 | MA period |
InpMAMethod | MODE_EMA | MA method |
InpATRPeriod | 14 | ATR period |
InpInner | 1.0 | Inner level (ATR) |
InpOuter | 2.0 | Outer level (ATR), strong colour beyond it |
InpAlerts | false | Alert when a closed bar moves beyond the outer level |
Signals
MA Distance ATR does not generate buy or sell signals. It is an analysis tool: you read what it plots and make your own decisions.
Alerts
Yes. MA Distance ATR has built-in alerts: MT5 – pop-up.
- Optional alert
- One alert per closed bar that moves beyond the outer level, above or below, with symbol, timeframe and distance.
Buffers for Expert Advisors
Yes. The MT5 version of MA Distance ATR exposes its plots as indicator buffers that an EA can read with iCustom and CopyBuffer: MA distance (ATR).
- Buffers for Expert Advisors
- Buffer 0 holds the distance in ATR and buffer 1 the colour index (0 to 3 in the order above), readable with iCustom and CopyBuffer.
Timeframes and markets
MA Distance ATR 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
MA Distance ATR is an analysis tool, not a trading system. Its documented limitations are listed below.
- It does not open, close or modify any trade; it only reads and displays market data.
- Values of closed bars do not change. The bar that is still forming updates with every tick until it closes. The alert uses the last closed bar only.
- The inner level is a reference line; only the outer level changes the colour.
- In a strong trend price can stay beyond the outer level for a long time, and a sudden rise in ATR shrinks the value even when price has not moved back to the MA.
- While the MA or ATR data is still loading, the indicator waits and fills in on a later tick.
A distance-from-average view in ATR units with readable buffers.
MA Distance ATR FAQ
MA Distance ATR is free, runs on MT5 and does not place trades.
Is MA Distance ATR free?
Yes. MA Distance ATR is free to download from this page with no sign-up, and the download includes the full source code.
Which platforms does MA Distance ATR run on?
MA Distance ATR is available for MetaTrader 5 (MQL5).
Does MA Distance ATR give buy and sell signals?
MA Distance ATR does not generate buy or sell signals. It is an analysis tool: you read what it plots and make your own decisions.
Does MA Distance ATR have alerts?
Yes. MA Distance ATR has built-in alerts: MT5 – pop-up.
Can an EA read MA Distance ATR?
Yes. The MT5 version of MA Distance ATR exposes its plots as indicator buffers that an EA can read with iCustom and CopyBuffer: MA distance (ATR).
Which timeframes does MA Distance ATR work on?
MA Distance ATR 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 MA Distance ATR 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 MA Distance ATR?
Download the .zip and follow the step-by-step installation guide for MT5: https://indicators.dinexspace.com/install-guide/
Measured win rates (backtest)
Measured (signal-by-signal check against MT5: in progress)
Out of sample on H1: 1 of 21 symbols above break-even after costs.
Swipe sideways to see every timeframe.
| Symbol | M15 | H1 | H4 | D1 |
|---|---|---|---|---|
| AUDUSD | 47.0% (n=2374; break-even 60.6%) | 47.0% (n=600; break-even 55.1%) | 50.0% (n=136; break-even 52.5%) | – |
| AUS200 | 48.1% (n=603; break-even 63.9%) | 50.7% (n=148; break-even 56.2%) | 49.3% (n=75; break-even 53.9%) | – |
| BNB | – | 48.9% (n=687; break-even 57.0%) | 52.1% (n=163; break-even 53.2%) | – |
| BTCUSD | 46.5% (n=3408; break-even 53.5%) | 48.0% (n=818; break-even 51.6%) | 49.3% (n=210; break-even 50.7%) | – |
| ETHUSD | 47.2% (n=3191; break-even 56.7%) | 48.4% (n=783; break-even 53.1%) | 48.4% (n=183; break-even 51.4%) | – |
| EURUSD | 48.2% (n=2552; break-even 57.4%) | 49.4% (n=680; break-even 53.5%) | 51.3% (n=148; break-even 51.9%) | – |
| GBPUSD | 47.9% (n=2415; break-even 57.7%) | 47.4% (n=703; break-even 53.6%) | 44.6% (n=159; break-even 51.8%) | 50.0% (n=30; break-even 50.8%) |
| GER40 | 44.2% (n=2077; break-even 53.4%) | 45.2% (n=584; break-even 51.6%) | 57.3% (n=103; break-even 50.8%) | – |
| JP225 | 46.7% (n=2179; break-even 57.0%) | 48.1% (n=501; break-even 53.3%) | 50.4% (n=117; break-even 51.5%) | 39.4% (n=34; break-even 50.7%) |
| NAS100 | 47.8% (n=2696; break-even 51.9%) | 49.8% (n=715; break-even 50.8%) | 48.9% (n=176; break-even 50.4%) | – |
| NZDUSD | 44.3% (n=2442; break-even 65.0%) | 43.2% (n=579; break-even 57.0%) | 48.9% (n=139; break-even 53.5%) | – |
| SOLUSD | 35.4% (n=3171; break-even 77.0%) | 40.4% (n=775; break-even 61.5%) | 46.4% (n=167; break-even 56.2%) | – |
| UK100 | 46.0% (n=2023; break-even 61.3%) | 49.6% (n=486; break-even 55.4%) | 54.6% (n=97; break-even 52.7%) | – |
| US30 | 46.2% (n=2701; break-even 52.7%) | 51.3% (n=749; break-even 51.1%) | 50.9% (n=163; break-even 50.6%) | – |
| US500 | 46.9% (n=2575; break-even 55.1%) | 50.1% (n=676; break-even 52.1%) | 48.8% (n=162; break-even 51.1%) | – |
| USDCAD | 44.7% (n=2569; break-even 61.8%) | 46.0% (n=656; break-even 55.6%) | 37.6% (n=165; break-even 52.8%) | – |
| USDCHF | 43.3% (n=2425; break-even 62.6%) | 43.8% (n=648; break-even 55.6%) | 48.9% (n=142; break-even 52.8%) | 38.7% (n=31; break-even 51.1%) |
| USDJPY | 46.7% (n=2411; break-even 58.0%) | 47.9% (n=572; break-even 53.7%) | 49.0% (n=148; break-even 51.8%) | – |
| WTI | 45.9% (n=2783; break-even 56.3%) | 49.6% (n=795; break-even 53.0%) | 43.0% (n=156; break-even 51.4%) | – |
| XAGUSD | 46.3% (n=2296; break-even 57.5%) | 47.2% (n=622; break-even 53.5%) | 49.1% (n=167; break-even 51.7%) | 41.2% (n=34; break-even 50.8%) |
| XAUUSD | 47.9% (n=2400; break-even 51.8%) | 50.3% (n=179; break-even 51.3%)measured up to 2024-10-16 | 46.5% (n=160; break-even 50.4%) | 40.0% (n=35; break-even 50.2%) |
No data: HK50, KOSPI
Swipe sideways to see every timeframe.
| Symbol | M15 | H1 | H4 | D1 |
|---|---|---|---|---|
| AUDUSD | 48.1% (n=925; break-even 56.6%) | 48.0% (n=2713; break-even 51.3%) | 50.5% (n=622; break-even 50.7%) | 43.9% (n=130; break-even 50.3%) |
| AUS200 | 46.9% (n=1465; break-even 57.0%) | 51.9% (n=497; break-even 51.8%) | 47.4% (n=230; break-even 51.4%) | 47.8% (n=111; break-even 50.8%) |
| BNB | – | 45.1% (n=1537; break-even 54.2%) | 48.8% (n=365; break-even 52.2%) | 41.7% (n=48; break-even 51.0%) |
| BTCUSD | 50.0% (n=32; break-even 50.8%) | 45.4% (n=339; break-even 51.3%) | 52.3% (n=88; break-even 50.4%) | – |
| ETHUSD | – | 44.4% (n=354; break-even 52.4%) | 50.0% (n=74; break-even 51.0%) | – |
| EURUSD | 47.0% (n=951; break-even 58.0%) | 47.9% (n=3264; break-even 51.5%) | 48.6% (n=665; break-even 50.7%) | 49.1% (n=114; break-even 50.2%) |
| GBPUSD | 50.2% (n=922; break-even 54.6%) | 49.6% (n=3235; break-even 51.0%) | 50.3% (n=650; break-even 50.5%) | 53.9% (n=89; break-even 50.2%) |
| GER40 | 46.9% (n=1732; break-even 51.4%) | 46.6% (n=933; break-even 50.3%) | 49.6% (n=286; break-even 50.1%) | 47.8% (n=180; break-even 50.0%) |
| JP225 | 48.6% (n=1424; break-even 53.0%) | 48.7% (n=579; break-even 50.8%) | 50.5% (n=190; break-even 50.3%) | 51.4% (n=142; break-even 50.1%) |
| NAS100 | 47.8% (n=1267; break-even 52.0%) | 48.9% (n=1750; break-even 50.2%) | 47.8% (n=460; break-even 50.1%) | 48.4% (n=190; break-even 50.0%) |
| NZDUSD | 48.0% (n=900; break-even 60.8%) | 46.9% (n=2689; break-even 52.7%) | 50.4% (n=629; break-even 51.3%) | 43.4% (n=99; break-even 50.6%) |
| SOLUSD | – | 45.6% (n=353; break-even 50.2%) | 42.4% (n=92; break-even 50.1%) | – |
| UK100 | 49.6% (n=1665; break-even 53.6%) | 52.4% (n=1252; break-even 50.5%) | 50.9% (n=336; break-even 50.2%) | 57.6% (n=106; break-even 50.0%) |
| US30 | 49.3% (n=1236; break-even 52.4%) | 49.0% (n=1713; break-even 50.2%) | 48.6% (n=426; break-even 50.1%) | 47.7% (n=155; break-even 50.0%) |
| US500 | 46.5% (n=1286; break-even 54.5%) | 50.1% (n=1716; break-even 50.4%) | 47.4% (n=420; break-even 50.2%) | 42.5% (n=167; break-even 50.0%) |
| USDCAD | 45.8% (n=924; break-even 56.7%) | 49.7% (n=3036; break-even 51.1%) | 47.2% (n=653; break-even 50.6%) | 53.2% (n=94; break-even 50.3%) |
| USDCHF | 45.1% (n=920; break-even 62.0%) | 48.1% (n=3041; break-even 51.7%) | 47.8% (n=594; break-even 50.8%) | 52.5% (n=99; break-even 50.4%) |
| USDJPY | 49.8% (n=925; break-even 56.2%) | 46.7% (n=2701; break-even 51.7%) | 50.6% (n=682; break-even 50.7%) | 52.6% (n=114; break-even 50.3%) |
| WTI | 46.6% (n=1293; break-even 53.9%) | 49.6% (n=1886; break-even 50.3%) | 51.8% (n=438; break-even 50.1%) | 43.4% (n=152; break-even 50.0%) |
| XAGUSD | 46.8% (n=1084; break-even 57.8%) | 43.8% (n=2782; break-even 59.2%) | 47.1% (n=656; break-even 54.6%) | 53.0% (n=115; break-even 52.1%) |
| XAUUSD | 50.1% (n=1092; break-even 52.4%) | 49.0% (n=3118; break-even 51.4%) | 50.7% (n=742; break-even 50.7%) | 47.3% (n=146; 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 | 31.2% | 23.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H1 | 31.5% | 23.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H4 | 35.3% | 22.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · M15 | 34.4% | 29.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H1 | 39.2% | 30.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUS200 · H4 | 34.2% | 24.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · BNB · H1 | 32.0% | 24.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · BNB · H4 | 32.5% | 23.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · M15 | 31.0% | 23.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H1 | 33.4% | 23.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H4 | 34.4% | 26.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · M15 | 31.7% | 23.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H1 | 34.5% | 24.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H4 | 30.4% | 23.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · M15 | 31.9% | 24.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H1 | 32.4% | 24.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H4 | 34.5% | 27.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · M15 | 31.8% | 23.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H1 | 31.9% | 25.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H4 | 34.6% | 22.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · D1 | 20.0% | 20.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · M15 | 28.8% | 21.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H1 | 33.1% | 26.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H4 | 33.3% | 25.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · M15 | 31.4% | 24.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H1 | 34.5% | 25.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H4 | 30.8% | 24.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · D1 | 15.2% | 3.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · M15 | 31.9% | 25.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H1 | 34.0% | 26.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H4 | 33.5% | 24.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · M15 | 29.6% | 21.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H1 | 26.2% | 20.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H4 | 34.5% | 29.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · M15 | 25.0% | 19.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H1 | 26.5% | 19.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H4 | 26.1% | 20.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · M15 | 31.8% | 24.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H1 | 33.5% | 25.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H4 | 45.4% | 33.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · M15 | 31.4% | 23.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · H1 | 35.9% | 25.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · H4 | 31.9% | 24.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · M15 | 31.6% | 24.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · H1 | 35.9% | 26.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · H4 | 31.5% | 22.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · M15 | 29.3% | 20.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H1 | 28.1% | 21.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H4 | 27.3% | 23.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · M15 | 29.3% | 21.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H1 | 29.1% | 21.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H4 | 35.5% | 29.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · D1 | 16.1% | 12.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · M15 | 30.9% | 23.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H1 | 30.1% | 24.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H4 | 32.0% | 24.5% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · M15 | 30.7% | 23.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · H1 | 31.1% | 24.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · H4 | 29.7% | 23.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · M15 | 29.5% | 21.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H1 | 30.3% | 22.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H4 | 32.9% | 25.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · D1 | 29.4% | 18.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · M15 | 31.8% | 23.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H1 | 38.6% | 29.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H4 | 29.6% | 23.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · D1 | 25.7% | 14.3% |
| In sample: through 2023-12-31 · AUDUSD · M15 | 32.0% | 26.1% |
| In sample: through 2023-12-31 · AUDUSD · H1 | 31.9% | 24.5% |
| In sample: through 2023-12-31 · AUDUSD · H4 | 33.9% | 24.3% |
| In sample: through 2023-12-31 · AUDUSD · D1 | 22.3% | 18.5% |
| In sample: through 2023-12-31 · AUS200 · M15 | 33.7% | 27.2% |
| In sample: through 2023-12-31 · AUS200 · H1 | 36.2% | 26.6% |
| In sample: through 2023-12-31 · AUS200 · H4 | 31.7% | 24.8% |
| In sample: through 2023-12-31 · AUS200 · D1 | 30.6% | 27.0% |
| In sample: through 2023-12-31 · BNB · H1 | 30.2% | 22.5% |
| In sample: through 2023-12-31 · BNB · H4 | 35.9% | 26.9% |
| In sample: through 2023-12-31 · BNB · D1 | 22.9% | 20.8% |
| In sample: through 2023-12-31 · BTCUSD · M15 | 34.4% | 28.1% |
| In sample: through 2023-12-31 · BTCUSD · H1 | 31.0% | 22.9% |
| In sample: through 2023-12-31 · BTCUSD · H4 | 37.5% | 29.5% |
| In sample: through 2023-12-31 · ETHUSD · H1 | 31.9% | 26.1% |
| In sample: through 2023-12-31 · ETHUSD · H4 | 41.9% | 35.6% |
| In sample: through 2023-12-31 · EURUSD · M15 | 32.0% | 22.8% |
| In sample: through 2023-12-31 · EURUSD · H1 | 32.4% | 23.5% |
| In sample: through 2023-12-31 · EURUSD · H4 | 31.4% | 23.6% |
| In sample: through 2023-12-31 · EURUSD · D1 | 31.6% | 24.6% |
| In sample: through 2023-12-31 · GBPUSD · M15 | 34.6% | 24.4% |
| In sample: through 2023-12-31 · GBPUSD · H1 | 33.2% | 24.7% |
| In sample: through 2023-12-31 · GBPUSD · H4 | 31.7% | 24.1% |
| In sample: through 2023-12-31 · GBPUSD · D1 | 32.6% | 18.0% |
| In sample: through 2023-12-31 · GER40 · M15 | 33.1% | 25.1% |
| In sample: through 2023-12-31 · GER40 · H1 | 30.6% | 23.0% |
| In sample: through 2023-12-31 · GER40 · H4 | 32.5% | 26.2% |
| In sample: through 2023-12-31 · GER40 · D1 | 27.2% | 19.4% |
| In sample: through 2023-12-31 · JP225 · M15 | 33.9% | 26.8% |
| In sample: through 2023-12-31 · JP225 · H1 | 35.1% | 26.3% |
| In sample: through 2023-12-31 · JP225 · H4 | 33.7% | 27.4% |
| In sample: through 2023-12-31 · JP225 · D1 | 33.8% | 28.9% |
| In sample: through 2023-12-31 · NAS100 · M15 | 32.1% | 24.3% |
| In sample: through 2023-12-31 · NAS100 · H1 | 31.7% | 23.9% |
| In sample: through 2023-12-31 · NAS100 · H4 | 32.2% | 23.9% |
| In sample: through 2023-12-31 · NAS100 · D1 | 32.6% | 22.6% |
| In sample: through 2023-12-31 · NZDUSD · M15 | 33.0% | 23.8% |
| In sample: through 2023-12-31 · NZDUSD · H1 | 31.5% | 24.2% |
| In sample: through 2023-12-31 · NZDUSD · H4 | 30.4% | 22.9% |
| In sample: through 2023-12-31 · NZDUSD · D1 | 29.3% | 23.2% |
| In sample: through 2023-12-31 · SOLUSD · H1 | 29.0% | 21.4% |
| In sample: through 2023-12-31 · SOLUSD · H4 | 29.3% | 22.8% |
| In sample: through 2023-12-31 · UK100 · M15 | 34.8% | 25.5% |
| In sample: through 2023-12-31 · UK100 · H1 | 36.7% | 27.3% |
| In sample: through 2023-12-31 · UK100 · H4 | 35.1% | 26.3% |
| In sample: through 2023-12-31 · UK100 · D1 | 41.5% | 28.3% |
| In sample: through 2023-12-31 · US30 · M15 | 32.0% | 24.2% |
| In sample: through 2023-12-31 · US30 · H1 | 33.6% | 24.5% |
| In sample: through 2023-12-31 · US30 · H4 | 29.6% | 22.8% |
| In sample: through 2023-12-31 · US30 · D1 | 32.3% | 23.2% |
| In sample: through 2023-12-31 · US500 · M15 | 32.2% | 24.4% |
| In sample: through 2023-12-31 · US500 · H1 | 34.5% | 25.4% |
| In sample: through 2023-12-31 · US500 · H4 | 31.7% | 24.3% |
| In sample: through 2023-12-31 · US500 · D1 | 29.3% | 21.6% |
| In sample: through 2023-12-31 · USDCAD · M15 | 30.5% | 22.9% |
| In sample: through 2023-12-31 · USDCAD · H1 | 33.9% | 25.4% |
| In sample: through 2023-12-31 · USDCAD · H4 | 31.7% | 25.6% |
| In sample: through 2023-12-31 · USDCAD · D1 | 35.1% | 30.9% |
| In sample: through 2023-12-31 · USDCHF · M15 | 28.8% | 21.2% |
| In sample: through 2023-12-31 · USDCHF · H1 | 31.9% | 23.5% |
| In sample: through 2023-12-31 · USDCHF · H4 | 31.0% | 23.6% |
| In sample: through 2023-12-31 · USDCHF · D1 | 32.3% | 25.2% |
| In sample: through 2023-12-31 · USDJPY · M15 | 32.1% | 24.1% |
| In sample: through 2023-12-31 · USDJPY · H1 | 31.2% | 23.2% |
| In sample: through 2023-12-31 · USDJPY · H4 | 32.8% | 23.1% |
| In sample: through 2023-12-31 · USDJPY · D1 | 36.8% | 22.8% |
| In sample: through 2023-12-31 · WTI · M15 | 30.3% | 23.8% |
| In sample: through 2023-12-31 · WTI · H1 | 33.5% | 25.4% |
| In sample: through 2023-12-31 · WTI · H4 | 32.0% | 23.5% |
| In sample: through 2023-12-31 · WTI · D1 | 23.7% | 18.4% |
| In sample: through 2023-12-31 · XAGUSD · M15 | 30.9% | 22.8% |
| In sample: through 2023-12-31 · XAGUSD · H1 | 28.6% | 22.2% |
| In sample: through 2023-12-31 · XAGUSD · H4 | 33.1% | 25.1% |
| In sample: through 2023-12-31 · XAGUSD · D1 | 34.8% | 25.2% |
| In sample: through 2023-12-31 · XAUUSD · M15 | 35.2% | 27.4% |
| In sample: through 2023-12-31 · XAUUSD · H1 | 31.9% | 24.0% |
| In sample: through 2023-12-31 · XAUUSD · H4 | 33.1% | 26.2% |
| In sample: through 2023-12-31 · XAUUSD · D1 | 28.8% | 22.6% |
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 MA Distance ATR 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% (n=1516)" 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.