How to run, update and customizing my EAs – Other – 4 May 2025

User Guide & Customization Tips
Welcome! This guide covers everything you need to know about running, updating, customizing, and getting the most out of my EA—our stable, feature-rich Martingale trading system for MT4 & MT5.
Running the EA on a Chart
Attach my EA to just **one** chart (e.g., XAUUSD on H1 timeframe). The EA will scan for valid symbols automatically. No need to run it on multiple charts!
To use custom symbols, list them in the symbols input field—be sure to match your broker’s naming exactly (e.g., XAUUSD.m if suffix exists).
Step-by-step MT4/MT5 setup tutorials:
Inputs & Settings
Customizing Inputs
my EA includes extensive input options:
pairs
Choosing symbols the EA will trade on. You can list a single pair like “XAUUSD” or multiple, separated by commas. Ensure the symbols match your broker’s exact naming (e.g., suffixes).
define magic number
Assign a unique ID to your EA’s trades to prevent interference with other EAs or manual orders.
orders comment
An optional comment that will be attached to each trade. Useful for tracking or filtering trades in history.
lot management method
Choose how lots are calculated: either as a fixed size or based on risk percentage relative to account balance.
determine risk percentage per trade
Set what percentage of your account balance is risked on each trade when using dynamic lot calculation.
fixed lot size value
If fixed lot method is selected, this value defines the exact size of each position (e.g., 0.01 lots).
max spread allowed
Prevents the EA from opening new trades when the spread exceeds this value. Helps avoid trading during high-cost or volatile conditions.
trading start time setup
Sets the beginning of the daily trading window. The EA won’t open trades before this time.
trading end time setup
Sets the cutoff time for the EA to stop trading for the day. No new trades will be opened after this time.
toggle rsi filter on/off for signals
Enables or disables the RSI indicator as a filter for trade entries.
rsi filter period setup
Defines the number of bars used to calculate RSI when filtering trades.
rsi filter timeframe setup
Sets the timeframe on which RSI is calculated. Useful for aligning trade signals with broader trends.
define close time on weekend(-1:off)
Specify the hour before market close on Friday to shut down all trades. Set to -1 to disable.
enable martingale mechanism
Enables the Martingale strategy, which increases lot sizes on losses to recover previous losses.
define method for martingale distances
Choose how the EA calculates the spacing between Martingale trades: fixed pips, ATR-based, or moving average-based.
define tp method for martingale orders
Selects how the EA calculates take profit for Martingale trades (e.g., fixed, percent-based, etc.).
define tp % between new and last martingale order
Sets the distance (as a percentage) between Martingale entries to be used as the take-profit level.
define fixed points distance for martingale
Sets a specific pip value for the gap between Martingale trade entries. This is a constant distance regardless of market conditions.
moving average period setting for martingale
Defines the number of periods used for the moving average to calculate Martingale spacing.
ma method setting for martingale
Sets the type of moving average (SMA, EMA, etc.) used in spacing logic.
ma timeframe setting for martingale
Defines the chart timeframe for calculating the moving average used in Martingale logic.
atr period setting for martingale
Sets the number of periods for ATR, which is used to calculate Martingale entry spacing dynamically.
multiplier of atr setting for martingale
Scales the ATR value by this multiplier to fine-tune the spacing between Martingale entries.
use smart martingale option
If enabled, adjusts Martingale lot sizing to target a percentage recovery of losses instead of fixed levels.
recover % setting for martingale
Sets the percentage of previous losses to recover using the next Martingale trade.
max % setting for initial lot of martingale
Limits how much the lot size can grow in Martingale progression, expressed as a percentage of the initial lot.
profit type setting for martingale
Defines whether the EA should close a Martingale cycle based on cash value, percentage gain, or other logic.
total profit (usd) setting for martingale
Sets the profit target in USD to close the entire Martingale cycle.
total profit % setting
Sets the profit target as a percentage of account equity or balance instead of a fixed amount.
define maximum drawdown allowed
Prevents the EA from opening new trades when equity drawdown exceeds this threshold.
orders close at equity dd
If enabled, all trades will be force-closed when the equity drawdown limit is breached.
Updating Your EA
Keep your EA up-to-date for the latest features and bug fixes. Here’s a detailed walkthrough for downloading and installing new versions:
How to Update the EA
Backtesting & Optimization
For best results:
- MT4: Test one symbol at a time. Delete all others from the input list. Use “Every Tick” model.
- MT5: Fully supports multi-symbol backtesting. Recommended for accuracy and speed.
Risk & Deposit Guidelines
Start small and grow smart. Suggested minimum deposit: $500+.
Use a 1–2% risk per trade via the risk_percent input for stable long-term results.
Setfiles & Recommendations
The EA performs well out of the box with default settings. However, we’ll occasionally release optimized setfiles for different brokers and market conditions—check the bottom of this blog regularly for updates.
Join the Community
Stay updated, get support, and access exclusive content like free gifts and promo offers:
- MQL5 Channel: Join Here
- Telegram Gifts: DM us after purchase to access ???? surprises and EA tips!