Nope. I don't see any OrderSelect() call in there. CB
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I want to refuse requotes which are below my exit criteria and reattempt to close the order. Is this the right way to accomplish this?
{
while(Order == false)
{RefreshRates();
Order = OrderClose(OrderTicket(),Lot,Ask,2);
if (GetLastError()==138 && Ask < OrderClosePrice() || Ask < OrderOpenPrice())
{Order = false; return;}
else{continue;}
}
Thanks!