1

/here i saved my last order's open price at op parameter./

double op = OrderOpenPrice();

int ticket = SendOrder(_symbol,OP_SELLSTOP,0.02,op -0.0020,100, 0,0);

ali
  • 35
  • 3

1 Answers1

0

If you are trying to change existing orders you should be using OrderSelect() and OrderModify().

PaulB
  • 1,262
  • 1
  • 6
  • 17