Attachments forums
Re: Simple Expert Advisors (EA's) for MT4
mladen, Wed Feb 15, 2017 7:20 pm
As simple as it gets simple moving averages cross expert advisor : simple ma cross ea.mq4 __________________It opens an order on a cross of two averages. If an order of opposite direction exists, it is first closes that order. If it fails to close the opposite order it will attempt the same thing (if the signal still exists) on the next tick (new order opening is prevented if the opposite direction order close fails). Some extra built in (like current profit for opened order display - just for the sake of simpler usage and providing a bit more information - that will probably be extended in the future versions of any of the experts posted here).It is an easy to use frame that can be used for similar tasks and, as all can see, the code is as simple as it gets. There is no need for anything more complicated for this kind of tests