AeruesRatchet
- Experts
- Version: 1.13
- Updated: 21 July 2026
- Activations: 5
AureusRatchet
AureusRatchet is an Expert Advisor for gold (XAUUSD) on MetaTrader 5. It opens trades when price is stretched away from its recent average, manages all trades of one cycle together as a single basket, and closes the basket on a trailing profit lock instead of a fixed target.
The lot size is the same for every trade in the basket. The Expert Advisor is not a martingale in its default configuration.
How the strategy works
Entry. The Expert Advisor reads the Relative Strength Index (RSI) on the M1 timeframe. It opens a buy when RSI turns back up out of the oversold zone, and a sell when RSI turns back down out of the overbought zone. Before opening a new basket it also checks the spread, current market activity and the economic calendar.
Averaging. If price continues against the open basket, an additional trade of the same volume is added for every 1.50 of adverse movement in the gold price, up to a maximum of 15 trades. The volume does not increase from trade to trade. A volume multiplier is available in the settings, but it is disabled by default.
Exit. The basket is closed by the profit ratchet described below, or by one of the protective rules.
The profit ratchet
Most basket systems close the whole cycle at a fixed cash target. AureusRatchet can hold the basket open after that level is reached.
When the net floating profit of the basket first reaches the arm level, the Expert Advisor locks a minimum profit and starts trailing the basket. Every new profit high raises the locked amount. The locked amount never falls. If price keeps moving in favour of the basket, the basket stays open and the floor keeps rising. If price turns back, the basket is closed at the locked profit.
With the default settings the basket arms at 3.00 USD, the minimum locked profit is 2.50 USD, and the basket is allowed to give back 1.50 USD from its peak before it is closed. These values are absolute amounts in the deposit currency and must be scaled together with the lot size.
Risk management
The Expert Advisor does not use a stop loss on individual trades. Protection is applied at account level instead, and the following rules are active by default.
Basket equity stop. The whole basket is closed when its floating loss reaches 25 percent of the account balance.
Margin level stop. The whole basket is closed when the account margin level falls below 150 percent, before a broker stop out can occur.
Free margin check. The required margin is calculated before every order. If the account cannot cover it, no order is sent and the reason is written to the journal.
Volume control. The lot size is adjusted to the broker minimum, step and maximum. If free margin is short, the lot is reduced instead of the order being rejected.
Basket ceiling. The number of trades and the total volume of a basket are limited. This limit also works correctly on netting accounts, where all trades merge into one position.
Key features
Mean reversion entries on gold using the Relative Strength Index.Fixed lot basket averaging, with an optional volume multiplier that is off by default.Trailing profit lock that lets a profitable basket continue.Basket equity stop and margin level stop, both active by default.Spread filter and market activity filter.News filter that pauses new baskets around high impact events.Trading window with individual weekday selection.Optional flattening of open baskets before the weekend.Optional daily profit target and daily loss limit.Information panel on the chart showing baskets, volume, locked profit and margin level.
Limitations and risks
Please read this section before buying.
The Expert Advisor averages losing trades instead of cutting them. This is how the strategy works, and it is also its main risk. A strong directional move in gold without a pullback will fill the whole grid and produce a floating loss.
The result profile is asymmetric. The Expert Advisor produces a number of small and medium profits, and from time to time one loss that is larger than a typical profit. If this profile does not suit your trading style, this product is not for you.
The protective stops will close a basket at a loss when they are reached. This is intended behaviour and cannot be avoided in a system that has no stop loss on individual trades.
Results depend strongly on the broker. A wide spread on gold, or a broker whose minimum gold lot is 0.10 instead of 0.01, changes the risk of the product significantly.
Backtest results are not a forecast. Market conditions in gold change over time.
Requirements
Symbol: XAUUSD (gold). One chart only.Timeframe: any. The Expert Advisor reads M1 data internally. M1 is recommended.Account type: hedging is recommended. Netting accounts are supported.Leverage: 1:100 minimum, 1:500 recommended.Broker: raw or ECN spread, minimum gold lot of 0.01.Hosting: a Virtual Private Server is recommended, because open baskets are managed around the clock.Please do not run other Expert Advisors on the same account, as they share the same margin.
Recommended deposit
The default settings use a base lot of 0.02, a maximum of 15 trades per basket and a distance of 1.50 between trades. With these settings the grid is fully open after about 21.00 of adverse movement in the gold price. At that point the basket holds 0.30 lots and shows a floating loss of about 315 USD, and every further 1.00 of adverse movement costs about 30 USD.
The deposit should be large enough for this to be a normal drawdown rather than a critical one.
Base lot 0.01: minimum 700 USD, recommended 1500 USD.Base lot 0.02 (default): minimum 1500 USD, recommended 3000 USD.Base lot 0.05: minimum 3500 USD, recommended 7000 USD.
As a rule of thumb, allow about 1500 USD for every 0.01 of base lot.
If the minimum gold lot at your broker is 0.10, the Expert Advisor has no choice but to trade 0.10 per position. In that case the risk is five times higher than the default and a deposit of about 15000 USD is required. Please check this figure with your broker before buying.
Input parameters
Market. Timeframe, magic number, order comment, slippage and trade direction.
Grid and basket. Base lot for every position, distance between positions, maximum positions per basket, volume multiplier, fallback cash target and hard volume cap.
Profit ratchet. Arm level, locked profit floor, give back from peak, ratchet step, optional instant grab level, and whether new positions may be added while the trail is active.
Margin safety. Free margin cushion, minimum margin level for an additional position, lot reduction, and the pause after a rejected order.
Stop out protection. Basket equity stop as a percentage of balance, and the emergency margin level.
Entry window. Trading hours for new baskets and individual weekday selection. An open basket is always managed, including outside these hours.
News filter. High impact events only, currency selection, and the pause before and after an event.
Daily protection. Optional daily profit target and daily loss limit.
How to set it up
Attach the Expert Advisor to one XAUUSD chart and enable automated trading.
Set the base lot according to the deposit table above. This is the setting that matters most.
Scale the cash settings with the lot size. The arm level, locked profit floor, give back and ratchet step are amounts in the deposit currency, so they must be multiplied in the same proportion as the lot. For example, at a base lot of 0.05, which is 2.5 times the default, the arm level becomes 7.50 USD and the locked profit floor becomes 6.25 USD.
Adjust the trading window to the server time of your broker. The default window of 08:00 to 18:00 covers the European and American sessions.
Other parameters can be left at their default values.
Questions and answers
1) Is this a martingale system?No. In the default configuration every position in a basket uses the same volume. A volume multiplier exists in the settings, but it is set to 1.0, which means no increase.
2) Why is there no stop loss on each trade?The strategy is based on mean reversion, and a tight stop loss would close positions shortly before they recover. Protection is therefore applied to the account as a whole: the basket is closed when its floating loss reaches 25 percent of the balance, or when the margin level falls below 150 percent.
3) Can I lose money with this Expert Advisor?Yes. This is a leveraged trading product. Please use only funds that you can afford to lose, and test on a demo account first.
4) What is the largest loss a basket can produce?With the default protective settings a basket is closed when its floating loss reaches 25 percent of the account balance. A weekend gap or an extreme price spike can produce a larger loss.
5) Can I use it on other symbols?The Expert Advisor will run, but the distance between positions and the cash settings are based on the price behaviour of gold. It is intended for XAUUSD.
6) Which timeframe should I use? Any timeframe can be used, because the Expert Advisor reads M1 data internally. M1 is recommended for consistency.
7) Do I need a Virtual Private Server? It is recommended. An open basket is managed around the clock, which is not possible if your computer is switched off.
8) Can I use it on a proprietary trading firm account? Only if the firm allows averaging strategies and its daily loss limit is wider than the protective stop of the Expert Advisor. Please check the rules of the firm first.
9) How many trades does it place per day? This depends on volatility. On quiet days there may be no trades at all. On active days several baskets can be opened.
10) How do I know what the Expert Advisor is doing? The chart panel shows the current basket, its volume, the net floating profit, the locked profit and the margin level. Every closed basket is written to the journal together with the reason for the close.
Risk warning
Trading leveraged instruments involves a high level of risk. This Expert Advisor uses an averaging approach without a stop loss on individual trades and can produce a significant drawdown in a strongly trending market. Test the product on a demo account before using it on a live account, and never trade with money you cannot afford to lose. Past performance, including results from the Strategy Tester, does not guarantee future results.
Support
Please use the comments section of this product page or the MQL5 message system for questions and support.
Version 1.02
AureusRatchet is an Expert Advisor for gold (XAUUSD) on MetaTrader 5. It opens trades when price is stretched away from its recent average, manages all trades of one cycle together as a single basket, and closes the basket on a trailing profit lock instead of a fixed target.
The lot size is the same for every trade in the basket. The Expert Advisor is not a martingale in its default configuration.
How the strategy works
Entry. The Expert Advisor reads the Relative Strength Index (RSI) on the M1 timeframe. It opens a buy when RSI turns back up out of the oversold zone, and a sell when RSI turns back down out of the overbought zone. Before opening a new basket it also checks the spread, current market activity and the economic calendar.
Averaging. If price continues against the open basket, an additional trade of the same volume is added for every 1.50 of adverse movement in the gold price, up to a maximum of 15 trades. The volume does not increase from trade to trade. A volume multiplier is available in the settings, but it is disabled by default.
Exit. The basket is closed by the profit ratchet described below, or by one of the protective rules.
The profit ratchet
Most basket systems close the whole cycle at a fixed cash target. AureusRatchet can hold the basket open after that level is reached.
When the net floating profit of the basket first reaches the arm level, the Expert Advisor locks a minimum profit and starts trailing the basket. Every new profit high raises the locked amount. The locked amount never falls. If price keeps moving in favour of the basket, the basket stays open and the floor keeps rising. If price turns back, the basket is closed at the locked profit.
With the default settings the basket arms at 3.00 USD, the minimum locked profit is 2.50 USD, and the basket is allowed to give back 1.50 USD from its peak before it is closed. These values are absolute amounts in the deposit currency and must be scaled together with the lot size.
Risk management
The Expert Advisor does not use a stop loss on individual trades. Protection is applied at account level instead, and the following rules are active by default.
Basket equity stop. The whole basket is closed when its floating loss reaches 25 percent of the account balance.
Margin level stop. The whole basket is closed when the account margin level falls below 150 percent, before a broker stop out can occur.
Free margin check. The required margin is calculated before every order. If the account cannot cover it, no order is sent and the reason is written to the journal.
Volume control. The lot size is adjusted to the broker minimum, step and maximum. If free margin is short, the lot is reduced instead of the order being rejected.
Basket ceiling. The number of trades and the total volume of a basket are limited. This limit also works correctly on netting accounts, where all trades merge into one position.
Key features
Mean reversion entries on gold using the Relative Strength Index.Fixed lot basket averaging, with an optional volume multiplier that is off by default.Trailing profit lock that lets a profitable basket continue.Basket equity stop and margin level stop, both active by default.Spread filter and market activity filter.News filter that pauses new baskets around high impact events.Trading window with individual weekday selection.Optional flattening of open baskets before the weekend.Optional daily profit target and daily loss limit.Information panel on the chart showing baskets, volume, locked profit and margin level.
Limitations and risks
Please read this section before buying.
The Expert Advisor averages losing trades instead of cutting them. This is how the strategy works, and it is also its main risk. A strong directional move in gold without a pullback will fill the whole grid and produce a floating loss.
The result profile is asymmetric. The Expert Advisor produces a number of small and medium profits, and from time to time one loss that is larger than a typical profit. If this profile does not suit your trading style, this product is not for you.
The protective stops will close a basket at a loss when they are reached. This is intended behaviour and cannot be avoided in a system that has no stop loss on individual trades.
Results depend strongly on the broker. A wide spread on gold, or a broker whose minimum gold lot is 0.10 instead of 0.01, changes the risk of the product significantly.
Backtest results are not a forecast. Market conditions in gold change over time.
Requirements
Symbol: XAUUSD (gold). One chart only.Timeframe: any. The Expert Advisor reads M1 data internally. M1 is recommended.Account type: hedging is recommended. Netting accounts are supported.Leverage: 1:100 minimum, 1:500 recommended.Broker: raw or ECN spread, minimum gold lot of 0.01.Hosting: a Virtual Private Server is recommended, because open baskets are managed around the clock.Please do not run other Expert Advisors on the same account, as they share the same margin.
Recommended deposit
The default settings use a base lot of 0.02, a maximum of 15 trades per basket and a distance of 1.50 between trades. With these settings the grid is fully open after about 21.00 of adverse movement in the gold price. At that point the basket holds 0.30 lots and shows a floating loss of about 315 USD, and every further 1.00 of adverse movement costs about 30 USD.
The deposit should be large enough for this to be a normal drawdown rather than a critical one.
Base lot 0.01: minimum 700 USD, recommended 1500 USD.Base lot 0.02 (default): minimum 1500 USD, recommended 3000 USD.Base lot 0.05: minimum 3500 USD, recommended 7000 USD.
As a rule of thumb, allow about 1500 USD for every 0.01 of base lot.
If the minimum gold lot at your broker is 0.10, the Expert Advisor has no choice but to trade 0.10 per position. In that case the risk is five times higher than the default and a deposit of about 15000 USD is required. Please check this figure with your broker before buying.
Input parameters
Market. Timeframe, magic number, order comment, slippage and trade direction.
Grid and basket. Base lot for every position, distance between positions, maximum positions per basket, volume multiplier, fallback cash target and hard volume cap.
Profit ratchet. Arm level, locked profit floor, give back from peak, ratchet step, optional instant grab level, and whether new positions may be added while the trail is active.
Margin safety. Free margin cushion, minimum margin level for an additional position, lot reduction, and the pause after a rejected order.
Stop out protection. Basket equity stop as a percentage of balance, and the emergency margin level.
Entry window. Trading hours for new baskets and individual weekday selection. An open basket is always managed, including outside these hours.
News filter. High impact events only, currency selection, and the pause before and after an event.
Daily protection. Optional daily profit target and daily loss limit.
How to set it up
Attach the Expert Advisor to one XAUUSD chart and enable automated trading.
Set the base lot according to the deposit table above. This is the setting that matters most.
Scale the cash settings with the lot size. The arm level, locked profit floor, give back and ratchet step are amounts in the deposit currency, so they must be multiplied in the same proportion as the lot. For example, at a base lot of 0.05, which is 2.5 times the default, the arm level becomes 7.50 USD and the locked profit floor becomes 6.25 USD.
Adjust the trading window to the server time of your broker. The default window of 08:00 to 18:00 covers the European and American sessions.
Other parameters can be left at their default values.
Questions and answers
1) Is this a martingale system?No. In the default configuration every position in a basket uses the same volume. A volume multiplier exists in the settings, but it is set to 1.0, which means no increase.
2) Why is there no stop loss on each trade?The strategy is based on mean reversion, and a tight stop loss would close positions shortly before they recover. Protection is therefore applied to the account as a whole: the basket is closed when its floating loss reaches 25 percent of the balance, or when the margin level falls below 150 percent.
3) Can I lose money with this Expert Advisor?Yes. This is a leveraged trading product. Please use only funds that you can afford to lose, and test on a demo account first.
4) What is the largest loss a basket can produce?With the default protective settings a basket is closed when its floating loss reaches 25 percent of the account balance. A weekend gap or an extreme price spike can produce a larger loss.
5) Can I use it on other symbols?The Expert Advisor will run, but the distance between positions and the cash settings are based on the price behaviour of gold. It is intended for XAUUSD.
6) Which timeframe should I use? Any timeframe can be used, because the Expert Advisor reads M1 data internally. M1 is recommended for consistency.
7) Do I need a Virtual Private Server? It is recommended. An open basket is managed around the clock, which is not possible if your computer is switched off.
8) Can I use it on a proprietary trading firm account? Only if the firm allows averaging strategies and its daily loss limit is wider than the protective stop of the Expert Advisor. Please check the rules of the firm first.
9) How many trades does it place per day? This depends on volatility. On quiet days there may be no trades at all. On active days several baskets can be opened.
10) How do I know what the Expert Advisor is doing? The chart panel shows the current basket, its volume, the net floating profit, the locked profit and the margin level. Every closed basket is written to the journal together with the reason for the close.
Risk warning
Trading leveraged instruments involves a high level of risk. This Expert Advisor uses an averaging approach without a stop loss on individual trades and can produce a significant drawdown in a strongly trending market. Test the product on a demo account before using it on a live account, and never trade with money you cannot afford to lose. Past performance, including results from the Strategy Tester, does not guarantee future results.
Support
Please use the comments section of this product page or the MQL5 message system for questions and support.
Version 1.02
