A simple question ...
Are static local variables (defined in start) shared between the same EA running on multiple charts? Or are they kept independent to each version of the EA?
Some context: I want to run the same EA on multiple pairs (charts). The EA has flags to indicate different stages of a trade set-up. So i want these flags to be kept independent, i.e. unique for each chart and its EA. I'm looking for the simplest solution.
Thanks.
Are static local variables (defined in start) shared between the same EA running on multiple charts? Or are they kept independent to each version of the EA?
Some context: I want to run the same EA on multiple pairs (charts). The EA has flags to indicate different stages of a trade set-up. So i want these flags to be kept independent, i.e. unique for each chart and its EA. I'm looking for the simplest solution.
Thanks.