Exp_MA_Rounding_Candle
This EA trades based on signals from the MA_Rounding_Candle custom indicator, which applies a rounding mechanism to a smoothed moving average to generate trend signals. It opens buy positions when the trend shifts upward and sell positions when the trend shifts downward, with configurable money management and position closing logic.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
The core strategy of this EA is trend following based on the MA_Rounding_Candle indicator, which calculates a moving average using multiple smoothing algorithms (SMA, EMA, JJMA, etc.) and applies a rounding mechanism to generate cleaner trend signals. Entry conditions: a buy position is opened when the TrendValue from the indicator's buffer 4 transitions to 2 from a value less than 2, and a sell position is opened when it transitions to 0 from a value greater than 0, representing a shift in trend direction. Exit conditions: long and short positions are closed when the trend reverses, with fixed stop loss and take profit levels (default 1000 and 2000 points respectively). Position sizing supports multiple money management modes including percentage of free margin, percentage of balance, percentage after loss, and fixed lot size. The EA employs a new bar detection mechanism to avoid duplicate signals, only triggering trades when a genuine trend shift occurs, which helps reduce false signals.
Strengths
- Supports multiple smoothing algorithms, allowing optimization for different market characteristics
- Comprehensive money management system with multiple position sizing modes
- New bar detection mechanism prevents duplicate signals and overtrading
- Reasonable stop loss and take profit with a default 2:1 reward-to-risk ratio
- Independent buy/sell toggles provide high flexibility for one-directional trading
Weaknesses
- Depends on the custom MA_Rounding_Candle indicator without transparency into its internal logic
- Fixed stop loss and take profit without ATR-based dynamic adjustment for market volatility
- No spread filter, slippage during high-volatility periods can significantly impact results
- Default SL/TP of 1000/2000 points is very wide and may not suit all instruments
- No existing position check before opening new trades, risking duplicate positions
Possible improvements
- Add ATR-based dynamic stop loss and take profit that adjusts automatically based on market volatility
- Add position checking logic to prevent duplicate entries when an existing same-direction position is already open
Risk assessment
Overall risk: Medium
- No existing position check before opening new trades, potentially leading to duplicate positions and excessive exposure
- Fixed SL/TP without volatility consideration may waste profit potential in low volatility or be unreachable in high volatility
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management parameter controlling position size |
MMMode | LOT | Lot calculation mode (fixed lot or margin ratio) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage |
BuyPosOpen | true | Allow opening long positions |
SellPosOpen | true | Allow opening short positions |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H4 | Indicator calculation timeframe |
XMA_Method | MODE_SMA | Moving average smoothing method |
XLength | 12 | Moving average period length |
XPhase | 15 | Smoothing algorithm phase parameter |
MaRound | 50 | Moving average rounding precision |
SignalBar | 1 | Bar index for signal detection |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.