Multipairs
-
Hello , I have the need to create a block to scan all pairs/symbol (or list of pairs is ok as well) opened in the platform from other ea (as trades) to test if close or not them according to different conditions. So is it sufficient to insert "set current market" at beginning of the first block to let all the other blocks parametric respect to the list of symbols, or act at the same time in each block where the symbol is specified ? look the block annexed... Many thanks !

-
@pbarbieri All symbols included in that 'set current market' vblock will be checked, no matter the symbols in which the EA is active on right now. However, you will need all those symbols to be active on your MT4's market watch window. Otherwise the will not be checked.
-
@l-andorrà many thanks for your support! this means that is not important that the blocks below "set current market" have symbol empty (that means current symbol) because "set current market" override the setting of the below blocks and will check all symbols define inside "set current market" list. Is it correct?
from sw perspective the blocks will be executed in a loop to check all defined symbols. Is it correct? -
@pbarbieri Exactly. That is correct.