Exp_Beginner
This EA uses the custom 'Beginner' indicator to generate buy and sell signals based on momentum reversals detected by the indicator's buffer values. It opens and closes positions based on these signals, with configurable money management, stop loss, and take profit. The EA operates on a specified timeframe and includes new bar detection to avoid redundant signal processing.
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 strategy concept is based on the Beginner custom indicator which identifies momentum reversal points; when the upper buffer (buffer 1) shows a non-zero, non-EMPTY_VALUE, a buy signal is generated, and when the lower buffer (buffer 0) shows a non-zero, non-EMPTY_VALUE, a sell signal is generated. Entry conditions require detecting the Beginner indicator signal values on the specified signal bar (SignalBar), with BuyPosOpen/SellPosOpen toggles controlling directional permission. Exit conditions include fixed-point stop loss and take profit settings, as well as closing positions when opposite signals are detected (buy signals trigger short position closure, sell signals trigger long position closure). Position sizing is controlled through the MM parameter, where negative values represent fixed lot sizes and positive values represent deposit-proportional sizing. Money management utilizes standardized functions from the TradeAlgorithms.mqh library, supporting deviation control and signal time filtering. The strategy also incorporates a lookback search mechanism that traverses historical bars to find the most recent opposite signal for determining position direction when no direct opposite closure signal exists on the current bar.
Strengths
- New bar detection mechanism prevents redundant trades on the same bar
- Full directional toggle controls for buy/sell open and close provide high flexibility
- Stop loss and take profit protections are included for risk control
- Recount mechanism automatically retries on data copy failure, enhancing robustness
- Supports both deposit-proportional and fixed lot position sizing modes
Weaknesses
- Depends on the custom Beginner indicator whose logic is opaque, making signal validity hard to verify
- The lookback loop searching historical bars for opposite signals has no upper bound, potentially causing performance issues
- Lacks spread filter and trading session filter, which may cause unnecessary losses during high-spread periods
- Stop loss and take profit use fixed points without ATR-based dynamic adjustment for market volatility
- No position check logic, potentially opening duplicate positions in the same direction
Possible improvements
- Add spread filter and trading session restrictions to avoid trading during high-spread and low-liquidity periods
- Add a maximum iteration limit to the historical bar lookback search to prevent performance bottlenecks
- Use ATR-based dynamic stop loss and take profit to adapt to different market volatility environments
Risk assessment
Overall risk: Medium
- The lookback search loop has no iteration limit, which may cause EA lag or timeout with large data sets
- Lack of position checks may lead to duplicate openings in the same direction, increasing risk exposure
- Fixed stop loss/take profit does not adapt to market volatility changes, potentially providing insufficient protection during extreme moves
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | -0.1 | Money management ratio or lot size |
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 | Close long on reverse signal |
SellPosClose | true | Close short on reverse signal |
InpInd_Timeframe | PERIOD_H4 | Indicator operating timeframe |
Otstup | 30 | Indicator offset |
Per | 9 | Indicator calculation period |
SignalBar | 1 | Signal bar index (0=current, 1=last closed bar) |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.