Forum

How can I Close an untriggered Pending-order based on time..

Hie Guys, May anyone help, I would like to code a Line that Closes/Deletes a Pending order , if not triggered, after a certain period of time (say 20 seconds). I have inserted question marks (?????) in the code below, indicating where I would like to insert the line. //----- OrderSelect(cnt

Please help me get this code working

I am a newbie and needs help on my first EA, There is one error remaining . It says ( '\end_of_program'-ending bracket '}' expected ). The error dot points me to a line of code where the program should be opening an additional order. Does anyone know what I may do to solve this problem