
Complete Relaxation EA - Comprehensive Guide
"Trade with Peace of Mind – Let the Market Work for You!"
🔹 Overview
The Complete Relaxation EA is a MetaTrader 4 Expert Advisor designed for forex trading. It uses fractals and price action to identify trading opportunities while incorporating advanced risk management and martingale strategies (optional). The EA is optimized for flexibility, allowing traders to adjust risk levels, lot sizing, and trade management rules.
📌 Key Features:
✅ Fractal-Based Strategy – Uses fractals to detect potential reversals.
✅ Risk Management – Supports fixed lot size, percentage risk, and martingale modes.
✅ Trade Restrictions – Allows trading only on specific days/hours.
✅ Trailing Stop & Break-Even – Protects profits with dynamic stop-loss adjustments.
✅ Basket Profit/Loss Close – Closes all trades if a certain profit/loss threshold is reached.
✅ Spread Control – Avoids trading when spreads are too high.
✅ Multiple Take Profit & Stop Loss Options – Configurable TP/SL levels.
🔧 Input Parameters
🎯 Strategy Settings
Strategy – Strategy selection (default: 0).
RealTakeProfit – Take profit in pips (default: 29).
RealStopLoss – Stop loss in pips (default: 0).
PipStep – Distance between trades (default: 21).
VirtualTrades – Number of virtual trades (default: 5).
VirtualTakeProfit – Virtual TP in pips (default: 34).
LotMultiplier – Multiplier for martingale (default: 1.7).
MaxBuyTrades – Maximum buy trades (default: 5).
MaxSellTrades – Maximum sell trades (default: 5).
💰 Money Management
MM – Money management mode (0 = Fixed Lot, 1 = Risk-Based).
Risk_ – Risk percentage per trade (default: 0.5).
ManualLot – Fixed lot size (default: 0.01).
DD_StoplossPct – Closes all trades if drawdown reaches this percentage (default: 50%).
FloatingTP_Pct – Closes all trades if floating profit reaches this percentage (default: 5%).
⚙️ Trade Execution & Restrictions
ECN – Enables ECN mode (default: TRUE).
Slippage – Allowed slippage in pips (default: 6).
StartingTradeDay – First trading day (default: 0 = Sunday).
EndingTradeDay – Last trading day (default: 6 = Saturday).
RestartHours – Time gap before restarting trades (default: 10 hours).
📊 Display & Advanced Settings
MagicNumber – Unique trade identifier (default: 29988).
ChartDisplay – Shows EA info on chart (default: TRUE).
TrailingMode – Trailing stop mode (1 = Classic, 2 = Dynamic).
TrailingStep – Distance for trailing stop (default: 2 pips).
TrailTP – Trailing take profit (default: 3 pips).
TrailSL – Trailing stop loss (default: 3 pips).
📊 How It Works
Entry Conditions:
BUY Signal:
Lower fractal detected.
Price closes above previous candle.
SELL Signal:
Upper fractal detected.
Price closes below previous candle.
Exit Conditions:
Take Profit – Closes trades at fixed or trailing TP.
Stop Loss – Uses fixed or dynamic SL.
Basket Close – Closes all trades if profit/loss thresholds are met.
Risk Management:
Fixed Lot Size – Uses ManualLot.
Risk-Based Sizing – Adjusts lot size based on account balance.
Martingale Mode – Multiplies lot size after losing trades.
📌 Important Notes
✅ Best for trending & volatile markets (fractals work well in strong trends).
✅ Avoid high-spread conditions (adjust maxspread).
⚠️ Martingale increases risk – Use with caution.
⚠️ Backtest before live trading – Optimize TakeProfit & StopLoss.
🔄 Optimization Tips
Test different fractal shift periods.
Adjust lot multiplier for martingale.
Fine-tune trading hours to avoid low-liquidity periods.
📜 Developer & Source
Developer: R.KH 1001
Official Website: https://www.robomql.com
"Trade Smart, Stay Relaxed – Let Complete Relaxation EA Do the Work!" 🚀