If there's no Current Symbol

 

Hi All , 


i have achieve when OrderTotal = 0 then OpenTrade at this Symbol (EUR/USD).

But when there's opened trade , example : (GBP/USD). not EUR/USD, 

How shall i open a EUR/USD Trade.


Files Attached.

Thank you.

Files:
 
Lim Boon Keng:


i have achieve when OrderTotal = 0 then OpenTrade at this Symbol (EUR/USD).

But when there's opened trade , example : (GBP/USD). not EUR/USD, 

How shall i open a EUR/USD Trade.

Your code only trades the current symbol. Open a second chart and put it on there.