AI Multi Strategy Gold Portfolio Trader
- Experts
-
Fadi Hassan Khaled Ghanem
MQL4/MQL5 developer based in Jordan. I have published 169 MetaTrader 5 products on the MQL5 Market (about 8,800 downloads in total).
What I build:
- Custom Expert Advisors from your own trading rules
- Indicators, alerts and multi-timeframe dashboards - Versione: 1.1
Four uncorrelated rule sets for gold, managed as one portfolio.
How it works
The EA runs four independent strategies on the chart symbol. Each one has its own switch, direction mode (buy and sell, buy only or sell only), risk percent, ATR stop loss and ATR take profit.
Strategy A follows the H1 trend and trades crossovers of EMA 21 and EMA 50.
Strategy B waits for an M15 Bollinger Band squeeze (band width near its lookback low) and enters when a candle closes outside the band.
Strategy C waits for M30 RSI 14 to dip and recover in the direction of the H4 EMA 100 trend.
Strategy D trades the daily range breakout. It enters when an M15 candle closes beyond the previous day high or low, at most once per day.
Each strategy uses its own magic number (base magic plus 0 to 3) and holds at most one position. Strategies never hold opposite positions at the same time, and on netting accounts only one position is allowed.
Key features
- Four strategies with separate switches, direction modes and risk
- Trend, squeeze breakout, pullback and daily breakout logic
- Separate magic number per strategy
- ATR based SL and TP on every trade
- Break-even and ATR trailing stop per strategy
- No grid, no martingale, no averaging, no hedging
Recommended
XAUUSD on any chart timeframe. It also works on other symbols such as indices and major pairs.
Inputs
Maximum lot cap, base magic number, ATR period, break-even and trailing distances, and for each strategy: enable, direction mode, risk percent, indicator periods and levels, SL and TP in ATR.
Risk note
Gold is volatile and trading involves substantial risk. Running several strategies can open several positions at once. Test on a demo account first.
Need this tool customized for your own strategy, or an advanced version with extra filters and alerts? Send me a private message on MQL5 and I will reply with an estimate.
