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
Is there any body who Knows how to buy or sell two or more currencies with OrderSend command in an Expert advisor.when I use this two lines:
ticket1=OrderSend("EURUSD",OP_BUY,LotsOptimized(),Ask,3,Ask-Stoploss*Point,Ask+TakeProfit*Point,"macd sample",16384,0,Green);
ticket2=OrderSend("USDCHF",OP_BUY,LotsOptimized(),Ask,3,Ask-Stoploss*Point,Ask+TakeProfit*Point,"macd sample",16384,0,Green);
only the currency which is selected in the strategy tester is activated and the other one dose not work.
I tried MarketInfo("EURUSD",MODE_ASK), but when i using "USDCHF" as based currency in tester it returns Zero number for MarketInfo("EURUSD",MODE_ASK).