Seasonal Rsi Roc Pro
- Experts
- Version: 1.0
- Activations: 5
**Seasonal RSI/ROC Pro – Automated Seasonal System for S&P 500 CFDs**
Seasonal RSI/ROC Pro is a rule-based, long-only Expert Advisor for MetaTrader 4 that trades seasonal market phases on the S&P 500 (SPX / US500 / SPY) on a daily basis (D1). Rather than trading every short-term market fluctuation, the EA enters a maximum of one trade per season: starting October 1, it buys at the Next Open as soon as `RSI(10)` freshly crosses above 45, and exits at the Next Open once `ROC(40)` falls below +2.0% starting April 15 (or by early October at the latest)—combined with automated 1% risk management based on your account balance.
**Highlights at a Glance**
* **Seasonal Entry Starting October 1:** Waits for a fresh upward cross of the daily `RSI(10)` above 45.0 (`RSI(10)[1]` greater than 45.0 and `RSI(10)[2]` less than or equal to 45.0) and opens a position at the next daily open.
* **Strict 1-Trade-Per-Season Rule:** Tracks the traded season (including checking order history upon EA restarts) so that at most one trade is opened per season.
* **Seasonal Exit (`ROC(40)` below +2.0% from April 15):** Closes the position starting April 15 at the next daily open as soon as the 40-day Rate of Change (`ROC(40)`) drops below +2.0%.
* **Safety Exit in Early October:** Closes the position at the next daily open by October 1 at the latest if `ROC(40)` has remained above +2.0%, freeing up capital for the new cycle.
* **Automated 1% Money Management & MQL5 Compliance:** Dynamically calculates lot size from account balance (1.0% default risk) and `ATR(14)`, including spread protection and broker validation.
**Recommended Markets & Timeframes**
* **Best Markets:** Broad US equity index CFDs such as US500 / SPX500 / SPX / SPY (S&P 500).
* **Chart Timeframe:** D1 (Daily chart) or H1 (1 Hour) – all seasonal checks, `RSI(10)` crossovers, and `ROC(40)` calculations run fixed on closed D1 candles and execute at the next daily open.
**How the Strategy Works Step by Step**
1. **New Daily Candle & Spread Check:** At the start of a new daily candle, provided the spread is normal (less than or equal to `InpMaxSpreadPoints`), the EA evaluates the just-closed daily candle (Shift 1).
2. **Seasonal Long Entry (Starting October 1, Max. 1 Trade/Season):**
* Checks whether the current date falls within the seasonal entry window (starting `InpEntryMonth = 10`, `InpEntryStartDay = 1`) and whether no trade has yet been opened for the current season.
* Detects a fresh cross of the daily `RSI(10)` above `InpRSICrossLevel` (45.0) and opens a long position at the next daily open.
3. **Seasonal Exit (`ROC(40)` below +2.0% from April 15 or Early October):**
* Once at least one trading day has passed after entry (`daysHeld` greater than or equal to 1) and April 15 is reached (`InpExitCheckMonth = 4`, `InpExitCheckDay = 15`), the EA monitors `ROC(40)` (`((Close[1] - Close[1 + 40]) / Close[1 + 40]) * 100`).
* If `ROC(40)` falls below `InpROCExitMinPct` (+2.0%), the position is closed at the next daily open.
* If `ROC(40)` remains at or above +2.0%, the exit takes place at the next daily open no later than the configured cutoff date in early October (`InpForceExitMonth = 10`, `InpForceExitDay = 1`).
**Automated 1% Risk Management**
* **Account-Balance-Based Lot Sizing (`InpUseAutoMM = true`):** Determines the risk amount via `AccountBalance() * (InpRiskPercent / 100.0)` (default 1.0%) and scales the lot size based on the volatility distance `ATR(14) * InpATRStopMult` (default 4.0x for multi-week/multi-month holding periods).
* **Catastrophe Stop Loss (`InpSendHardStopLoss`):** Optionally places a wide 4.0x `ATR(14)` stop loss with the broker to protect the account against extreme market shocks during the holding phase.
**Risk Disclaimer:** Trading leveraged CFDs involves significant risk of loss. Past backtest results are no guarantee of future profits—please test the EA beforehand in the Strategy Tester and on a demo account using your broker's conditions.
