This guide explains the most important settings of Gold 6 Hexagon Strategy AI and their default values. You see them in MT5 when you attach the EA to a chart (the Inputs tab). Every group name starts with the strategy it belongs to (S1 … S6). If you are not sure, keep the defaults. They are the settings used in the backtests on this blog.
1. Quick start
- Open a gold (XAUUSD) chart on the H1 timeframe.
- Drag the EA onto the chart and open the Common tab: tick Allow Algo Trading.
- In the Inputs tab, check the lot / risk settings for your balance (about 1,000 USD or more with all 6 strategies on; S3 needs it).
- Click OK and turn on the Algo Trading button in the MT5 toolbar.
- Use a hedging account. Test on a demo account first. For live trading, a VPS keeps the EA running 24/5.
One chart is enough. All six strategies run from the same chart and read their own timeframes inside the EA. Do not attach the EA to a second gold chart on the same account.
2. Turn strategies ON / OFF
Group STRATEGIES ON / OFF at the top. You can also click ON/OFF for each strategy directly on the dashboard. Switching a strategy off stops new entries; its open trades keep their stop and target.
| Setting | Strategy | Default |
|---|
G6_Use_S1 | S1 RSI + EMA Divergence (H1) | true |
G6_Use_S3 | S2 MDR Liquidity (H1) | true |
G6_Use_S4 | S3 H4 Trend Pullback (needs about $1,000+) | true |
G6_Use_SR | S4 AMD Power of 3 | true |
G6_Use_TP | S5 Trend Pullback (M15 / H1) | true |
G6_Use_VW | S6 VWAP + 9/20 EMA Momentum (H1) | true |
Note: some setting names keep their older names (for example G6_Use_S3 switches S2). The comment next to each one in MT5 shows which strategy it belongs to.
3. Majority close
When most strategies agree on a direction, the single trade against them can be closed early. Group MAJORITY CLOSE, also a button on the dashboard.
| Setting | What it does | Default |
|---|
G6_Maj_Enable | Majority close ON/OFF | true |
G6_Maj_MinMajority | Strategies needed on the majority side | 3 |
G6_Maj_MaxMinority | Max strategies on the opposite side | 1 |
G6_Maj_UseTrend / TrendTF / TrendEMA | Price must be on the majority side of this EMA | true, H1, EMA 50 |
G6_Maj_NeedMajorityProfit | Majority trades together must be in profit | true |
G6_Maj_OnlyIfLosing | Close the opposite trade only while it is losing | true |
G6_Maj_MinAgeMinutes | Do not close a trade younger than this | 5 min |
4. Lot size and risk
Each strategy has its own sizing:
| Strategy | Settings | Default |
|---|
G5_S1_Lot_Per_Step | S1: lot per $1,000 of balance | 0.01 per $1,000 |
G5_S3_Lot_Per_Step | S2: lot per $1,000 of balance | 0.01 per $1,000 |
G5_S2_LotStep / G5_S2_BalanceStep | S3: lot per balance step, capped by the S3 risk limits below | 0.02 per $1,000 |
SR_LotMode / SR_RiskPercent | S4: % of balance lost if the stop is hit | risk %, 0.5% |
TP_UseRiskPercent / TP_RiskPercent / TP_MaxLot | S5: risk per trade and max lot | 1%, max 2.0 |
VW_InpLotMode / VW_InpRiskPercent | S6: total risk per signal (split over 3 orders) | risk %, 1% |
| Setting | What it does | Default |
|---|
G5_Max_Lot_Per_Trade | Safety cap for one S1/S2 order | 5.0 |
G5_Lot_Never_Decrease | Keep the highest lot step reached after a drawdown (S1/S2) | true |
G5_S4P_MaxRiskPerTradePct | S3: max loss of one trade at its stop, % of balance | 2% |
G5_S4P_MaxRiskTotalPct | S3: max loss of all open S3 trades together | 4% |
G5_S4P_MinLotMaxRiskPct | S3: use the minimum lot only if its real risk is below this, else skip | 6.5% |
SR_MaxRiskPercentAtMinLot | S4: same idea for small accounts | 3% |
Bigger lots mean bigger wins
and bigger losses. Start small. If you are not sure what lot to use for your balance,
ask on Telegram.
5. Global and live safety
| Setting | What it does | Default |
|---|
G5_Allow_Buys / G5_Allow_Sells | Allow buy / sell trades (S1-S3) | true / true |
G5_Use_Session_Guard | No new entries 15 min after the daily open and before the break | true |
G5_Max_Total_Positions | Max open positions of S1-S3 together | 0 = no limit |
G5_Daily_Loss_Limit_Percent | No new S1-S3 entries for the day after this equity drop | 0 = off |
G5_Friday_Stop_Hour | No new S1-S3 entries on Friday from this hour | 0 = off |
VW_InpMaxDailyLossPct / VW_InpMaxSignalsPerDay | S6 daily loss limit and max signals per day | 4% / 3 |
On top of that, before every order of every strategy the EA checks free margin, the broker volume limit, the minimum stop distance, the freeze level and whether the market is open. This avoids "not enough money", "invalid stops" and "market closed" errors.
6. Filters: AMD PRO, trend strength, trailing
AMD PRO filter (S1, S2, S3)
Asia builds a range, London sweeps one side, then a market structure shift (MSS) and a fair value gap (FVG) confirm the direction for New York. Trades against the confirmed direction are blocked. Also a button on the dashboard.
| Setting | What it does | Default |
|---|
G5_AMD_Enable | Filter ON/OFF | true |
G5_AMD_Asia_Start_Hour / End | Asia range (server hours) | 0 to 7 |
G5_AMD_London_Start_Hour / End | London sweep window (server hours) | 9 to 13 |
G5_AMD_Min_Sweep_Points | How far London must go beyond the Asia high/low | 150 points |
G5_AMDP_TF | Detection timeframe (sweep, MSS, FVG) | M6 |
G5_AMD_Apply_S1 / S3 / S4 | Apply to S1 / S2 / S3 | true / true / true |
S5 has its own AMD filter (TP_AMD_Enable, Asia 01-09, London 09-14).
Trend-strength (choppy market) filter
Blocks entries when the market is going sideways. Available for S1, S2, S3, S5 and S6.
| Setting | What it does | Default |
|---|
G5_S1/S3/S4_UseTrendStrength | ON/OFF for S1, S2, S3 (shared H1 settings: CHOP max 65, ER min 0.10) | true |
TP_UseTrendStrengthFilter | S5: CHOP max 59, ER min 0.40, EMA separation and slope | true |
VW_UseTrendStrengthFilter | S6: CHOP max 65, ER min 0.10 on H1 | true |
Trailing stop (S1, S2, S3)
| Setting | What it does | Default |
|---|
G5_Trail_Master_Enable | Trailing ON/OFF for S1-S3 (also a dashboard button) | true |
G5_Trail_S1_Enable / S3 / S4 | Trailing for S1 / S2 / S3 | false / false / true |
7. Settings of each strategy
S1 RSI + EMA Divergence
| Setting | What it does | Default |
|---|
G5_S1_TF | Timeframe | H1 |
G5_S1_EMA_Period / G5_S1_RSI_Period | EMA and RSI periods | 200 / 5 |
G5_S1_Divergence_Lookback | Bars searched for divergence | 50 |
G5_S1_RR | Take profit = this x risk | 3.0 |
G5_S1_Max_Spread_Points | Skip if spread is above | 40 |
S2 MDR Liquidity
| Setting | What it does | Default |
|---|
G5_S3_TF | Timeframe | H1 |
G5_S3_Start_Hour ... G5_S3_End_Hour | Trading window (server time) | 08:30 to 14:59 |
G5_S3_Liquidity_Lookback | Bars used to find liquidity | 25 |
G5_S3_RR | Take profit = this x risk | 3.2 |
G5_S3_Max_Spread_Points | Skip if spread is above | 35 |
S3 H4 Trend Pullback
(Its settings start with G5_S2_ because of their history. Pips here: 1 pip = 0.10 on gold.)
| Setting | What it does | Default |
|---|
G5_S2_StartHour ... G5_S2_FinishHour | Trading window (server time) | 11:00 to 22:59 |
G5_S2_TakeProfitPip / G5_S2_StopLossPip | Take profit / stop loss in pips | 350 / 600 |
G5_S2_TrendTF / G5_S2_TrendMinATR | Trend timeframe and minimum trend move | H4 / 3.0x ATR |
G5_S2_CloseAtFriday | Close S3 trades before the weekend | true |
G5_Break_S4_Enable | Pause S3 for 2 days after 2 losing days in a row | true |
G5_S4P_DailyLossCapPct | Close S3 and stop for the day at this S3 loss | 6% |
S4 AMD Power of 3
New in Gold 6 Hexagon Strategy AI: S4 is now the AMD Power of 3 strategy (Accumulation, Manipulation, Distribution). It replaces the old M30 Support / Resistance Breakout, so the old S4 breakout settings no longer apply. Its settings are in the S4 group of the EA inputs, and every S4 trade also passes the trend direction, choppiness, market-efficiency and trend-slope filters. The default S4 values are the ones used in the IC Markets backtest.
S5 Trend Pullback
| Setting | What it does | Default |
|---|
TP_TradeTF / TP_TrendTF | Entry and trend timeframes | M15 / H1 |
TP_FastEMA / TP_SlowEMA / TP_SignalEMA | Trend EMAs and pullback EMA | 20 / 50 / 10 |
TP_StopATRMult | Stop loss (x ATR) | 2.8 |
TP_TP1_RR / TP_PartialClosePercent / TP_TP2_RR | Partial close at TP1, final target | 4R, 90%, 6R |
TP_UseTrailing | Break-even + EMA trailing | true |
TP_UseSellHours | Sells only 02:00-12:00 server time | true |
S6 VWAP + 9/20 EMA Momentum
| Setting | What it does | Default |
|---|
VW_InpTimeframe | Strategy timeframe (works on any chart) | H1 |
VW_InpFastEMA / VW_InpSlowEMA | Momentum EMAs | 9 / 20 |
VW_InpUseDailyFilter | Daily 20/50/200 SMA trend filter | true |
VW_InpOrdersPerSignal / VW_InpTPLevelsR | Orders per signal and their targets | 3 / 1R, 2R, 3R |
VW_InpBreakEvenR | Move stop to break-even at | 1.5R |
VW_InpExitEMACross | Close on a 9/20 cross against the trade | true |
VW_InpUseATRTrail | Optional ATR trailing stop | false |
8. Dashboard
| Setting | What it does | Default |
|---|
G6_Dash_Show | Show the results panel on the chart | true |
G6_Dash_X / G6_Dash_Y | Panel position | 12 / 26 |
G6_Dash_Font | Text size | 9 |
G6_Dash_Opacity | 100 = solid, lower = see the chart through it | 100 |
G6_Dash_Keep_After_Test | Keep the final results on screen after a visual backtest | true |
The dashboard counts every trade of every strategy, including trades you close by hand. For faster backtests, keep G5_Tester_Show_Journal_Log = false and raise G6_Dash_Redraw_Ms.
9. Magic numbers
Each strategy marks its trades with its own magic number and a short comment (for example S1 BUY, S4 SELL), so you can see in the history which strategy opened which trade. Change them only if you run the EA on two charts of the same account.
| Setting | Strategy | Default |
|---|
G5_S1_Magic | S1 RSI + EMA Divergence | 51001 |
G5_S3_Magic | S2 MDR Liquidity | 51003 |
G5_S2_Magic | S3 H4 Trend Pullback | 222 |
SR_MagicNumber | S4 AMD Power of 3 | 30092201 |
TP_MagicNumber | S5 Trend Pullback | 26041007 |
VW_InpMagic | S6 VWAP + 9/20 EMA Momentum | 920920 |
10. Server time: important
All hours in the settings are broker server time (the time shown in MT5 Market Watch). If your broker uses a different server time, the session hours (Asia/London, the trading windows) may need to be moved. Test in the Strategy Tester on your own broker before trading live.
More help: FAQ · Testing Results & free demo · Telegram @Gold5EA
Trading involves risk. Backtest results do not guarantee future results. Not financial advice.
Comments
Post a Comment