Hi,
I have an EA on ONE account.
I would like to trade multiple currencies.
Currently, i use this code:
It's good way for only one currency but when i am starting the EA (with different Magic Number), the OrderTotal() is > 0 ( logic
) and i can not to trade simultanous currencies.
Anyone has light code for trading multi-currencies in same EA ?
Regards.
I have an EA on ONE account.
I would like to trade multiple currencies.
Currently, i use this code:
QuoteDisliked
if( OrdersTotal()>0 ) OrdersList();
if( OrdersTotal()<1 && AccountBalance()>=(CapitalInitial*0.7) ){ OrdersTrade(); }
It's good way for only one currency but when i am starting the EA (with different Magic Number), the OrderTotal() is > 0 ( logic
Anyone has light code for trading multi-currencies in same EA ?
Regards.