Following the trend - IF statement folk
-
Hi Everyone
I'm trying to write a simple trend following EA which will either buy or sell EURUSD depending on what the current trend is on the D1 chart. The first condition to find the trend is to ask if the 10MA is above the 50MA, if so it triggers a buy signal and if visa versa a sell. It would then check some more buy or sell conditions before placing an order. I just can't seem to work out how to make the first conditon work! Any help would be much appricated, or if you could point me in the direction of a working example or previous thread about this I would be very grateful.
Many Thanks
Pauley
-