Exp_NRTR_ATR_STOP_Tm
This EA implements the NRTR (Nick Rypock Trailing Reverse) indicator combined with ATR-based dynamic stop levels to trail trends and generate entry/exit signals. It includes a time management filter that restricts trading to user-defined sessions. The system opens positions when the NRTR line reverses direction, confirming a new trend, and uses ATR multiples for adaptive stop-loss placement.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
Why this EA never traded: no entry rule survived the conversion.
Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.
Blow-up risk: No blow-up pattern found
None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.
High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →
Strategy analysis
The core strategy is based on the NRTR (Nick Rypock Trailing Reverse) indicator, a dynamic trend-trailing tool that continuously adjusts support/resistance levels to identify trend reversals. Entry conditions trigger when the NRTR line reverses direction — a long position is opened when price breaks above the upper channel, and a short position when it breaks below the lower channel. ATR is used to calculate dynamic stop-loss distances, making the stop width adaptively adjust to market volatility: wider stops in high-volatility environments and tighter stops in low-volatility conditions. Position sizing is implemented through either fixed lot sizes or percentage-based capital allocation. The time management module allows users to define active trading sessions, avoiding entries during unfavorable periods. Exits are primarily driven by NRTR signal reversals and ATR-based stop triggers, making this a classic trend-following system suitable for medium-to-long timeframe operation.
Strengths
- ATR-adaptive stop-loss mechanism dynamically adjusts based on market volatility, avoiding frequent fixed stop triggers
- Time management filter effectively prevents entries during low-liquidity or high-noise sessions, improving signal quality
- NRTR indicator combines trend-trailing and reversal identification, capturing medium-term trends effectively
- Clear system logic with intuitive parameter meanings, making it easy for users to understand and optimize
Weaknesses
- Trend-following systems are prone to frequent false signals and consecutive losses in ranging/choppy markets
- Lacks explicit take-profit mechanism (TakeProfit_ATR defaults to off), profits may be significantly given back
- No position count check, potentially opening repeated positions in the same direction leading to over-concentration risk
- No spread filter included, entry costs may be excessive in high-spread environments
Possible improvements
- Add a ranging-market filter (e.g., ADX or volatility channel) to pause trading during low trend strength and reduce false signals
- Add position count limits and same-direction duplicate entry checks to prevent over-concentration in one direction
- Add spread filter and slippage protection to improve robustness in live execution
Risk assessment
Overall risk: Medium
- Missing position count check may lead to over-opening in the same direction
- No spread filter may cause entries in high-cost environments leading to immediate losses
- Trend-following strategy produces consecutive losses in ranging markets
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
ATR_Period | 14 | ATR period for dynamic stop loss |
ATR_Multiplier | 1.0 | ATR stop loss multiplier |
NRTR_Timeframe | 0 | NRTRindicator timeframe |
LotSize | 0.1 | Base lot size per leg |
StopLoss_ATR | true | Enable ATR-based dynamic stop loss |
TakeProfit_ATR | false | Enable ATR dynamic take profit |
TimeManage | true | Enable time management filter |
StartHour | 9 | Range calculation start hour |
StartMinute | 0 | Trading start minute |
EndHour | 17 | Range calculation end hour |
EndMinute | 0 | Trading end minute |
MagicNumber | 123456 | EA unique identifier number |
MaxSlippage | 3 | Maximum slippage tolerance |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.