How to know the number of open chart for the same EA ?

 

Hi all

I need to know the number of pairs my EA is driven. I don't find a way !

How to know the number of open chart for the same EA ?

thanks

Philippe

 
Matutin:

Hi all

I need to know the number of pairs my EA is driven. I don't find a way !

How to know the number of open chart for the same EA ?

thanks

Philippe


Assuming each instance has its own magic number, I'd have the EA write their magic numbers to a single text file. Then, just have the EA count the number of distinct magic numbers in the file.

 
heyarn:


Assuming each instance has its own magic number, I'd have the EA write their magic numbers to a single text file. Then, just have the EA count the number of distinct magic numbers in the file.


Thanks

I was trying the same way with Global Variabe :)

 

oh you mean GlobalVariableSet.. Yeah.. should be easier. Goodluck!


ps just a thought, you could use prime numbers as your magic numbers, that way, when you get the total of the sums of magic numbers, you can easily figure out how many instances you have going. for example, if your global variable is 9, then you know you have 3 instances. You can have the EA look up a crosswalk table converting the prime number to the # of instances.