What is the correct way to proceed if you have several strategies that can be applied to the same symbol?
Hi, use a magic number to describe individual strategies. Regards Greg
If you run each strategy as a separate EA, then you can use a separate magic number as @Greg Pawlak suggests.
You could have two separate trading accounts and run each EA on its own instance of MT5. Thus all trading results shown in the MT5 history only
correspond to that strategy.
If you are using only one EA, you would have to track this information internally.
Alternatively you can use the order comment to name the strategy that is related to the order.

Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Order Properties
- www.mql5.com
Requests to execute trade operations are formalized as orders. Each order has a variety of properties for reading. Information on them can be obtained using functions Position identifier that is set to an order as soon as it is executed. Each executed order results in a deal that opens or modifies an already existing position. The...
Thanks to all.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
What is the correct way to proceed if you have several strategies that can be applied to the same symbol?
Thanks,
Pierre8r