Exp_LeManTrend
This EA uses the custom LeManTrend indicator's fast and slow signal line crossovers to generate buy and sell signals. It opens positions in the direction of the crossover trend and optionally closes opposing positions. Trade management includes configurable stop loss, take profit, and money management options.
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 a dual-line crossover system using the LeManTrend custom indicator, which combines three moving average periods (Min=13, Midle=21, Max=34) smoothed by an EMA of period 3. Entry conditions trigger when the fast line crosses above the slow line for buy signals and below for sell signals, with an additional confirmation that the previous bar showed the opposite relationship, ensuring a genuine crossover rather than a temporary touch. Exit conditions rely on fixed stop loss and take profit values in points, as well as closing opposing positions when a reverse signal occurs, though there is no trailing stop mechanism. Position sizing is controlled by the MM parameter, supporting both fixed lot size and margin-based percentage modes via the MMMode input. Money management is static rather than adaptive, lacking volatility-based or equity-curve-based dynamic position sizing, which limits its ability to adjust risk exposure to changing market conditions.
Strengths
- Clear strategy logic based on classic moving average crossover principles, easy to understand and verify
- Flexible open/close switches allow independent control of buy and sell directions
- New bar detection mechanism prevents duplicate entries within the same bar
- Configurable stop loss and take profit provide basic risk control
- Indicator calculation separated from EA main logic with modular design
Weaknesses
- No trailing stop mechanism to lock in floating profits as the trade moves favorably
- Fixed SL/TP does not account for market volatility changes, leading to inconsistent performance across volatility regimes
- No position check logic, potentially opening duplicate positions in the same direction
- LeManTrend is a custom indicator requiring an external file, increasing deployment complexity
- No spread filter or trading session filter, may execute at unfavorable prices during high-spread periods
Possible improvements
- Add trailing stop functionality to protect floating profits
- Implement ATR-based dynamic stop loss and take profit for volatility adaptation
- Add position check to prevent duplicate entries in the same direction
- Add trading session and spread filters to avoid unfavorable executions
Risk assessment
Overall risk: Medium
- No position check may lead to duplicate entries in the same direction, amplifying risk exposure
- Fixed SL/TP does not adapt to volatility changes, may be insufficient during extreme market conditions
- Lack of spread filter means entry costs are uncontrolled during high-spread periods
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio or lots |
MMMode | LOT | Lot calculation mode (fixed lots/capital ratio) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum slippage deviation |
BuyPosOpen | true | Allow buy position opening |
SellPosOpen | true | Allow sell position opening |
BuyPosClose | true | Allow buy position closing |
SellPosClose | true | Allow sell position closing |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
SignalBar | 1 | Signal calculation bar index |
Min | 13 | Short period MA parameter |
Midle | 21 | Middle period MA parameter |
Max | 34 | Long period MA parameter |
PeriodEMA | 3 | Signal EMA smoothing period |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.