Reply

Strategy ID in code

1 replies

blu one

Subscriber, bbp_participant, 4 replies.

Visit profile

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

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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.

0

Viewing 1 replies (of 1 total)