Tab: Orders
Order behavior, duplicates, opposites, comments, and grid control
Magic Number
A unique numeric identifier attached to every order opened by this EA instance. Allows the EA to identify and manage only its own orders even when other EAs or manual trades exist on the same account.
Max Simultaneous Trades
Maximum number of open trades allowed at any time. When the limit is reached, new signals are ignored until existing trades are closed. Set to 0 to disable this limit.
Allow Duplicate Signals
If false (recommended), the EA ignores a new signal if there is already an open trade on the same symbol in the same direction from the same channel. Prevents accidentally doubling a position if the same signal is posted twice.
Allow Duplicates from Different Channel
More granular control: allows the same signal (same symbol, same direction) from a different channel even when a duplicate already exists. Useful when following multiple independent signal providers on the same instruments.
Duplicate Signal → Update SL
When a second signal arrives for the same symbol and direction as an already-open trade, instead of opening a new position the EA updates the Stop Loss of all existing positions matching that symbol and direction. The incoming signal must include a SL value for the update to take effect.
Allow Opposite Signals
If false, a SELL signal is ignored when a BUY trade is already open on the same symbol (and vice versa). Enable only if you intentionally want to hedge (hold both BUY and SELL simultaneously).
Allow Opposite Same Channel
More granular: allows opposite signals only when they come from the same channel that opened the current position. Useful for channels that occasionally reverse their signals intentionally.
Close on Opposite — Same Channel
When enabled, if an opposite signal arrives from the same channel that opened the current trade, the EA automatically closes the existing position before (or instead of) opening a new one in the opposite direction.
Close on Opposite — Different Channel
Same behavior as above but triggered by an opposite signal from a different channel than the one that opened the trade.
Custom Comment
Text appended to the comment field of every order opened by this EA. If left empty, the EA uses the channel name as the comment. Useful for labeling trades for later analysis in the account history.
Symbol Prefix / Symbol Suffix
Some brokers add a prefix or suffix to standard symbol names. These fields automatically transform the signal's symbol name to match your broker's format.
m. If broker uses "fxEURUSD", set
Prefix = fx.Delay Before Execution (ms)
Milliseconds to wait after receiving a signal before placing the order. Can be used to avoid entering at the exact signal price spike, or to simulate manual entry timing.
Total Orders (Grid)
Total number of grid orders to open per signal when Execution Mode = GRID. Includes both market orders (opened immediately) and pending orders (placed at defined price levels).
Grid Distance (pips)
Base pip distance between consecutive grid orders. This is the FIXED mode distance. For PROGRESSIVE or VARIABLE mode, see the Grid Distance tab.
Max Market Orders
Maximum number of orders from the grid that can be executed as market orders (at current price) rather than placed as pending orders. The remaining orders in the grid are placed as pending buy/sell limit orders.
Market Distance Threshold (pips)
If the signal's specified entry price is within this many pips of the current market price, the order is executed as a market order instead of a pending limit order. Handles cases where the signal price is essentially "at market".
Min Distance Between Market Orders (pips)
Minimum pip gap required between consecutive market orders. Prevents placing two market orders too close together on fast-moving markets.
Market Execution Margin (pips)
Extra pip buffer added when converting a pending order into a market order. Accounts for slippage and spread when price reaches the pending order level.
Order Expiration (minutes)
How long pending orders remain active before the EA automatically cancels them. Prevents stale pending orders from triggering at unfavorable prices hours after the signal.
Slippage (pips)
Maximum accepted slippage in pips for market order execution. If the broker's execution price deviates more than this from the requested price, the order is rejected. The high default (200) is intentional — it ensures orders always fill even during volatility.
Tolerance Margin (pips)
Extra pip tolerance buffer applied when checking grid spacing conditions. Useful on brokers with variable spreads where exact pip distances may fluctuate slightly.