EA-1338 · Momentum

Exp_ColorStochNR

This EA trades based on the ColorStochNR custom stochastic indicator, offering five distinct entry algorithms including level breakthrough, oscillator direction change, signal line twist, oscillator crossing signal line, and signal line crossing the 50 level. It opens and closes positions on new bars using the selected algorithm and delegates trade execution to an included TradeAlgorithms library for position sizing and order management.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsColorStochNR (Custom Stochastic)
AuthorCopyright © 2012, Nikolay Kositsin

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

The core strategy trades momentum signals from the ColorStochNR stochastic indicator. Entry conditions offer five modes: Breakdown mode enters when the stochastic breaks the 50 level; OscTwist enters on oscillator direction change; SignalTwist enters on signal line direction change; OscDisposition enters when the oscillator crosses the signal line; SignalBreakdown enters when the signal line crosses the 50 level. Exit conditions rely on fixed StopLoss and TakeProfit in points, plus reverse signal-triggered position closes. Position sizing is controlled by the MM parameter where negative values represent fixed lot size and positive values calculate lots as a deposit share. Money management is handled uniformly by the TradeAlgorithms library, which includes deviation control to prevent excessive slippage. The strategy detects signals only on new bars, avoiding per-tick trading and reducing trade frequency.

Strengths

  • Five distinct entry algorithm modes provide high strategy flexibility to adapt to different market conditions
  • New bar-based signal detection avoids per-tick redundant trading and reduces transaction costs
  • StopLoss, TakeProfit, and deviation controls provide a basic risk management framework
  • Buy and sell permissions are independently controllable, allowing flexible unidirectional or bidirectional trading
  • Uses iCustom for indicator handle retrieval, decoupling the indicator from the EA for easy replacement

Weaknesses

  • Depends on external TradeAlgorithms.mqh library and ColorStochNR custom indicator; without these files it cannot compile or run
  • OscDisposition mode has redundant logic such as 'Signal[0]==2 || Signal[0]' which is always true when Signal[0] is non-zero
  • OscTwist mode conditions are complex and hard to read, prone to logical errors
  • No spread filter, potentially entering at unfavorable prices during wide spread conditions
  • No trailing stop or dynamic take-profit mechanism; fixed SL/TP cannot adapt to changing market volatility

Possible improvements

  • Add a spread filter mechanism to pause new entries when spread exceeds a threshold, avoiding unfavorable slippage
  • Refine the condition logic in OscDisposition and OscTwist modes to improve code readability and correctness
  • Add a trailing stop feature to let winning positions lock in more profit as trends continue

Risk assessment

Overall risk: Medium

  • Depends on external library and custom indicator; missing any file causes EA failure
  • Redundant conditions in OscDisposition mode may generate unexpected entry signals
  • Fixed SL/TP may trigger stops frequently or miss profits in high volatility markets

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation3.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
MM-0.1Money management ratio or fixed lot size
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum price deviation in points
BuyPosOpentrueAllow buy
SellPosOpentrueAllow sell
BuyPosClosetrueAllow close long position
SellPosClosetrueAllow close short position
ModeOscDispositionEntry algorithm mode
InpInd_TimeframePERIOD_H4Indicator timeframe
Kperiod5K period
Dperiod3D period
Slowing3Smoothing period
DmethodMODE_SMA_Smoothing method
PriceFildSTO_LOWHIGHStochastic calculation method
Sens0Sensitivity in points
SignalBar1Bar index for entry signal

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.