TriGold Zenith: user manual and set files

TriGold Zenith: user manual and set files

25 November 2026, 14:54
Abriel Dellosa Rivera
0
4

MT5 gold swing breakout Expert Advisor · Version 1.00 · November 2026

Trading leveraged products carries a high level of risk. Backtest results are not a promise of future returns.

This is the full user manual for TriGold Zenith 1.00, the MetaTrader 5 gold swing breakout Expert Advisor. The three ready-made set files (Prop-firm, Standard, Risky) are attached at the bottom of this post.

Product page: TriGold Zenith. Want all three TriGold engines? See TriGold Pro. The dawn-breakout engine is also sold alone as TriGold Orient.

Contents: 1. What TriGold Zenith is · 2. Requirements and account size · 3. Installation and first start · 4. How it trades · 5. The seven presets · 6. The dashboard · 7. Risk management and the prop-firm guard · 8. The three set files and backtest results · 9. Input parameters · 10. News filter, Telegram alerts and logs · 11. Troubleshooting and FAQ · 12. Risk warning

1. What TriGold Zenith is

TriGold Zenith (version 1.00) is a MetaTrader 5 Expert Advisor that trades gold breakouts of recent swing highs and lows. Seven presets watch three timeframes (D1, H4 and H1). Each keeps a hidden breakout level per side and turns it into a real stop order only when price comes close.

It is the Zenith engine of TriGold Pro, sold on its own. It has the same dashboard, risk manager and prop-firm guard. If you later move to TriGold Pro, its Zenith engine trades by the same rules.

Symbol Gold (XAUUSD, GOLD ...), found automatically
Chart Any; M15 or H1 recommended (Zenith reads D1, H4, H1, M15, M5 and M1 itself)
Presets Seven (Z1–Z7), switched on by the Frequency setting or one by one
Stop loss On every order, a percentage of price set per preset
Not used Grid, martingale, averaging down, hedging of losing trades

2. Requirements and account size

TriGold Zenith needs MetaTrader 5, a hedging account and a gold symbol. A balance of 10,000 USD (or 100 USD on a cent account) matches the backtests.

  • Account type: hedging. Each preset can hold its own positions, so Zenith stays idle on a netting account (the dashboard says "Needs a hedging account").
  • Symbol: gold (XAUUSD, GOLD, XAUUSD.r and similar). For auto-detection the name must contain XAU or GOLD.
  • Leverage: 1:100 or higher (the backtests use 1:100).
  • Uptime: a VPS is recommended. Levels are hidden inside the EA, so they only turn into orders while the terminal runs.

How the balance matters. The lot size is the preset's risk divided by the distance to its stop, but never less than the smallest lot (0.01). Several presets use wide stops (up to about 4% of price), so on smaller balances those presets trade 0.01 lot at a higher risk than their share of the meter.

Account Balance What to expect
Minimum about 5,000 USD (50 USD cent) Most presets trade 0.01 lot; the widest stop risks about 3% of the account
Recommended 10,000 USD or more (100 USD cent) Matches the backtests; the widest-stop presets still trade 0.01 lot (about 1.5% on the widest stop)
Cent account 100 USD (10,000 US cents) Trades like the 10,000 USD backtest, because a cent account's 0.01 lot is a hundred times smaller

There is no small-account block: Zenith always trades at least 0.01 lot. On a small account, lower the risk meter or switch off the presets with the widest stops (Section 5).

3. Installation and first start

Attach TriGold Zenith to one XAUUSD chart, load a set file and switch on Algo Trading. The dashboard then shows "Active".

  1. Buy or rent TriGold Zenith in the MQL5 Market from inside MetaTrader 5 (Toolbox > Market). It appears under Navigator > Expert Advisors > Market.
  2. Download the three set files attached to this post (TriGold_Zenith_propfirm.set, TriGold_Zenith_standard.set, TriGold_Zenith_risky.set). Save them in the terminal's MQL5\Presets folder (File > Open Data Folder).
  3. Tools > Options > Charts: set Max bars in chart to 100,000 or more.
  4. Open an XAUUSD chart and scroll back a few weeks once, so the M1, M5, M15, H1, H4 and D1 history downloads.
  5. Drag TriGold Zenith onto the chart. On the Inputs tab press Load and pick a set file, then OK.
  6. Press Algo Trading in the toolbar so it turns green.
  7. Check the dashboard: Active, the gold symbol and H1 in the header chip, magic 168373xxxx and v1.00 in the footer.

Telegram alerts (optional): tick Tools > Options > Expert Advisors > Allow WebRequest and add https://api.telegram.org. Section 10 covers the rest.

Run only one TriGold Zenith per account. A second copy on another chart would trade gold twice. TriGold Zenith uses its own magic numbers, so it can run next to TriGold Pro or TriGold Orient, but then gold is traded by each of them.

4. How it trades

  1. Swing. Each preset finds the last swing high and swing low on its timeframe: a bar whose high (or low) is the extreme of a set number of bars on both sides. Small swings below a minimum size are ignored.
  2. Hidden level. The preset places its buy level just inside the swing high and its sell level just inside the swing low. The level lives inside the EA; the broker sees nothing yet. Each preset keeps one level per side, and a newer level replaces an older one.
  3. Arming. When price comes within 0.15% of a level, the EA sends a real stop order with the preset's stop loss and take profit. If price moves more than 0.30% away again, the order is withdrawn and the level goes back to hidden. A level that is never reached expires after 15 to 35 hours, depending on the preset.
  4. Trade management, per preset. Break-even: the stop moves to entry once the trade is a set distance in profit. Trailing: the stop follows price once the trade is further in profit. Bounce exit: once a trade has gone a set distance against you, its target moves close to the entry, so it closes on a small bounce instead of running to the stop.
  5. Filters: no entry while the spread is above the Max spread (0.50 price), during the rollover buffer (the last and first 30 minutes of the server day), or around high-impact news (the news filter is obeyed by default).

With Hide orders = No, every level is sent to the broker as a stop order at once instead of waiting until price is close.

5. The seven presets

Preset Swing timeframe Frequency level that first switches it on Risk per trade at meter 10
Z1 D1 Extremely low 0.71%
Z2 H4 Extremely low 0.26%
Z3 H1 Extremely low 0.75%
Z4 H1 Low 0.26%
Z5 H1 Moderate 0.12%
Z6 H1 High 1.07%
Z7 D1 High 0.32%
  • Frequency: Extremely low (Z1–Z3), Low (Z1–Z4), Moderate (Z1–Z5), High (all seven, default), Manual (switch presets on or off yourself on the Engine tab).
  • Risk meter: one number sets the risk for all presets. Each preset's risk per trade is the meter's share times the preset's weight, as in the table. It does not depend on how many presets are on, so switching one off does not raise the others. Risk scales with the meter: meter 5 halves every figure, meter 30 triples it. The figures are before the 0.01-lot minimum (Section 2).

6. The dashboard

Every setting is changed on the chart: click − or + (or the arrows for a choice), and the change applies at once. Save keeps the values after a restart; Reset goes back to the profile's defaults.

The header shows the symbol, price, trading state (Active, Paused, Halted by the guard, Algo off, or Zenith off) and the time. Below it are equity, day profit or loss, prop drawdown against its limit, open risk against its cap, gold risk against its cap, and positions against the maximum.

Tab What it shows and controls
Portfolio Left: the Zenith card (on/off, symbol, trend, open trades and levels). Right: Levels (next buy level, next sell level, open trades) and Track record (closed trades, total R, average R per trade and the risk meter on this account). Buttons: Pause, Close all, Telegram test
Engine Profile, state and every Zenith parameter, plus the Z1–Z7 preset switches. Buttons: Close engine trades, Levels on chart
Outlook The next levels and what the EA is waiting for
News Upcoming calendar events and the filter settings
Risk Risk caps, position limits and trade management mode
Guard Prop-firm guard: loss limits, drawdown anchor, profit target, current state
Log Recent messages: levels, orders, fills, exits and skipped entries with the reason

On the chart. With Levels on chart on, the hidden and armed levels are drawn as lines with their preset name; levels of several presets at the same price share one label.

Pausing and closing. Pause stops new orders but keeps open trades and their stops. Close all asks for a second click within 3 seconds, then closes TriGold Zenith's own positions and removes its orders. Trades from other EAs and manual trades are never touched.

7. Risk management and the prop-firm guard

Risk is set on the Engine tab (risk meter), capped for the whole account on the Risk tab, and protected by the guard on the Guard tab.

Risk tab

Setting Default Effect
Total open risk cap 6% No new trade when the open risk of all positions would pass this (0 = off)
Symbol risk cap 5% The same, per symbol
Symbol positions 12 Most positions on one symbol
Total positions 20 Most positions in total
Trade management mode Per engine Per engine = Zenith's per-preset break-even and trailing; Central = the Risk tab's break-even and trail rule

Open risk counts each position's distance to its stop loss.

Prop-firm guard (Guard tab)

Setting Default What it does
Prop guard On Switches the guard
Daily loss limit 5% Equity loss within the server day; trading resumes the next server day
Max drawdown 10% Total loss limit; stays locked until you reset it
Drawdown anchor Static Static: from the balance when the guard started. Dynamic: from the equity high (trailing). Baseline: from an amount you enter, such as the challenge size
On breach Close all, lock Close all positions and stop, or Lock only (stop new trades)
Profit target 8% Measured from the start balance (or Baseline)
At target Show only Show only, or Stop trading once the target is reached, as a prop challenge needs

Deposits and withdrawals are not counted as profit or loss. The guard keeps its state in the terminal, so a restart does not reset the drawdown reference. Match the limits to your prop firm's rules and set them a little tighter than the firm's. If your firm measures the maximum loss from the equity high, set the anchor to Dynamic.

8. The three set files and backtest results

Standard is the everyday choice. Pick Prop-firm for a challenge or funded account, and Risky only with money you can afford to lose.

Prop-firm Standard Risky
Risk meter 5 10 30
Risk caps (total / symbol) 3% / 2.5% off off
Prop guard (daily / max loss) 4% / 8%, Static 6% / 25% off
Profit target 10%, Stop trading off off
Net profit +15,175 USD +67,106 USD +3.31 million USD
Profit factor 1.39 1.68 1.87
Max equity drawdown 10.4% 13.5% 37.8%
Trades 13,211 15,195 15,195

Backtest: Vantage XAUUSD M15, 1:100, every tick based on real ticks, September 2018 – November 2026, 10,000 USD start.

  • Prop-firm is shown without its profit target. With the target on, the test reaches +10% in December 2019 and stops trading, as intended.
  • Prop-firm note: the deepest drawdown of the whole test was a slow slide of about 10% from December 2020 to August 2021 (the Standard set had its deepest drawdown in the same months). A challenge started at the top of that slide would have reached an 8% loss limit before recovering. We tested a lower meter (4 and 3) and fewer presets (Frequency Moderate): the drawdown only fell to about 9%, because the wide-stop presets already trade the smallest lot at 10,000 USD. If your firm measures the maximum loss from the equity high, set the guard's drawdown anchor to Dynamic and consider a larger account.
  • The Standard set had no losing calendar year in the test; 2021 was nearly flat (+192 USD).
  • Risky compounds at three times the size. Late in the test its lot sizes are far larger than a broker would fill, so its profit is not realistic.
  • Backtests are not a forecast. Live results differ with broker, spread, swap, execution and account size.

Testing in the Strategy Tester (free demo)

The free demo on the MQL5 Market runs only in the Strategy Tester. Use these settings to reproduce the results above.

  1. Expert: TriGold Zenith. Symbol: your broker's gold (XAUUSD, GOLD ...). Period: M15.
  2. Modelling: Every tick based on real ticks. Faster modes give somewhat different numbers.
  3. Deposit: 10,000 USD, leverage 1:100, hedging account (Zenith does not trade on netting).
  4. Inputs: right-click the inputs table, choose Load and pick one of the three set files. Without a set file the EA uses its defaults: meter 10 and a prop guard of 5% daily and 10% maximum loss.
  5. Dates: a full 2018–2026 real-tick test takes about half an hour or more. The last 12 months is a quick first check.
  6. Spread: Zenith skips entries while the spread is above the Max spread input (0.50, price). If your broker's gold spread is usually wider, raise the input to just above your typical spread; otherwise Zenith will hardly trade. A broker that is always wider than 0.50 adds cost to every trade, so expect weaker results than ours.

Test on gold: in the tester the EA trades the chart symbol, and the rules were developed on gold only. The economic-calendar news filter does not work in the tester. Results depend on your broker's price history and spread, so they will differ somewhat from the figures above.

9. Input parameters

The Inputs tab holds only what must be known at start; everything else is set on the dashboard.

Input Default Meaning
Zenith: gold swing breakout true The strategy on or off
Profile at first start and in the tester Meter 10 Meter 10, Meter 5 or Meter 30
Max spread, price 0.50 No entry while the spread is wider (0.50 = 50 cents on gold; 0 = no limit). Always used in the Strategy Tester; live, it replaces the dashboard value whenever you change the input
Symbol to trade blank Blank = find the gold symbol automatically. Enter a name only if auto-detection fails
Allow non-gold symbols false Lets the EA trade a symbol that is not gold. The rules are tested on gold only
Magic base 168373 Trades use 1683731001 to 1683731007 (one per preset). Change it only if another EA on the account already uses 168373xxxx
Telegram alerts false Send alerts to Telegram
Telegram bot token / chat id blank Your bot's token and chat id (Section 10)
Dashboard left / top offset 10 / 26 px Where the panel sits on the chart
Advanced: dashboard values (2 inputs) blank Filled by the set files; leave empty when you set things by hand

When live, values saved from the dashboard win over the defaults. A set file's values are applied when you load it, and again whenever its text changes.

Engine tab parameters

Parameter Default Meaning
Risk meter 10 One number for the risk of all presets (Section 5)
Frequency High Which presets run: Extremely low / Low / Moderate / High / Manual
Hide orders Yes Yes = levels stay inside the EA until price is within 0.15%; No = every level is a stop order at the broker at once
Break-even Per preset Per preset rules, or Off
Trailing Per preset Per preset rules, or Off
Bounce exit Move TP Moves the target close to entry once a trade is a set distance against you, or Off
Max spread, price 0.50 No entry while the spread is wider
Rollover buffer 30 min No entries in the last and first minutes of the server day
Obey news filter Yes Whether the news filter blocks entries
Z1 … Z7 On Each preset on or off (changing one sets Frequency to Manual)

10. News filter, Telegram alerts and logs

News filter (News tab)

The filter reads the MetaTrader 5 economic calendar and blocks new entries around important events for the traded symbol's currencies (USD for gold).

Setting Default Choices
News filter High impact Off / High impact / Medium + high
Block before news 15 min 0–240 min
Block after news 15 min 0–240 min

Zenith obeys the filter by default (Obey news filter = Yes on the Engine tab). The filter only blocks new entries; open trades keep their stops and targets. The calendar is not available in the Strategy Tester.

Telegram alerts

  1. In Telegram, open @BotFather, send /newbot and copy the bot token.
  2. Send any message to your new bot, then get your chat id (for example from @userinfobot).
  3. In MT5: Tools > Options > Expert Advisors > tick Allow WebRequest and add https://api.telegram.org.
  4. In TriGold Zenith's inputs set Telegram alerts = true and enter the token and chat id. Alternatively, put two lines TELEGRAM_TOKEN=... and TELEGRAM_CHAT_ID=... in TriGoldZenith.keys in the terminal's Common\Files folder, so the token never sits in a set file. (An existing TriGoldPro.keys is read too.)
  5. Press Telegram test on the Portfolio tab.

Alerts cover orders, fills, exits with profit or loss, guard events and errors. Each alert names the symbol and broker.

Logs and files

  • Log tab on the dashboard: the latest messages.
  • Experts tab in MT5's Toolbox: the full log.
  • MQL5\Files\TriGoldZenith\settings_<account>_<magic>.ini: the dashboard values you saved.

11. Troubleshooting and FAQ

What you see Why What to do
Header says Algo off Algo Trading is off in the terminal or in the EA's Common tab Press Algo Trading in the toolbar; tick Allow Algo Trading in the EA's settings
Header says Halted The prop guard hit a loss limit or the profit target See the Guard tab. A daily limit releases the next server day; a max-drawdown or target stop stays until you reset it there
Header says Paused Pause was pressed Press Resume on the Portfolio tab
"Needs a hedging account" The account is netting Use a hedging account
Idle, "gold only" note The symbol found is not gold Leave the symbol input blank, or enter your broker's gold symbol name
"Spread too wide" in the log Spread above Max spread (0.50) Normal around the daily rollover. If it shows all day, your broker's spread is wider: raise Max spread
No Telegram messages WebRequest not allowed, or wrong token or chat id Check Tools > Options > Expert Advisors, then press Telegram test

Can I run TriGold Zenith next to other EAs? Yes. It only manages trades with its own magic numbers (168373xxxx). The risk caps count TriGold Zenith's own positions, but the prop guard measures the whole account's equity, so other EAs' losses count toward its limits.

Can I trade other symbols? Only with Allow non-gold symbols switched on. The presets were developed and tested on gold only; on 15 other markets the same presets did not hold up.

Why are there no orders at the broker? With Hide orders = Yes, levels stay inside the EA until price is within 0.15% of them. The Outlook tab and the chart lines show where they are.

Does it use martingale, grid or averaging? No. Each preset holds at most one level per side, and every trade has its own stop loss sized from the risk meter.

Can I change settings while trades are open? Yes. Changes apply to new orders; open trades keep their stops and targets.

What happens after a restart? Saved dashboard values, the guard state and open trades are picked up again; the presets scan the chart history again for their levels.

What is the difference from TriGold Pro? TriGold Pro runs Zenith together with two more gold engines (Orient dawn breakout and Nadir H4 confluence) under one risk manager. TriGold Zenith is the Zenith engine alone.

12. Risk warning

Trading gold and other leveraged CFDs carries a high level of risk and can lose money quickly. Depending on your broker, losses can exceed your deposit. All results in this manual are backtests on historical data. Backtests and past performance do not guarantee future results, and no profit or return is promised.

Results on your account will differ with broker, spread, swap, execution and account size. Trade only money you can afford to lose, and run TriGold Zenith on a demo account first. TriGold Zenith is a trading tool, not investment advice.