An advanced automated trading system for MetaTrader 4, combining Golden Candle validation, Moving Average & SAR filters, and a 25-level money management system.
- Fully automated entry/exit logic
- Money Management with hardcoded 25-level progression table
- Single-trade safeguard (only one active/pending order per symbol)
- Auto cancel of invalid pending orders on reversal
- SL/TP distance auto-adjust to avoid error 130
- Visual overlay panel (entry, SL/TP, P&L, active/planned levels)
- On-chart control buttons (mode toggle, apply, quick level planning)
MQL4/Experts/GoldenShell.mq4 MQL4/Include/Utils.mqh MQL4/Include/Indicators.mqh MQL4/Include/GoldenCandle.mqh MQL4/Include/LevelSystem.mqh MQL4/Include/OrderManager.mqh MQL4/Include/UI.mqh
LotSizeStart– starting lot sizeGoldenCandleSizePips– user-defined candle sizeSlippage– max allowed slippageSAR_Step/SAR_Max– SAR parametersShowOverlay– show/hide chart panelDebugLog– enable verbose logs
- 25-level progression table (hardcoded)
- After SL → advance to next level
- After TP → reset to Level 1
- Lot size and RR increase progressively to recover losses
- Copy all files to
MQL4/ExpertsandMQL4/Include - Compile
GoldenShell.mq4 - Attach to chart, enable AutoTrading
- Configure inputs
- Watch overlay for real-time status
- Pending orders are auto-canceled if conditions reverse
- Only one trade active at a time
- SL/TP automatically adjusted if too close to market
MIT License (for research and educational use).