You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have an EA running on multiple USD pairs, but I want to limit the number of USD positions allowed open at a time. I am trying to count them by using StringFind to see if "USD" exists in the symbol name, if it does it adds +1 to the count which it compares to my externally set variable of USD. For some reason this is returning some odd values for the usd counter like 661 and 32759 when there is only one position open.