Magic number questions.
-
If you only use 1 robot (EA) for each symbol (for example EURUSD) you trade, it is not necessary to make different Magic numbers.
If you (on the same account) use 2 or 3 robots (on different charts) but on the same symbol (for example EURUSD), you must have different Magic numbers.
Is that correctly understood ?
Yours sincerely
Kim. -
That's correct.
-
Hi @l-andorrà .
If i use multiple pair trading EA,
how can i close trade with signal, by pairs?
Should i have magic number for each symbol?
How can do that? -
@biztet No. You just need to specify this in all relevant blocks:

-
Thanks @l-andorrà . So should i have Close Trades block for each pair? That's a lot.
-
Sorry if its considered duplicate.
what about making the EA must read all signals from all pairs and execute the trades simultaniously?
-
@biztet So if I understand you correctly, you wany one only EA running on a single chart but controlling all trades from multiple symbols at the same time?
-
Single EA.
Reads and execute trades simultaniously on multiple pair.
Exit trade using signal generated from each pair, close by pairs.
Hope you understand.
-
@biztet Ok. Then I recommend you this block:

Here you can specify which comma separated symbols will be checked by all blocks BELOW this one. If you are using different conditions for different symbols you will have to use as many blocks like this as required withi the EA.
-
Do you mean i should do like this for all pairs if different settings?

-
That configurationmeans that blocks 12 and 14 will work on EURUSD only. No matter how many open charts of it as far as they are EURUSD. None other symbol will be considered.
-
And so what i understand is correct. Thanks a lot @l-andorrà .
-
You're welcome.