Gold Breakout Engine

Six gold breakout strategies managed by one Expert Advisor on one chart.

Setup guide

  1. Unpack the downloaded zip file.
  2. Open your running MetaTrader 5 terminal.
  3. Click File -> Open Data Folder.
  4. Inside the terminal data folder, open MQL5/Experts.
  5. Copy GBE_Public_Test.ex5 from the extracted zip folder into the MQL5/Experts folder.
  6. Copy the included .set files into MQL5/Profiles/Tester if you want them available from the Strategy Tester input loader.
  7. Return to MetaTrader 5 and refresh the Navigator.
  8. Open your broker's gold symbol, such as XAUUSD.
  9. Drag the Gold Breakout Engine from the Navigator onto the XAUUSD chart.
  10. Load a set file for your account size and preferred setup.
  11. Check allocations, drawdown limits and the Magic Number.
  12. Complete authentication and enable Algo Trading.
  13. Test the setup with your broker's spread and commission before live use.

Use only one EA instance per account so its saved state remains unambiguous.

Continuing a saved run

Saved allocation setup

Keep saved progress and saved allocations for matching strategies.

New allocation setup

Keep saved progress but apply the currently selected allocations.

Start without saved progress

Delete saved runtime progress and start from the current inputs.

Strategies are matched by Magic Number and Comment. If the saved and selected setups match, the EA restores the run automatically.

How the portfolio works

Each strategy has its own capital allocation, simulated balance and drawdown limits. The Portfolio Manager also monitors the combined result.

Using several strategies reduces dependence on one trading idea. Their weaker periods may occur at different times, which smoothens the combined result. Diversification can reduce risk, that is why it is recommended to operate more strategies in the portfolio at once.

Set files and parameters

Each strategy has Allocation, Daily Drawdown and Overall Drawdown settings. The Portfolio has its own Overall Drawdown limit.

Risk level: the indicated approximate drawdown assumes that all strategies selected by that configuration run together. Using fewer strategies reduces diversification and can increase drawdown. The indicated value is not a guarantee.

forward_demo_setfiles - live demo

These files use the three Cascade Breakout strategies. Some configurations enable only one or two of them.

FileAccountRiskStrategies
Demo_Small_CB3ONLY_ACCOUNTPERCENTBASED_MODAGGR≈ 1,000 USDModerately Aggressive1
Demo_Small_CB1ONLY_ACCOUNTPERCENTBASED_MODAGGR≈ 1,000 USDModerately Aggressive1
Demo_Medium_DUO_EQUAL_ACCOUNTPERCENTBASED_MODAGGR≈ 3,500 USDModerately Aggressive2
Demo_Medium_ALL_EQUAL_ACCOUNTPERCENTBASED_MODAGGR≈ 3,500 USDModerately Aggressive3
Demo_Big_DUO_EQUAL_ACCOUNTPERCENTBASED_CONS≈ 10,000 USDConservative2
Demo_Big_ALL_EQUAL_ACCOUNTPERCENTBASED_MOD≈ 10,000 USDModerate3
Demo_Medium_ALL_EQUAL_MONEYBASED1000_MODAGGR3,333 USDModerately Aggressive3
Demo_Big_ALL_EQUAL_MONEYBASED3333_MODAGGR11,110 USDModerately Aggressive3
Real_EA_Setfiles - complete portfolio

Use these files in the Strategy Tester during the demo release.

Small - 250 to 1,000 USD

FileAccountRiskStrategies
Real_Small_Balanced_2STRAT_PERCENT_MODAGGR≈ 700 USDModerately Aggressive2
Real_Small_Growth_2STRAT_PERCENT_AGGR≈ 700 USDAggressive2
Real_Small_Trio_3STRAT_PERCENT_AGGR≈ 1,000 USDAggressive3
Real_Small_Money_2STRAT_MONEY_AGGR700 USDAggressive2
Real_Small_CascadeBreakout1_1STRAT_PERCENT_MODAGGR≈ 700 USDModerately Aggressive1
Real_Small_NormalBreakout1_1STRAT_PERCENT_MODAGGR≈ 700 USDModerately Aggressive1

Medium - 1,000 to 6,000 USD

FileAccountRiskStrategies
Real_Medium_Conservative_4STRAT_PERCENT_CONS≈ 3,500 USDConservative4
Real_Medium_Balanced_6STRAT_PERCENT_MOD≈ 3,500 USDModerate6
Real_Medium_Growth_4STRAT_PERCENT_MODAGGR≈ 3,500 USDModerately Aggressive4
Real_Medium_Aggressive_3STRAT_PERCENT_AGGR≈ 3,500 USDAggressive3
Real_Medium_Patience_4STRAT_PERCENT_MOD≈ 3,500 USDModerate4
Real_Medium_Money_6STRAT_MONEY_MODAGGR3,500 USDModerately Aggressive6

Big - 6,000 USD and up

FileAccountRiskStrategies
Real_Big_Institutional_3STRAT_PERCENT_INST≈ 10,000 USDInstitutional3
Real_Big_Defensive_4STRAT_PERCENT_DEF≈ 10,000 USDDefensive4
Real_Big_Conservative_4STRAT_PERCENT_CONS≈ 10,000 USDConservative4
Real_Big_Balanced_6STRAT_PERCENT_MOD≈ 10,000 USDModerate6
Real_Big_ModernRegime_5STRAT_PERCENT_MOD≈ 10,000 USDModerate5
Real_Big_Patience_5STRAT_PERCENT_MOD≈ 10,000 USDModerate5
Real_Big_Gainer_6STRAT_PERCENT_MODAGGR≈ 10,000 USDModerately Aggressive6
Real_Big_Money_6STRAT_MONEY_CONS10,000 USDConservative6

Rebalancing

Rebalancing returns strategy capital toward the configured allocation so one strategy does not gradually dominate portfolio risk.

Scheduled automatic rebalancing is currently available only in the Strategy Tester. Live automatic rebalancing is planned for a later release.

On-chart interface

Settings panel