Change code for delete pending order

I am coding personal request EA today.

After many evaluation, I  changed code when delete pending order.

if(OrderType()==OP_BUY )
{
if(OrderProfit()>0&&LongNum==0) {//現在BUYを持っているときは、pending をdeleteしないこと!!

Now it looks like better.

1 個のコメント

  • Leave a Reply

    Your email address will not be published.