Trading Gold with Profectus.AI
The Gold Breakout System is built in Profectus.AI and designed to capture daily inside-bar breakouts on XAUUSD (Gold).
Tested on high-quality tick data (99% modeling quality) over 5.5 years, it delivered a 70% return with a max drawdown of 15% — a stable 1:5 return-to-drawdown ratio.
Step 0: Access the Trading System Template [1 Min]
Click the button to load the trading system directly onto your canvas:
Your canvas should display 12 blocks as shown below. Check? Let's continue!
Step 1: Export the Trading System [1 Min]
Before diving into customization, export the trading system with the upper right 'DOWNLOAD' button.
Step 2: Upload to MetaTrader 5 [4 Min]
Don't know how? Refer to our help article How to run your trading system live on your broker account.
Step 3: Understand the Logic [1 Min]
The logic is simple:
Every day at 2 AM, the EA checks for an inside bar (yesterday's high < the day before's high, and yesterday's low > the day before's low).
If an inside bar forms, it places pending orders around the breakout range.
Trades run on the daily timeframe, giving stability and avoiding lower-timeframe noise.
This setup wins only about one-third of trades — but the average winner is 3x the size of a loser. By cutting losses early and letting winners run, the system maintains profitability with a smooth equity curve.
How It Works in Profectus.AI
Time Check Block → Runs only Mon–Fri, starting at 2:00 AM.
Inside Bar Block → Confirms candle structure (yesterday inside the range of the day before).
Risk Control Block → Caps open/pending orders at 5 to avoid overexposure.
Buy/Sell Pending Orders → Placed at breakout levels.
Management Block → Lets trades run with a 1:3 risk-reward by default.
Step 4: Make It Your Own [10 Min]
You can tweak this system inside Profectus.AI in minutes:
Change the timeframe
Daily is most stable, but try 4H or Weekly.
Run a backtest in Profectus to see how noise vs. trend affects outcomes, then compare the runs in the Backtests panel.
Adjust the risk model
Default = fixed lot. Try % of balance or ATR-based stop loss.
Backtest in Profectus and compare different drawdown profiles in the Backtests panel.
Modify exit logic
Stick with the default 1:3 R:R, or reel in profits earlier at 1:1 / 1:2.
Backtest in Profectus to test which curve feels safer for you, then compare the runs in the Backtests panel.
Add filters
Layer a Moving Average trend filter to avoid breakouts against the trend.
Run a backtest in Profectus to see if false breakouts reduce, then compare the runs in the Backtests panel.
Conclusion
This EA is a ready-to-use, transparent inside-bar breakout system for Gold.
It's stable, profitable, and built entirely in Profectus.AI's no-code builder.
You can run it as-is or tweak, export, and optimize to match your trading style.
Templates are for educational purposes only.
Now it's your turn—apply the template, tweak the logic, and make it yours. 🚀

