Mr. Mladen,mladen wrote: 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
could i ask for a mtf version please. Nothing fancy. I just wanted the EA to open trades on the ma cross on the LTF, but only if the HTF ma's are on the same direction. That's it. Or if it's simpler a option to only choose long or short trades, it would work too.
This is how i make my money currently, choosing a pair with a HTF trending after an MA cross, and then buying/selling the same direction on the ma crosses on a LTF.