Smart Reversion
- Uzmanlar
- Tomas Langer
- Sürüm: 1.0
- Etkinleştirmeler: 10
Intelligent RSI-Based Mean Reversion With Multi-Layer Filtering
Smart Reversion is a professional Expert Advisor designed for mean-reversion trading. Built on a thoroughly backtested 3-layer entry logic, this EA combines RSI (Relative Strength Index) extremes with intelligent volatility and price action filters to capture high-probability reversals while minimizing false signals.
Default parameters are optimized for EUR/USD M15. The strategy can be adapted to other currency pairs and timeframes through parameter optimization, including: AUD/USD, GBP/USD, USD/JPY, NZD/USD, AUD/NZD, USD/CAD, and timeframes M5, M15, M30, H1. Each pair and timeframe requires individual optimization for optimal results.
Key Features
Smart 3-Layer Entry System
• Layer 1: RSI Mandatory Trigger (oversold/overbought detection)
• Layer 2: ATR (Average True Range) Volatility Filter (trades only during expansion)
• Layer 3: MA (Moving Average) Pullback Filter (ensures mean-reversion setup)
Only trades when all conditions align for higher probability setups.
Advanced Averaging with Smart Support/Resistance
• Position averaging at technical support/resistance levels
• 4 detection methods: Fractals, Moving Average, Daily Pivots, or Combined
• Unified stop loss synchronization across all positions
• Controlled risk with maximum position limits
Adaptive Exit Management
• Dual trailing mode: Fixed pips or ATR-based (volatility adaptive)
• Automatic break-even protection after time threshold
• Time-based exit to prevent positions from aging
• Group-mode trailing for averaged positions
Universal Symbol Support
• Auto-detection of pip value (Forex, Indices, Metals, JPY pairs)
• Works on any broker with standard MT5 execution
• Default settings optimized for EUR/USD M15
• Adaptable to other pairs with parameter optimization
• Multi-timeframe capability (M5, M15, M30, H1)
Professional Risk Management
• Fixed pip-based stop loss and take profit
• Customizable position sizing
• Automatic margin check before each trade
• Volume limit validation (broker compatibility)
• Safe order modification with freeze level handling
• Stop level validation with safety buffer
Strategy Logic
Smart Reversion operates as a mean-reversion trader, exploiting temporary price extremes and mean-reversion tendencies:
Entry Trigger
Price must reach RSI extremes to identify potential reversal zones.
Volatility Confirmation
Fast ATR must exceed Slow ATR by specified ratio. This ensures volatility is expanding, not contracting, and avoids low-volatility chop and false breakouts.
Pullback Validation
Price must be within defined distance from moving average. This confirms price has pulled back to mean and creates favorable risk-reward entry at support/resistance.
Position Management
Optional averaging when price moves against position. Smart support/resistance detection ensures quality averaging points. Unified stop loss keeps all positions synchronized. Trailing stop locks in profits as market moves favorably.
Customizable Parameters
Entry Control
• Adjustable RSI levels (20-40 oversold, 60-80 overbought)
• ATR expansion ratio (0.9-1.5x typical range)
• MA pullback distance (1.5-4.0 ATR multiples)
Averaging Settings
• Enable/disable averaging independently
• Choose support/resistance detection method (Fractals, MA, Pivots, or All)
• Set position limits and minimum spacing
• Control averaging volatility threshold
Exit Management
• Dual trailing mode: Fixed pips (20-50) or ATR-based (1.5-3.0 multiplier)
• Break-even activation time (12-48 hours)
• Maximum hold time (24-72 hours)
• Take profit target in pips
Risk Parameters
• Independent lot sizing
• Fixed pip-based stop loss and take profit
• Automatic broker limit validation
Parameter Guide
═══ Timeframe ═══
Timeframe - Chart timeframe for EA operation
═══ Risk Management ═══
LotSize - Base position size in lots
StopLoss_Pips - Initial stop loss distance in pips
TakeProfit_Pips - Take profit target in pips
═══ RSI ═══
RSI_Period - RSI calculation period
RSI_Oversold - Oversold threshold for BUY signals
RSI_Overbought - Overbought threshold for SELL signals
═══ Volatility Filter ═══
UseVolatilityFilter - Enable/disable ATR expansion filter
ATR_Period - ATR calculation period
ATR_Ratio - Fast ATR must exceed Slow ATR × ratio (expansion filter)
═══ Price Action Filter ═══
UsePriceActionFilter - Enable/disable MA pullback filter
MA_Period - Moving Average period for pullback detection
MA_Distance - Maximum distance from MA in ATR multiples
═══ Averaging ═══
UseAveraging - Enable position averaging
UseUnifiedSL - Sync all positions to same SL level
MaxPositions - Maximum number of positions in one direction
MinDistance_Pips - Minimum distance between positions
UseAvgFromFirst - Calculate distance from first position (vs average price)
═══ Smart Averaging ═══
UseSmartSR - Average only at Support/Resistance levels
SmartSR_Mode - S/R detection: 0=Fractals, 1=MA, 2=Pivots, 3=Combined
FractalStrength - Fractal wing size in bars
FractalMaxBars - Maximum bars to scan for fractals
FractalToleranceATR - Fractal match tolerance in ATR multiples
MA_SRPeriod - MA period for S/R detection
MA_SRToleranceATR - MA proximity tolerance in ATR multiples
PivotToleranceATR - Pivot point proximity tolerance in ATR multiples
ATR_Ratio_Avg - ATR expansion ratio for averaging entries
═══ Exit ═══
UseTrailingStop - Enable trailing stop system
UseFixedTrailing - Switch: false=ATR mode, true=Fixed pips mode
TS_Fixed_Pips - Fixed trailing distance in pips
TS_ATR_Multi - Trailing distance in ATR multiples (only when UseFixedTrailing=false)
TS_Start_Pips - Minimum profit before trailing begins
TS_GroupMode - Trail from group average price vs individual positions
UseTimeExit - Close positions after maximum hold time
MaxHours - Maximum position hold time in hours
UseBreakEven - Move SL to breakeven after time threshold
BreakEven_Hours - Hours before activating break-even
═══ Tech ═══
MagicNumber - Unique identifier for EA orders
EA_Comment - Order comment prefix
Important Notes
Default Settings: Optimized specifically for EUR/USD M15 timeframe.
Other Pairs: Require parameter optimization for optimal performance.
Other Timeframes: Require parameter adjustment, especially RSI levels and trailing distance.
Backtesting: Thoroughly test on demo account before live trading.
Risk Management: Always use appropriate lot sizing for your account size.
Risk Disclaimer
Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always use proper risk management and never trade with money you cannot afford to lose. Test thoroughly on demo account before live trading. Smart Reversion is a trading tool. Success depends on proper parameter settings, market conditions, and risk management. The developer is not responsible for any losses incurred while using this product.
