我正在为EA LIMIT和BUY LIMIT操作投影EA。这很简单。 MT4必须以特定价格开立订单(或多个)。这是我的代码,有2个待处理订单
void OnTick(){
if (OrdersTotal()==0)
int sellticket_0 = OrderSend
(Symbol(),OP_BUYLIMIT,0.12,"0.73870",0,"0.73552","0.73893",NULL,0,
TimeCurrent()+167552,clrGreen);
if (OrdersTotal()==1)
int sellticket_1=OrderSend
(Symbol(),OP_BUYLIMIT,0.12,"0.73683",0,"0.73552","0.73813",NULL,0,
TimeCurrent()+167552,clrGreen);
}
不幸的是,它不起作用。