Exp_Laguerre_ADX
This EA trades based on the Laguerre_ADX custom indicator, opening buy positions when the Up line crosses above the Dn line and sell positions when the Dn line crosses above the Up line. It uses a crossover signal on a specified timeframe with configurable money management, stop loss, and take profit levels.
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
This EA employs a trend-following strategy using the Laguerre_ADX indicator, which is a Laguerre-filtered improvement over the traditional ADX indicator, with the gamma parameter controlling the smoothing level. Entry conditions: a buy position opens when Up[1]>Dn[1] (current bar Up line above Dn line) and Up[0]<Dn[0] (Up line crossed from below), while a sell position opens when Up[1]<Dn[1] and Up[0]>Dn[0]. Exit conditions are triggered by the reverse crossover signal closing the opposing position, combined with a fixed stop loss of 1000 points and take profit of 2000 points. Position sizing uses the MM parameter to control the capital ratio with a default of 0.1, supporting both lot mode and margin mode for money management. The EA calculates signals on each new bar arrival using the IsNewBar mechanism to prevent duplicate trades, and the SignalBar parameter allows selecting a lookback bar for signal confirmation. The crossover logic essentially detects trend direction changes in the Laguerre-filtered ADX lines.
Strengths
- Uses Laguerre filter to improve the ADX indicator, providing smoother signals with fewer false triggers
- New bar mechanism prevents duplicate trade entries within the same bar, ensuring logical rigor
- Supports flexible money management with both lot mode and margin mode
- Independent buy/sell direction switches allow trading only long or only short
- Complete stop loss and take profit parameters provide controllable risk
Weaknesses
- Fixed stop loss and take profit do not adapt to varying market volatility environments
- No spread filter, potentially entering at unfavorable prices in high-spread conditions
- No existing position check before opening new trades, potentially leading to duplicate positions
- Depends on the custom Laguerre_ADX indicator file; EA fails if the indicator is missing
- The 1000-point SL and 2000-point TP ratio of 2:1 is favorable but the stop loss size is quite large
Possible improvements
- Add position check logic to prevent duplicate entries in the same direction
- Implement ATR-based dynamic stop loss and take profit to adapt to market volatility changes
- Add a spread filter to avoid entering during high-spread periods
Risk assessment
Overall risk: Medium
- No existing position check may cause duplicate entries in the same direction leading to excessive leverage
- Fixed 1000-point stop loss is large and can cause significant losses in extreme market conditions
- No spread filter or trading session filter may result in entries under unfavorable conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management parameter; negative value for risk percentage mode |
MMMode | LOT | Lot calculation mode: fixed lots or margin mode |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage in points |
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 |
SignalBar | 1 | Signal bar lookback index |
ADXPeriod | 14 | ADX indicator period |
gamma | 0.764 | Laguerre filter smoothing coefficient |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.