ในคำสั่ง OrderSend ให้ระบุชื่อของคู่เงินลงไปครับ ก็จะเปิดได้ทุกคู่เงินที่ต้องการ
แบบนี้หรอครับ
Symbol1 = "USDCHF";
Symbol2 = "EURUSD";
Symbol3 = "GPBUSD";
Symbol4 = "AUDUSD";
Symbol5 = "NZDUSD";
Symbol6 = "USDCAD";
Symbol7 = "GBPJPY";
Symbol8 = "EURGBP";
Symbol9 = "EURJPY";
Symbol10 = "EURCHF";
Symbol11 = "AUDJPY";
Symbol12 = "EURAUD";
Symbol13 = "NZDUSD";
Symbol14 = "AUDCAD";
Symbol15 = "EURCAD";
OrderSend(Symbol1,OP_BUY,Lots,Ask,3,0, Ask+Point*TakeProfit,"",MagicNumber,0,clrGreen);
OrderSend(Symbol2,OP_BUY,Lots,Ask,3,0, Ask+Point*TakeProfit,"",MagicNumber,0,clrGreen);
OrderSend(Symbol3,OP_BUY,Lots,Ask,3,0, Ask+Point*TakeProfit,"",MagicNumber,0,clrGreen);
OrderSend(Symbol4,OP_BUY,Lots,Ask,3,0, Ask+Point*TakeProfit,"",MagicNumber,0,clrGreen);
OrderSend(Symbol5,OP_BUY,Lots,Ask,3,0, Ask+Point*TakeProfit,",MagicNumber,0,clrGreen);