How to Run the EA on Chart

How to Run the EA on Chart

26 July 2025, 14:12
Fajar Dicky Firmansyah
0
35
How to Run the EA on Chart

Simply attach the EA to any symbol and any timeframe. The system will automatically detect both and begin operating based on its internal logic — no manual matching needed.


Full setup instructions are available in the guide below:

https://www.mql5.com/en/blogs/post/751359

How to Backtest Correctly

Always backtest on MetaTrader 5 for accuracy. MT4 lacks modern features like "every tick based on real ticks" and only allows one symbol per test. In MT5, the EA supports multi-symbol testing and gives far better results.

Symbol Input Format

To define the symbols, edit the symbols input field. If your broker shows symbols like EURUSD.m, you should just enter EURUSD. The EA automatically detects suffixes and adjusts accordingly.

Using the EA with Other Experts

You can use this EA alongside other EAs by assigning a unique magic number in the input section. This ensures there are no trade conflicts between systems.

How to Join the Telegram Channel

 http://t.me/mqltradingfajar

Join the MQL5 Channel

MQL5 channel link

Best Set File

The EA performs well with default settings. For improved performance, you can optimize the set file to match your broker conditions. Any additional optimized set files will be published in our Telegram or MQL5 channels.

Suggesting New Inputs or Features

If you have a feature idea or need a new input, feel free to message me directly in MQL5 chat. I always welcome feedback and regularly improve the EA based on user input.

Input Overview

Below are the key input settings used in this version of the EA:

Customize General Preferences

  • Enter symbols
    This defines the currency pairs or instruments the EA will trade. You can enter multiple symbols separated by commas, like GBPUSD, GBPAUD, GBPCAD .

  • Magic number
    A unique ID assigned to each instance of the EA to distinguish its trades from others, especially when running multiple EAs.

  • Comment
    A custom label that will appear in the comment field of each order. You can use it to track or identify trades.

Personalize Risk Options

  • Choose lot calculation method
    Determines how the lot size is calculated. You can select between fixed lot size or automatic lot sizing based on risk percentage.

  • Auto risk
    When using auto lot sizing, this defines what percentage of your account balance is risked per trade.

  • Fixed lot
    If you're using fixed lot mode, this is the constant lot size that will be used for every trade.

  • Fixed risk no matter what
    When enabled, this forces the EA to use the same risk or lot size regardless of account balance, equity, or any other factor.


Customize Signal Preferences

  • Spread filter
    Prevents trades from being opened if the spread exceeds this value (in points). Useful for avoiding bad entries during volatile times.


Customize Trading Hour Preferences

  • Define start time for trading
    Sets the hour and minute when the EA is allowed to start opening trades each day.

  • Define end time for trading
    Sets the time after which the EA will stop opening new trades for the day.


Set Recovery Zone Parameters

  • Recovery zone option improves performance
    Enables the Recovery Zone feature, which aims to recover losing trades through strategic counter-entries.

  • Improve performance with reverse recovery
    When enabled, the EA may open trades in the opposite direction to improve overall recovery results.

  • Optimize zone distance calculation
    Selects the method used to calculate the recovery zone size — either based on fixed points or ATR.


Calculate Fixed Points Zone

  • Zone calc distance (fixed points)
    Defines the distance (in points) used for the recovery zone when the fixed point method is selected.


Calculate ATR-Based Zone

  • Timeframe for ATR multiplier
    Sets the timeframe used to calculate the Average True Range for ATR-based recovery zone logic.

  • ATR period for zone calculation setup
    Number of candles used to calculate the ATR value.

  • ATR timeframe multiplier
    Multiplies the ATR value to scale the recovery zone size dynamically based on market volatility.


Determine TP Based on Direction

  • TP pips multiplier for signal direction
    When the next recovery trade is in the same direction as the previous one, this multiplier adjusts the target profit.

  • TP multiplier for opposite signal
    If the recovery trade is in the opposite direction, this value defines the new take-profit level.


Define Profit Calculation for Recovery

  • Recovery setting for profit type
    Sets whether the EA targets a recovery in fixed USD or percentage of the account.

  • Total profit setting USD after recovery
    The fixed dollar amount of profit the EA aims to reach during recovery.

  • Total profit % setting after recovery
    The percentage of account balance the EA aims to recover before closing trades.


Customize Drawdown Closing Preferences

  • Not entering new trade when reaching this drawdown (%)
    If the account drawdown reaches this percentage, the EA will stop opening new trades to limit further loss.

  • Close open orders when equity drawdown is reached
    When enabled, all trades will be closed automatically if the drawdown hits the set threshold — protecting your equity.