Strategy ID in code
1 replies
blu one
4 years ago #260352
Hi,
Please tell me about the role of “StrategyID” in the code generated for mt5.
what will be its effects on multi currency trading with the same strategyID and different Magic numbers or same magic numbers?
Should I change it for every pair?
For multi currency trading in mt5 should I change the strategy id for every pair and then generate the EA or I can just change the set files with single generated EA.?
thanks

tomas262
4 years ago #260425
Hello,
it helps to differentiate global variables used within an EA to prevent any possible conflict
In a case when you use multiple EAs on the same pair it is necessary to set a different magic number.
Viewing 1 replies (of 1 total)