Download MetaTrader 5

References to closing an open order when conditions are met strategic points.

To add comments, please log in or register
michael sedgley
528
michael sedgley  
I am writing my first code and ask, is there any reference to code a " Close an Order When conditions are Met. " An example would be when a open order reverses and meets a moving average ! Thanks to any help. 
Carl Schreiber
7091
Carl Schreiber  
in your expert folder you have 2 EA examples use them and modify its code for your needs
michael sedgley
528
michael sedgley  
Hi - Taking out the elements that i would need to build into my ea are not straight forward for me at the moment and really need some more specific examples also examples in the code base don`t meet the new compilation property strict so nothing seems straight forward ! 
Carl Schreiber
7091
Carl Schreiber  
ok - here you have plenty of examples.
To add comments, please log in or register