1. 📌 Information
-
Welcome:
Wishing you Limitless Success and abundant Wealth in your Algo -
Note:
Works best on Gold (XAUUSD) in the 30 Minutes timeframe. It also work for US30.
2. 📊 Risk Management
These settings define how much of your capital is at risk for each trade.
-
Risk percentage of account balance per trade
(Default: 4.8)
Defines how much % of your account will be risked on a single trade. For example, if account balance is $1000, and risk is 4.8%, the max loss will be ~$48. -
Initial stop loss as a percentage of the entry price
(Default: 0.9)
Sets stop loss relative to entry price. A value of 0.9 means SL is 0.9% away from the entry. -
Max number of orders to open
(Default: 1)
Limits how many positions can be opened simultaneously.
3. ⚙️ Trading Settings
These values control the EA’s reward structure and trailing logic.
-
Risk-reward ratio (e.g., 1:2)
(Default: 2)
If SL is 10 pips, TP is set at 20 pips. -
Trailing stop offset as a percentage
(Default: 0.5)
Trailing Stop will activate with a 0.5% gap once in profit. -
Profit threshold as a percentage of entry
(Default: 0.2)
This is the minimum required gain before trailing or break-even logic activates. -
Magic Number
(Default: 100001)
Unique ID used by MT5 to identify EA trades. -
Comment
(Default: MY ROBOT)
Trade comment visible in the terminal.
4. 📈 AMA Indicator Settings
Used to generate the trading signals.
-
AMA_Period
(Default: 54)
Controls the smoothing of the Adaptive Moving Average. -
Fast_EMA / Slow_EMA
(Defaults: 86 / 96)
Used in combination with AMA for signal confirmation. -
MA_Shift
(Default: 21)
Defines the bar offset for calculation. -
Applied_Price
(Default: Close Price)
Can be changed to other options like Open, High, Low, Weighted Price.
5. ⏰ Trading Hours
You can restrict EA to trade only during specific market hours.
-
US Session Start Hour (Server Time)
US Session End Hour (Server Time)
🕒Note: All the times given in the setfiles are based on GMT+0 by default.
However, since your broker’s server time may differ, you must adjust the input parameters accordingly.
For example, if your broker’s server time is GMT+2, then the parameters
USSessionStartUTC and USSessionEndUTC should be shifted by +2 hours (i.e. adding 2 hours) to align with the broker’s time.
Always convert from GMT+0 to your broker’s actual server offset when setting these times.
Assume the setfile gives:
-
USSessionStartUTC = 11:00 (i.e. 11:00 GMT)
-
USSessionEndUTC = 18:00 (i.e. 18:00 GMT)
Broker server time = GMT+2
-
You add 2 hours:
-
USSessionStartUTC = 11:00 + 2h = 13:00 (broker server time)
-
USSessionEndUTC = 18:00 + 2h = 20:00 (broker server time)
-
Tips for Better Use
-
Run tests using MT5 Strategy Tester.
-
Try different risk settings with different currency/gold/index/bitcoin etc....
-
Start with demo account before live trading.


