The script deletes all orders of the type specified in settings, on the current symbol.
Script input parameters:
//+----------------------------------------------+ //| SCRIPT INPUT PARAMETERS | //+----------------------------------------------+ input ENUM_ORDER_TYPE_ OrderType_=ORDER_TYPE_BUY_LIMIT_; // Order type input uint RTOTAL=4; // Number of attempts in case of failure input uint SLEEPTIME=1; // A pause between the attempts in seconds input uint Deviation_=10; // Price deviation