My EA introduction

My EA introduction

13 July 2025, 10:24
Arash Panahi
0
367

Input Parameters Guide

Live Signal, Myfxbook

Live link for Gold Spark: myfxbook.com/members/Arash_Panahi/gold-spark/12088472

Instrument Selection & Strategy Tagging

This section defines the trading instruments monitored by the Expert Advisor and provides identifiers used for position management.

  • Unique Trade Identifier – Magic number assigned to EA positions for tracking and management.

  • Trade String Identifier – Custom comment attached to orders for easy identification.

Position Sizing & Capital Control

Controls how trade volume is calculated and how account risk is managed.

  • Risk Management Mode – Choose the method used to determine position size.

  • Risk Percentage – Percentage of account balance or equity risked per trade.

  • Fixed Lot Size – Position size used when fixed-volume mode is selected.

  • Maximum Lot Size – Upper limit for any position opened by the EA.

  • Minimum Lot Size – Lower limit for trade volume.


Execution Filters & Trade Limits

Provides safeguards to control trade frequency and market entry conditions.

  • Maximum Open Positions – Limits the total number of simultaneous trades.

  • Maximum Spread Filter – Prevents entries when spreads exceed the specified threshold.

  • Trading Direction – Restricts trading to Buy only, Sell only, or Both directions.

  • Signal Cooldown Period – Number of candles to wait before allowing a new entry.


Session Timing & Weekly Filters

Allows trading activity to be restricted to specific times and weekdays.

  • Trading Start Time – Beginning of the daily trading window.

  • Trading End Time – End of the daily trading window.

  • Weekday Filters – Enable or disable trading on individual weekdays.


Stop Loss and Take Profit Controls

Defines how protective stops and profit targets are calculated and managed.

  • SL/TP Calculation Method – Select dynamic or fixed stop and target generation.

  • Buy TP Multiplier – Adjusts Take Profit distance for Buy positions.

  • Sell TP Multiplier – Adjusts Take Profit distance for Sell positions.

  • Buy SL Multiplier – Adjusts Stop Loss distance for Buy positions.

  • Sell SL Multiplier – Adjusts Stop Loss distance for Sell positions.

  • Fixed Take Profit – Static profit target measured in points.

  • Fixed Stop Loss – Static stop distance measured in points.

  • Additional Stop Buffer – Extra distance added to Stop Loss.

  • Additional Target Buffer – Extra distance added to Take Profit.


Account Protection & Risk Shutdown

Built-in risk controls designed to protect trading capital.

  • Maximum Drawdown Limit – Stops trading once the specified drawdown level is reached.

  • Close Trades at Maximum Drawdown – Automatically exits all positions after a drawdown breach.

  • Daily Drawdown Limit – Suspends new trades when daily losses exceed the threshold.

  • Daily Loss Emergency Close – Forces all trades to close when the daily loss limit is reached.


Economic News Protection

Prevents trading around scheduled economic announcements.

  • High Impact News Filter – Blocks trading during major economic releases.

  • Medium Impact News Filter – Blocks trading during medium-impact events.

  • Low Impact News Filter – Blocks trading during low-impact events.

  • News Buffer Before Event – Number of hours trading is suspended before a news release.

  • News Buffer After Event – Number of hours trading remains suspended after a news release.


Position Control & Hedging Options

Additional controls governing trade placement and exposure.

  • One Trade Per Symbol – Restricts the EA to a single active trade per instrument.

  • Minimum Trade Spacing – Required distance between consecutive trades on the same symbol.

  • Hedging Mode – Allows simultaneous Buy and Sell positions on the same instrument.


Dynamic Trailing Configuration

Controls the automatic movement of Stop Loss as trades become profitable.

  • Enable Trailing Stop – Activates the trailing stop system.

  • Trailing Method – Selects the trailing algorithm used by the EA.

  • Remove Take Profit on Trailing Activation – Deletes the TP target once trailing begins.


Classic Step Trailing Parameters

Fixed-step trailing stop configuration.

  • Trailing Activation Distance – Profit required before trailing starts.

  • Trailing Offset – Distance maintained between market price and Stop Loss.

  • Trailing Step Size – Minimum price movement required before Stop Loss is updated.


ATR Volatility Trail Engine

Volatility-based trailing stop using Average True Range calculations.

  • ATR Period – Number of candles used for ATR calculation.

  • ATR Timeframe – Chart timeframe used for volatility measurements.

  • ATR Multiplier – Controls the sensitivity and distance of the trailing stop.


Scaling Out & Partial Close Settings

Allows a portion of a position to be closed while letting the remainder continue running.

  • Enable Partial Close on Trailing – Closes part of the trade when trailing begins.

  • Partial Close Percentage – Percentage of the position volume to close.


Automatic Break-Even Control

Protects open positions by moving Stop Loss to a risk-free level.

  • Enable Break-Even – Activates automatic break-even management.

  • Break-Even Trigger Distance – Profit required before Stop Loss is moved.

  • Break-Even Buffer – Additional pips locked in beyond the entry price.


Prop Trading Risk Constraints

Specialized controls designed for prop-firm and challenge-account environments.

  • Prop Account Adjustment Mode – Applies slight SL/TP randomization to execution.

  • Maximum Daily Loss – Daily loss limit measured in account currency.

  • Maximum Daily Losing Trades – Number of losing trades allowed per day.

  • Loss Recovery Cooldown – Number of candles the EA pauses after reaching the loss threshold.