Forum

help with code.

I have this piece of code and i want it to stop sending an order incase the order is already sent...it keep sending the order many times incase the conditions set are met.: Basically it check orders history and incase an order is closed but it does not exist in the open orders as a buystop/sellstop

Duplicate pending orders

Any code that can cycle through several buy stops or sell stops and detect duplicate pending orders then delete one of the duplicates? Will be very grateful. Thank you

press the compile button in MetaEditor via an expert

Code to press the compile button in MetaEditor via an expert

Auto-compilation

I need my EA to recompile itself after a set period of time. Any code for that? Thank you