Exp_ColorMETRO_Stochastic
This EA trades based on crossover signals from the ColorMETRO_Stochastic custom indicator, which applies step-size filtering to a Stochastic oscillator. It opens buy positions when the Stochastic main line crosses above the signal line and sell positions when it crosses below, with configurable position closing on reverse signals.
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 core is a crossover signal trading system based on a step-filtered Stochastic oscillator (ColorMETRO_Stochastic). Entry conditions: a buy signal is generated when the MPlus line crosses above the MMinus line, and a sell signal is generated when the MPlus line crosses below the MMinus line, requiring a clear directional relationship on the previous bar and a crossover on the current bar. Exit conditions: reverse crossover signals trigger position closing, with fixed StopLoss (1000 points) and TakeProfit (2000 points) also configured. Position sizing defaults to direct lot specification (LOT mode), but also supports percentage-based money management modes including balance, free margin, and loss-adjusted variants. Signals are only calculated on new bars via the IsNewBar mechanism, preventing duplicate trades. The step size parameters (StepSizeFast=5, StepSizeSlow=15) quantize the Stochastic values to reduce false signals. The overall strategy is a momentum-following type, entering in the direction of Stochastic crossovers.
Strengths
- Step-filtered Stochastic effectively reduces false signals and over-trading
- Multiple money management modes provide flexibility
- New bar mechanism prevents duplicate entries within the same bar
- Complete stop loss and take profit parameters for risk control
- Buy and sell directions can be independently enabled/disabled for flexible testing
Weaknesses
- Default StopLoss=1000 and TakeProfit=2000 points are excessively large for most instruments
- No spread filter, which may cause unfavorable entries during high-spread conditions
- No open position check before opening new trades, risking duplicate positions
- Depends on custom indicator ColorMETRO_Stochastic, EA fails if indicator file is missing
- Signals only trigger on crossovers, potentially causing frequent entries and exits in ranging markets
Possible improvements
- Add open position check logic to prevent duplicate entries in the same direction
- Add spread filter and trading session filter to improve entry quality
Risk assessment
Overall risk: Medium
- No position check before opening trades, may duplicate positions in the same direction
- Default stop loss/take profit values are large, potentially causing significant single-trade losses
- No spread filter, high entry cost in wide-spread environments
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management parameter, lot size or percentage coefficient |
MMMode | LOT | Money management mode: fixed lot, balance percentage, free margin percentage, etc. |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage in points |
BuyPosOpen | true | Enable buy position opening |
SellPosOpen | true | Enable sell position opening |
BuyPosClose | true | Enable buy position closing on reverse signal |
SellPosClose | true | Enable sell position closing on reverse signal |
InpInd_Timeframe | PERIOD_H8 | Timeframe for indicator calculation |
KPeriod | 5 | Stochastic K period |
DPeriod | 3 | Stochastic D period (signal line smoothing period) |
Slowing | 3 | Stochastic slowing/smoothing parameter |
MA_Method | MODE_SMA | Moving average method for Stochastic calculation |
StepSizeFast | 5 | Fast step size filter parameter, quantizes Stochastic values to reduce noise |
StepSizeSlow | 15 | Slow step size filter parameter, larger step produces smoother signals |
Applied_price | STO_LOWHIGH | Stochastic applied price type |
SignalBar | 1 | Bar index for signal evaluation, 1 = previous closed bar |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.