Exp_derivative
This EA trades based on the derivative (rate of change) of a price series, entering positions when the momentum derivative signals a directional shift. It calculates the mathematical derivative of price to detect acceleration or deceleration in trend movement, opening trades when the derivative crosses key thresholds. The strategy aims to capture early trend momentum shifts before they become visually apparent on the chart.
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 concept is based on the price derivative (rate of price change) to determine the direction and strength of market momentum. Entry conditions trigger a long position when the price derivative crosses from negative to positive, and a short position when it crosses from positive to negative, representing inflection points in momentum direction. Exit conditions close positions when the derivative signal reverses, or through stop-loss and take-profit parameters. Position sizing uses either a fixed lot size or an equity-based calculation method. Money management relies on the input parameters for stop-loss and take-profit to control risk exposure per trade. The theoretical advantage is the ability to capture early trend initiation points since derivative changes precede significant price movements. However, in ranging markets the derivative signal can flip frequently, leading to consecutive losses, and the lack of a filtering mechanism is a notable shortcoming.
Strengths
- The derivative-based entry logic is theoretically innovative and can capture momentum inflection points
- Strategy logic is clear and concise with few parameters, easy to understand and optimize
- Leverages the property that derivative changes precede price changes, potentially enabling earlier entries with better fill prices
- Includes stop-loss and take-profit parameters providing a basic risk control framework
Weaknesses
- In ranging markets the derivative signal flips frequently, generating numerous false signals and consecutive losses
- Lacks a market regime filter (such as ADX trend strength), unable to distinguish trending from ranging conditions
- Derivative calculation is sensitive to noise, short-period parameters can easily produce misleading signals
- No new bar check mechanism, may repeatedly open positions on the same bar
- Missing spread filter, trading costs during high-spread periods can erode profits
Possible improvements
- Add ADX or volatility filtering to trade only when trend is clear, avoiding false signals in ranging markets
- Implement new bar check and spread filter to improve trade execution robustness
- Consider multi-timeframe confirmation, such as only opening positions on H1 when H4 trend direction aligns
Risk assessment
Overall risk: Medium
- Lack of new bar check may cause repeated position openings on the same bar, increasing risk exposure
- No spread filter can result in unfavorable fills during high-spread periods
- Frequent derivative signal flipping in ranging markets can cause consecutive losses
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Lot size per trade |
StopLoss | 50 | Stop loss in points |
TakeProfit | 100 | Take profit in points |
DerivativePeriod | 14 | Derivative calculation period |
DerivativeThreshold | 0 | Derivative crossover threshold |
MagicNumber | 13916 | EA magic number |
Timeframe | H1 | Trading timeframe |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.