Blog

HamzaFX EA MT4 – Full Input Parameters Analysis (XAUUSD)

HamzaFX EA

HamzaFX EA

HamzaFX EA is an automated trading tool made for MetaTrader 4. It’s built to trade Gold (XAU/USD) with accuracy and smart risk control. An Expert Advisor (EA) is a program that places trades for you, so you don’t have to do it manually.

Buy HamzaFX EA MT4 product here

HAMZA FX EA

General Trade Settings

  • Trading Symbol: The Expert Advisor is configured to operate specifically on the Gold pair (XAU/USD).

  • Magic Number: A unique identifier (14920) is assigned to differentiate this EA’s trades from others.

  • Comment: The comment field is currently blank but can be customized for trade tracking or management purposes.

Risk Management

  • Lot Calculation Method: Risk by Balance Percent — Lot size is calculated automatically by account balance and set risk.
  • Auto Risk: 1.0 — The EA is taking a 1% risk of the account balance per trade, suitable for conservative to moderate strategies.
  • Fixed Lot Size: 0.1 — Fixed lot size, optional; currently disabled as dynamic lot sizing is enabled.
  • Maximum Number of Trades: 99 — Allows 99 open trades; normally too many unless coupled with grid or martingale techniques (untested).

Trailing Stop Settings

  • Turn on Trailing Stop: false — Currently disabled. The EA closes trades using fixed Take Profit/Stop Loss or internal logic.

  • Trailing Stop Method: Incorporating Pip Values — Enables pip-based trailing functionality.

  • Trailing Start in Pips: 10.0 — Trailing activates once the price moves 10 pips into profit.

  • Trailing Distance in Pips: 10.0 — The Stop Loss will trail 10 pips behind the price once activated.

  • ATR Period for Trailing: 20 — Uses a 20-period Average True Range to guide trailing logic.

  • ATR Timeframe for Trailing: 1 Day — ATR is calculated on the daily timeframe, making it suitable for swing trading.

  • ATR Multiplier for Trailing: 1.75 — If enabled, the trailing SL will be offset by 1.75 times the daily ATR value.

Summary

  • Balance-Based Risk Management: Automatically adjusts for expansion in accounts.
  • Symbol-Specific: Gold trading optimized (XAUUSD).
    News Filter Ready: It has volatility protection potential if triggered.
  • Smart Trailing Logic: Merges fixed pip logic with flexibility based on ATR.
  • Conservative Risk Profile: 1% per trade makes it suitable for prop firm tests and long-term deployment.

Link to buy HamzaFX EA