Code Help-- Can't Trade multiple pairs
I'm having problems/issues controlling the number of trades I am able to place simultaneously. I have figured out how to limit the open trades (per pair), but my EA is not opening trades in multiple currency pairs that I have attached the EA to.
I have 3-5 charts open w/ EA attached to each chart. The trade signals that I am using clearly call for a trade on each chart (using a trend following strategy). I have tried playing with the OrderSend code as well as the FOR loop and OrderSelect code. My structure is simple at this point and I am using what seems to be "standard" arguments (I've been checking out how the more experienced coders form it).
I imagine the solution is very basic and that I'm missing something... Can anyone please give me guidance, or point me in the right direction, on this?
Thanks So Much
|