Sathish Justin:
I am getting the following error in the below code, request you to help plz, i want to delete the pending orders using the magic number
void DeleteAll() { for(int ord=OrdersTotal()-1; ord>=0; ord--) if(orderInfo.SelectByIndex(ord) && OrderGetInteger(POSITION_MAGIC)==Magic){ trade.OrderDelete(orderInfo.Ticket()); } }
See what you are doing
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 am getting the following error in the below code, request you to help plz, i want to delete the pending orders using the magic number