EA-13533 · Momentum

Exp_CoppockHist

This EA trades based on the Coppock Curve histogram indicator, opening buy positions when the histogram turns upward from below and sell positions when it turns downward from above. It uses a custom CoppockHist indicator with configurable ROC periods, smoothing, and applied price, and delegates trade execution and money management to the TradeAlgorithms library.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, H8, D1
IndicatorsCoppock Curve, ROC, SMA
Author—

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 Coppock Curve indicator, which measures market momentum by summing two Rate of Change (ROC) values with different periods and then smoothing the result with a moving average. Entry conditions are: a buy signal is triggered when the histogram Value[1]<Value[2] (previously declining) and Value[0]>Value[1] (currently rising), while a sell signal is triggered when Value[1]>Value[2] (previously rising) and Value[0]<Value[1] (currently falling). Exit conditions are: the buy signal simultaneously triggers closing of short positions, and the sell signal triggers closing of long positions, with additional fixed stop-loss and take-profit levels in points. Position sizing is controlled by the MM parameter which sets the risk ratio, supporting five money management modes including fixed lot size and percentage-based sizing on balance or free margin. Money management relies on the TradeAlgorithms.mqh library's BuyPositionOpen and SellPositionOpen functions to dynamically calculate order lot sizes based on the selected MMMode.

Strengths

  • The Coppock Curve is a classic long-term momentum indicator with clear theoretical foundation
  • Supports multiple money management modes and flexible enable/disable toggles for buy/sell open/close independently
  • Uses IsNewBar mechanism to prevent repeated trading on the same bar, reducing overtrading risk
  • Configurable stop-loss and take-profit parameters provide basic risk protection

Weaknesses

  • No protection when stop-loss or take-profit is set to zero, which could lead to unlimited losses
  • No spread filter or maximum position check, potentially causing unexpected trades during high-spread or extreme market conditions
  • Depends on external custom indicator CoppockHist and SmoothAlgorithms library, making deployment complex and limiting source code review
  • Signal logic triggers only on histogram direction change without confirmation mechanism, potentially producing frequent false signals

Possible improvements

  • Add spread filter and maximum position count limits to improve trading safety
  • Add signal confirmation mechanism, such as requiring histogram zero-line crossover or combining with other indicators to filter false signals

Risk assessment

Overall risk: Medium

  • No zero-value protection on stop-loss and take-profit parameters, which could accidentally be set to 0 causing unlimited risk exposure
  • No spread filter mechanism, potentially executing trades at extreme slippage in illiquid markets

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness3.0
Innovation2.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management ratio, risk per trade
MMModeLOTLot sizing mode: free margin/balance/post-loss free margin/post-loss balance/fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage
BuyPosOpentrueAllow buy position open
SellPosOpentrueAllow sell position open
BuyPosClosetrueAllow buy position close (close long on reverse signal)
SellPosClosetrueAllow sell position close (close short on reverse signal)
InpInd_TimeframePERIOD_H8Indicator calculation timeframe
ROC1Period14First rate of change period
ROC2Period11Second rate of change period
SmoothPeriod3Indicator smoothing period
MA_Method_MODE_SMAMoving average method
AppliedPricePRICE_CLOSE_Applied price type
SignalBar1Signal bar index

Similar Momentum EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.