Guides, manuals and platform references.
Published December 4, 2026 · View Markdown
To keep an AlgoWay exit from managing a separate manual MT5 position, check trade ownership and account mode first. The AlgoWay MT5 EA uses its configured MAGIC_NUMBER to identify its positions. That distinction is useful when positions remain separate. On a netting account, however, manual and automated trades in the same symbol contribute to one position. A label cannot turn that shared position into two independent holdings.
This matters when using AlgoWay for TradingView-to-MT5 automation alongside discretionary trading. The practical question is not simply whether the exit says EURUSD. It is which position the execution instruction can manage, and whether your broker account keeps the two trades separate at all.
Suppose you manually buy 0.10 lots of EURUSD, then your automated strategy buys another 0.20 lots. These are illustrative quantities, not a recommendation.
MetaTrader's official position-accounting explanation distinguishes these models. See also our worked guide to MT5 netting and hedging. Selecting Hedge in an EA cannot change the broker account's accounting system.
In the current AlgoWay MT5 EA Inputs guide, MAGIC_NUMBER identifies trades belonging to the EA. Use distinct values for independent EAs that should not manage each other's positions. Keep the assigned value stable while its trades remain open; changing settings is not a migration plan for existing exposure.
A flat message invokes closing logic. The setting Close size: Lots / Percent % determines how its quantity is interpreted. Do not copy a percentage example into a configuration that expects lots. The documented percent basis is initial position volume, not an arbitrary percentage of the entire account.
Magic-number ownership and strategy identifiers answer different questions. Ownership separates the EA's positions from other positions; identifiers can distinguish trades within an automated workflow. A different chart name is not evidence that an exit targets a different holding. Use the documented route-specific identifiers when you also need strategy-level targeting.
Use a demo account with the same accounting mode as the intended live account. The following is a proposed verification procedure, not a test result.
If the manual position changes unexpectedly, pause the relevant alert and reconcile the remaining exposure before another attempt. Compare the actual message, the account mode and the position records. Repeatedly pressing Test adds trades, not clarity.
AlgoWay's daily equity limits include account-wide realized and floating results, including manual trades. A manual loss can therefore affect permission for new automated entries even when the EA manages only its matching positions. This is a separate issue from which position an exit closes.
When manual and automated activity must have independent same-symbol positions, independent equity budgets and independent emergency exits, separate trading accounts provide a clearer operational boundary. They also require their own connection setup. Choose that separation deliberately instead of asking a trade comment to perform the duties of an account.