FXEA365 Donchian ATR Trailing Stop
- Indicators
-
Kenichiro Sakamoto
I'm Kenichiro Sakamoto, the developer behind FXEA365 — a studio building transparent, rule-based Expert Advisors for MetaTrader 5. - Version: 1.20
- Updated: 20 September 2026
FREE — the Donchian breakout channel and the ATR trailing stop that manages the trade after the break, drawn on one chart.
100% free, no limitations. If it earns a place on your charts, a short review is the one thing that helps us most — it takes 30 seconds and it is what lets other traders find this tool.
Platform: MetaTrader 5 (this page). MetaTrader 4 edition: https://www.mql5.com/en/market/product/185552
Most breakout indicators show you the entry and stop there. The hard part of trend following is what happens next: where the stop goes, when it ratchets, and when the move is over. This one draws both halves of the system.
=== WHAT IT DRAWS ===
- Donchian channel (upper and lower) over the last N closed bars.
- Gold arrows where a bar CLOSED beyond the channel — the moment a breakout system would actually enter.
- The ATR trailing stop that would then carry the position: green while long, red while short, dotted. It only ever moves toward price (it never loosens), and it disappears when price closes through it — that is where the trade would end.
=== NO REPAINTING ===
The channel is built from bars that are already closed, and the breakout is judged on the previous bar's close. Nothing is drawn from the forming bar, so an arrow that appears never disappears later. You can scroll back and trust what you see.
=== SETTINGS ===
- N_Channel (default 40): channel length in bars.
- Trail_ATR (default 8.0): trailing distance as a multiple of ATR.
- ATR_Period (default 14).
- ShowArrows: turn the breakout markers on or off.
Defaults are a USDJPY H1 configuration. A breakout length that suits one market rarely transfers to another — re-fit N_Channel and Trail_ATR on the instrument you trade.
=== HONEST NOTE ===
This is a visualisation tool, not a signal service. Breakout trend following has a win rate well below 50%: many small losses, a few large winners. It works in trending markets and bleeds in ranges. Watch how the arrows and the trailing stop behave on your instrument before you trade the idea.
=== WHO THIS IS FOR / NOT FOR ===
Right fit: breakout traders who want to see the exit as well as the entry, anyone tuning a Donchian system who needs to watch how the ATR trail behaves across a real move, and anyone who wants to know what a trend system would have done on their instrument before committing to it.
Not a fit: range and mean-reversion traders, anyone who needs a high win rate to stay with a method, and anyone who will run the defaults on a market they were never fitted to.
=== 5-MINUTE CHART CHECK ===
1) Open USDJPY H1 first — that is the configuration the defaults describe.
2) Find a gold arrow and confirm the bar CLOSED beyond the channel, not merely touched it. Wicks through the channel do not count.
3) Follow the dotted trailing stop from that arrow forward. It must only ever move toward price and never loosen, and it must end where price closed through it. That endpoint is where the trade would have finished.
4) Pick the largest move on the chart and note how much of it the trail gave back at the end. That giveback is the cost of staying in trends — it is not a flaw to be tuned away.
5) Switch to your own instrument and re-fit N_Channel and Trail_ATR. A breakout length that suits one market rarely transfers to another.
Breakout trend following wins well under half its trades: many small losses, a few large winners. It bleeds in ranges.
=== THE SAME LOGIC AS AN EA (also free) ===
Donchian Trend Engine — the Expert Advisor that trades exactly this: closed-bar breakout, hard stop-loss on every trade, ATR trailing stop, one position, no martingale and no grid.
MT5: https://www.mql5.com/en/market/product/185534
MT4: https://www.mql5.com/en/market/product/185537
More free tools from us (FXEA365):
- Donchian Trend Engine (EA): https://www.mql5.com/en/market/product/185534
- Crypto Trend Channel Donchian (indicator): https://www.mql5.com/en/market/product/185642
- Pivot Trend ZigZag Swing (indicator): https://www.mql5.com/en/market/product/185643
- Dip Buyer Zones RSI Pullback (indicator): https://www.mql5.com/en/market/product/185644
- Volatility Squeeze BB Keltner (indicator): https://www.mql5.com/en/market/product/187032
- Currency Strength Meter 8 Majors (indicator): https://www.mql5.com/en/market/product/190005
Our other free tools: https://www.mql5.com/en/users/app.develop.sk/seller
Full write-up — why the trailing stop matters more than the entry: https://www.mql5.com/en/blogs/post/773438
=== IF YOU WANT THIS AS AN AUTOMATED SYSTEM (FXEA365) ===
This indicator shows the idea; it does not trade. If you want the same kind of rule executed automatically on gold, with a stop on every position group and figures you can reproduce in the Strategy Tester yourself, this is the EA we built for it:
- Gold Viper Breakout (XAUUSD M30, MT5): https://www.mql5.com/en/market/product/182297
Trades gold only while volatility is expanding and the EMA50/200 trend agrees; every basket is capped by a group stop that the EA executes (keep it running on a VPS). No martingale. Backtest on Exness tick history (history quality 8%, not a 100% real-tick test), 2019.01-2026.09, $10,000: Defensive mode profit factor 1.74, equity drawdown 21.3%, 2,819 trades; Standard (the default) profit factor 1.51, equity drawdown 30.8%.
- Gold Neuron (XAUUSD, MetaTrader 5 only): https://www.mql5.com/en/market/product/187329
Four rule-based decision engines in one EA: a trend core, a momentum breakout, a gradient-boosting entry gate and an M15 Donchian breakout. No martingale, but two engines add same-size positions against the market, closed by the EA's group stop. Backtest of the current v3.15 build (XM real ticks, Ultra = default, 2022.01-2026.08): profit factor 1.22, maximum equity drawdown 27.68%, 611 trades. Long window 2004.01-2026.07 (100% real ticks, two core engines only): Standard mode profit factor 1.34, maximum equity drawdown 29.49%.
Every EA above has a free demo. Run it in the Strategy Tester with the settings listed at the top of its page before you decide. These are backtest figures, not live trading results, and they do not guarantee future performance.
If this tool is useful in your trading, a short review on this page would help, good or bad, including anything you would like improved. It helps other traders decide and tells us what to fix next.
100% free, no limitations. If it earns a place on your charts, a short review is the one thing that helps us most — it takes 30 seconds and it is what lets other traders find this tool.
Platform: MetaTrader 5 (this page). MetaTrader 4 edition: https://www.mql5.com/en/market/product/185552
Most breakout indicators show you the entry and stop there. The hard part of trend following is what happens next: where the stop goes, when it ratchets, and when the move is over. This one draws both halves of the system.
=== WHAT IT DRAWS ===
- Donchian channel (upper and lower) over the last N closed bars.
- Gold arrows where a bar CLOSED beyond the channel — the moment a breakout system would actually enter.
- The ATR trailing stop that would then carry the position: green while long, red while short, dotted. It only ever moves toward price (it never loosens), and it disappears when price closes through it — that is where the trade would end.
=== NO REPAINTING ===
The channel is built from bars that are already closed, and the breakout is judged on the previous bar's close. Nothing is drawn from the forming bar, so an arrow that appears never disappears later. You can scroll back and trust what you see.
=== SETTINGS ===
- N_Channel (default 40): channel length in bars.
- Trail_ATR (default 8.0): trailing distance as a multiple of ATR.
- ATR_Period (default 14).
- ShowArrows: turn the breakout markers on or off.
Defaults are a USDJPY H1 configuration. A breakout length that suits one market rarely transfers to another — re-fit N_Channel and Trail_ATR on the instrument you trade.
=== HONEST NOTE ===
This is a visualisation tool, not a signal service. Breakout trend following has a win rate well below 50%: many small losses, a few large winners. It works in trending markets and bleeds in ranges. Watch how the arrows and the trailing stop behave on your instrument before you trade the idea.
=== WHO THIS IS FOR / NOT FOR ===
Right fit: breakout traders who want to see the exit as well as the entry, anyone tuning a Donchian system who needs to watch how the ATR trail behaves across a real move, and anyone who wants to know what a trend system would have done on their instrument before committing to it.
Not a fit: range and mean-reversion traders, anyone who needs a high win rate to stay with a method, and anyone who will run the defaults on a market they were never fitted to.
=== 5-MINUTE CHART CHECK ===
1) Open USDJPY H1 first — that is the configuration the defaults describe.
2) Find a gold arrow and confirm the bar CLOSED beyond the channel, not merely touched it. Wicks through the channel do not count.
3) Follow the dotted trailing stop from that arrow forward. It must only ever move toward price and never loosen, and it must end where price closed through it. That endpoint is where the trade would have finished.
4) Pick the largest move on the chart and note how much of it the trail gave back at the end. That giveback is the cost of staying in trends — it is not a flaw to be tuned away.
5) Switch to your own instrument and re-fit N_Channel and Trail_ATR. A breakout length that suits one market rarely transfers to another.
Breakout trend following wins well under half its trades: many small losses, a few large winners. It bleeds in ranges.
=== THE SAME LOGIC AS AN EA (also free) ===
Donchian Trend Engine — the Expert Advisor that trades exactly this: closed-bar breakout, hard stop-loss on every trade, ATR trailing stop, one position, no martingale and no grid.
MT5: https://www.mql5.com/en/market/product/185534
MT4: https://www.mql5.com/en/market/product/185537
More free tools from us (FXEA365):
- Donchian Trend Engine (EA): https://www.mql5.com/en/market/product/185534
- Crypto Trend Channel Donchian (indicator): https://www.mql5.com/en/market/product/185642
- Pivot Trend ZigZag Swing (indicator): https://www.mql5.com/en/market/product/185643
- Dip Buyer Zones RSI Pullback (indicator): https://www.mql5.com/en/market/product/185644
- Volatility Squeeze BB Keltner (indicator): https://www.mql5.com/en/market/product/187032
- Currency Strength Meter 8 Majors (indicator): https://www.mql5.com/en/market/product/190005
Our other free tools: https://www.mql5.com/en/users/app.develop.sk/seller
Full write-up — why the trailing stop matters more than the entry: https://www.mql5.com/en/blogs/post/773438
=== IF YOU WANT THIS AS AN AUTOMATED SYSTEM (FXEA365) ===
This indicator shows the idea; it does not trade. If you want the same kind of rule executed automatically on gold, with a stop on every position group and figures you can reproduce in the Strategy Tester yourself, this is the EA we built for it:
- Gold Viper Breakout (XAUUSD M30, MT5): https://www.mql5.com/en/market/product/182297
Trades gold only while volatility is expanding and the EMA50/200 trend agrees; every basket is capped by a group stop that the EA executes (keep it running on a VPS). No martingale. Backtest on Exness tick history (history quality 8%, not a 100% real-tick test), 2019.01-2026.09, $10,000: Defensive mode profit factor 1.74, equity drawdown 21.3%, 2,819 trades; Standard (the default) profit factor 1.51, equity drawdown 30.8%.
- Gold Neuron (XAUUSD, MetaTrader 5 only): https://www.mql5.com/en/market/product/187329
Four rule-based decision engines in one EA: a trend core, a momentum breakout, a gradient-boosting entry gate and an M15 Donchian breakout. No martingale, but two engines add same-size positions against the market, closed by the EA's group stop. Backtest of the current v3.15 build (XM real ticks, Ultra = default, 2022.01-2026.08): profit factor 1.22, maximum equity drawdown 27.68%, 611 trades. Long window 2004.01-2026.07 (100% real ticks, two core engines only): Standard mode profit factor 1.34, maximum equity drawdown 29.49%.
Every EA above has a free demo. Run it in the Strategy Tester with the settings listed at the top of its page before you decide. These are backtest figures, not live trading results, and they do not guarantee future performance.
If this tool is useful in your trading, a short review on this page would help, good or bad, including anything you would like improved. It helps other traders decide and tells us what to fix next.
