[英]why pending orders doesn't adjusted in mql4? error: the price doesnt declared. here is the mql4 code
/ here i saved my last order's open price at op parameter. /在这里,我在 op 参数处保存了我最后一个订单的开盘价。 /
/
double op = OrderOpenPrice();双操作 = OrderOpenPrice();
int ticket = SendOrder(_symbol,OP_SELLSTOP,0.02,op -0.0020,100, 0,0); int ticket = SendOrder(_symbol,OP_SELLSTOP,0.02,op -0.0020,100, 0,0);
If you are trying to change existing orders you should be using OrderSelect() and OrderModify() .如果您尝试更改现有订单,您应该使用OrderSelect()和OrderModify() 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.