Ninja Trinity XAU Updated to Version 1.47: Two Lot-Sizing Modes and a More Adaptive XAUUSD System
Ninja Trinity XAU has been updated to version 1.47.
This update keeps the original multi-strategy concept while simplifying the user settings, strengthening execution protection and giving traders two clearly separated ways to control position size.
Ninja Trinity XAU is designed for MetaTrader 5 and XAUUSD, or an equivalent GOLD symbol, using internal M5 data for its trading signals.
Three Forces. One Adaptive System.
The current Ninja Trinity XAU concept is built around three functional forces.
1. Long-Side Force
The long-side logic evaluates selected breakout, retest, momentum, support and reversal conditions.
Its purpose is not to enter after every bullish movement. It waits for the internal market, volatility and execution conditions required by the active strategies.
2. Short-Side Force
The short-side logic is designed to respond to bearish regimes, downside continuation and selected reversal conditions.
This side became an important part of the recent development process because XAUUSD does not always reward a long-biased approach.
3. Master Control
Master Control coordinates the portfolio.
It evaluates the daily market regime, allocates risk between the long and short sides, monitors equity drawdown and performs checks before new orders are sent.
These three forces work together as one adaptive system.
Two Lot-Sizing Modes
Version 1.47 gives the user two operation modes.
Fixed Lot — User Defined
In Fixed Lot mode, the EA uses the lot size entered in the FixedLot_Lots setting.
The default is 0.01 lot, but the user can select another valid lot size within the broker’s minimum, maximum and lot-step requirements.
This mode is useful for traders who want direct and predictable control over position size.
Automatic Risk-Based Compounding
In Automatic Risk-Based Compounding mode, the EA calculates lot size using account balance or equity together with protected internal risk settings.
As the account value changes, the calculated lot size can also increase or decrease.
The FixedLot_Lots setting is ignored when this mode is selected.
The independent Small Account Mode that was previously considered is not included in the final version. Traders who want a small and controlled position size can use Fixed Lot mode and select 0.01 lot or another suitable value.
Simplified User Settings
The visible user inputs have been reduced to two main settings:
• Operation_Mode
• FixedLot_Lots
The internal strategy, risk-control and execution parameters remain protected inside the EA.
This allows the user to choose the preferred lot-management method without having to configure a large number of technical inputs.
Old SET files should not be used with version 1.47 because the new input structure is different.
Risk and Execution Improvements
Version 1.47 also includes several stability and execution-related updates.
These include:
• Recovery of the current day’s trade count after restarting the EA or MT5
• Saving and restoring the equity high used for drawdown control
• Stronger trading-time and historical-data checks
• Lot normalization based on broker specifications
• Margin validation before sending orders
• Stop-distance validation
• Execution-method checks
• Additional protection around Freeze Level restrictions
• Improved closing logic for netting accounts
The EA also checks spread, volatility, permitted trading time, margin availability and symbol specifications before applicable orders are sent.
Ninja Trinity XAU does not use:
• Grid trading
• Martingale
• Averaging-down recovery
• Automatic loss-recovery lot increases
It does not require an external DLL, WebRequest or external data file.
Historical Backtest Reference
Version 1.47 was tested using imported Dukascopy historical tick data under the following conditions:
• XAUUSD
• M5
• January 1, 2020 to July 21, 2026
• 600 USD initial deposit
• 1:100 leverage
• 98% history quality
• Every-tick testing
Automatic Risk-Based Compounding
• Total trades: 3,164
• Long trades: 2,325
• Short trades: 839
• Net profit: 11,961,259.06 USD
• Profit Factor: 2.80
• Maximum equity drawdown: 45.16%
• Maximum balance drawdown: 31.58%
In this specific historical backtest, all six completed calendar years from 2020 through 2025 produced returns above 100%.
This statement refers only to this particular historical test. It does not mean that the EA will earn more than 100% every year in the future.
Fixed Lot 0.01
Using the same trade logic and a fixed 0.01 lot:
• Total trades: 3,164
• Initial deposit: 600 USD
• Ending balance: 6,420.68 USD
• Net profit: 5,820.68 USD
• Profit Factor: 1.57
• Maximum equity drawdown: 25.45%
• Maximum balance drawdown: 22.76%
The automatic-compounding and fixed-lot tests used the same underlying entry and exit sequence. The main difference was position size and the resulting monetary performance.
What Traders Should Check
Before using Ninja Trinity XAU, check:
• The correct XAUUSD or GOLD symbol
• Broker contract size and tick value
• Minimum lot, maximum lot and lot step
• Spread and commission
• Broker server time
• Leverage and available margin
• Maximum equity drawdown
• The selected lot-sizing mode
• Whether the fixed lot is appropriate for the account size
• Whether the broker supports the required Stop Loss and Take Profit distances
Although the EA uses internal M5 signal data, XAUUSD specifications and execution conditions can differ significantly between brokers.
For this reason, traders should run their own backtest and demo forward test before considering live use.
Update Notes
When updating from an older version:
• Do not run the old and new versions at the same time
• Make sure there are no open positions from the old version
• Do not load an old SET file
• Attach version 1.47 using its current default settings
• Select the preferred Operation_Mode
• Confirm FixedLot_Lots when using Fixed Lot mode
Product and Video
Ninja Trinity XAU is available on MQL5 Market:
https://www.mql5.com/en/market/product/185737
You can also watch the latest Ninja Trinity XAU promotional video here:
https://www.youtube.com/watch?v=JsKma8OEfps
The free demo is available on the MQL5 Market page.
Please test the EA using your own broker conditions before any live use.
Risk Notice
Historical backtest results do not guarantee future performance.
The automatic-compounding historical test used aggressive risk-based position sizing and reached a maximum equity drawdown of 45.16%.
XAUUSD is highly volatile and can cause rapid and substantial financial losses.
Live results may differ because of spreads, commission, slippage, execution speed, leverage, server time, symbol specifications, historical data and changing market conditions.
Use only risk capital and select a lot-sizing mode appropriate for your account size and risk tolerance.


