Exp_ColorSchaffRSITrendCycle
This EA trades based on the ColorSchaffRSITrendCycle custom indicator, which is a Schaff Trend Cycle applied to RSI values. It opens buy positions when the indicator transitions from a low color zone to a higher one and sell positions on the reverse transition, with configurable buy/sell open/close toggles and money management options.
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 concept is based on combining the Schaff Trend Cycle oscillator with dual RSI calculations (fast RSI period 23, slow RSI period 50) to generate trend-cycle signals. Entry conditions: a buy signal fires when the Color buffer value exceeds 5 (uptrend confirmed) and the previous bar's value was below 6 (just crossed upward from a low zone); a sell signal fires when the value drops below 2 (downtrend confirmed) and the previous bar's value was above 1. Exit conditions: long positions close when a downtrend signal appears and BuyPosClose is enabled; short positions close when an uptrend signal appears and SellPosClose is enabled, supplemented by a 1000-point stop loss and 2000-point take profit. Position sizing supports five margin modes: percentage of free margin, percentage of balance, percentage of free margin minus floating loss, percentage of balance minus floating loss, and fixed lot size. Money management is controlled via the MM parameter with a default of 0.1 lots in fixed lot mode. The strategy only recalculates signals on new bars, avoiding redundant per-tick computation for better efficiency.
Strengths
- Combines Schaff Trend Cycle with dual-period RSI for more stable signals, reducing the frequent oscillation typical of plain RSI
- Offers five flexible money management modes to suit traders with different risk preferences
- Independent toggle switches for buy/sell open and close operations allow one-direction-only or signal-close-only strategy combinations
- Signal calculation only occurs on new bar formation, avoiding redundant per-tick computation overhead
- Configurable stop loss and take profit with a default 2:1 reward-to-risk ratio providing a foundation for positive expectancy
Weaknesses
- Lacks a spread filter which could lead to unfavorable fills especially if used on shorter timeframes
- Hard-coded magic numbers (greater than 5 / less than 2) for Color buffer thresholds lack documentation on the indicator's value range
- No check for existing same-direction positions, potentially leading to repeated entries and position stacking
- Depends on the external custom indicator ColorSchaffRSITrendCycle; without its source code the signal logic cannot be independently verified
- Functions like LoadHistory and GlobalVariableDel_ depend on the TradeAlgorithms.mqh library, adding external dependency and debugging complexity
Possible improvements
- Add position existence checks before opening new trades to prevent same-direction position stacking and excessive risk exposure
- Implement spread filtering and minimum profit point validation to improve actual execution quality
Risk assessment
Overall risk: Medium
- No same-direction position check may cause position stacking and risk exposure beyond expectations
- Hard-coded Color buffer thresholds lack documentation and may produce incorrect signals if the indicator version changes
- Dependency on external indicator and library files; missing or mismatched versions can cause the EA to fail or generate abnormal signals
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Deposit ratio or fixed lot; negative value for lot size |
MMMode | LOT | Lot sizing mode (free margin/balance/free margin minus floating loss/balance minus floating loss/fixed lot) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max slippage deviation in points |
BuyPosOpen | true | Allow opening buy positions |
SellPosOpen | true | Allow opening sell positions |
BuyPosClose | true | Allow closing buy positions |
SellPosClose | true | Allow closing sell positions |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
Fast_RSI | 23 | Fast RSI period |
Slow_RSI | 50 | Slow RSI period |
AppliedPrice | PRICE_CLOSE | RSI applied price type |
Cycle | 10 | Cycle period length |
HighLevel | +60 | High threshold level |
LowLevel | -60 | Low threshold level |
SignalBar | 1 | Signal bar index |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.