what i like to do is that i add a script on a chart and it will do
open 3 pairs buys or sells.
for example 0.1 lot EURUSD
GBPUSD
JPYUSD
now i tried building it for myself, but i thought i could simply do.
OrderSend(Symbol(EURUSD),OP_BUY,Lots,Ask,0,SL,TP);
OrderSend(Symbol(GBPUSD),OP_BUY,Lots,Ask,0,SL,TP);
OrderSend(Symbol(JPYUSD),OP_BUY,Lots,Ask,0,SL,TP);
however that does not work since it can only be symbol() as far as i know.
so if possible could someone tell me how i would need to proceed or if somebody already has a script that does it, please post it. i checked google and found indicators that do it. but not a buy or sell script.
thanks in advance
open 3 pairs buys or sells.
for example 0.1 lot EURUSD
GBPUSD
JPYUSD
now i tried building it for myself, but i thought i could simply do.
OrderSend(Symbol(EURUSD),OP_BUY,Lots,Ask,0,SL,TP);
OrderSend(Symbol(GBPUSD),OP_BUY,Lots,Ask,0,SL,TP);
OrderSend(Symbol(JPYUSD),OP_BUY,Lots,Ask,0,SL,TP);
however that does not work since it can only be symbol() as far as i know.
so if possible could someone tell me how i would need to proceed or if somebody already has a script that does it, please post it. i checked google and found indicators that do it. but not a buy or sell script.
thanks in advance