why pending orders doesn't adjusted in mql4? error: the price doesnt declared. here is the mql4 code

why pending orders doesn't adjusted in mql4? error: the price doesnt declared. here is the mql4 code

Manage alerts

Loading saved threads...

ali · External communityPost link
External question — Stack Overflow Stack Exchange Author: ali Original post: https://stackoverflow.com/questions/70494286 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. / 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);
Quote
Report
PaulB · External communityPost link
External answer — Stack Overflow Stack Exchange Author: PaulB Original post: https://stackoverflow.com/a/70495282 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. If you are trying to change existing orders you should be using OrderSelect() and OrderModify() .
Quote
Report

Post Reply

Quoted from Forex.com.bd-Editorial External question — Stack Overflow Stack Exchange Author: ali Source score (net votes, not local likes): 1 Original post: https://stackoverflow.com/questions/70494286 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. / 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);

Cancel quote

Checking account access…