Exp_ATR_Normalize_Histogram
This EA uses ATR (Average True Range) normalized into a histogram format to identify momentum shifts and volatility-based trading opportunities. It generates buy/sell signals when the normalized ATR histogram crosses threshold levels, indicating significant changes in market volatility and directional momentum. The EA opens positions based on these histogram crossovers and manages trades with ATR-derived stop loss and take profit levels.
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 strategy concept is based on normalizing the ATR indicator and converting it into a histogram format to more intuitively observe changes in market volatility and momentum shifts. Entry conditions trigger a buy when the normalized ATR histogram crosses above the zero line or threshold from negative territory, and a sell when it crosses below from positive territory, representing volatility expansion and strengthening directional momentum. Exit conditions include fixed stop loss and take profit or ATR-multiple-based dynamic stops, as well as closing positions on histogram reversal crossover signals. Position sizing typically employs fixed lot sizes or account balance percentage-based calculations. Money management relies on ATR to measure market volatility and adjust stop loss distances accordingly, but lacks comprehensive account-level risk controls such as maximum drawdown limits or dynamic position reduction strategies.
Strengths
- Using ATR normalized histogram effectively filters market noise and identifies genuine momentum shift signals
- ATR-based dynamic stop loss and take profit adapts to market volatility, more reasonable than fixed pip stops
- Histogram visual representation makes signal judgment more intuitive and objective, reducing subjective bias
Weaknesses
- Normalized ATR histogram tends to generate frequent false signals in low-volatility ranging markets leading to repeated losses
- Lacks trading session and market condition filters, may produce unfavorable trades during low-liquidity periods
- Does not include advanced money management features like maximum drawdown protection or automatic position reduction after consecutive losses
Possible improvements
- Add market state filters such as ADX or volatility thresholds to suppress trading signals in ranging markets and reduce false signals
- Incorporate maximum drawdown protection and adaptive position reduction after consecutive losses to improve money management safety
Risk assessment
Overall risk: Medium
- Normalized ATR histogram may generate numerous false signals in low-volatility ranging markets leading to consecutive losses
- Lacks maximum drawdown protection and adaptive position management, may suffer significant losses in extreme market conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
ATR_Period | 14 | ATR period for flat market detection |
Normalize_Period | 50 | Normalization calculation period |
Threshold_Level | 0.0 | Histogram crossover threshold level |
Lot_Size | 0.1 | Trading lot size |
StopLoss_ATR_Multi | 2.0 | stop lossATR multiplier |
TakeProfit_ATR_Multi | 3.0 | take profitATR multiplier |
Magic_Number | 20830 | EA magic number |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.