Basically the code reads as close crosses from below the EMA(Period, displaced value) go long and the reverse for the short.
The strategy works if I just use the EMA or other Moving average, but the displaced line works so much better when I trade it manually off of the actual displaced line.
Once I get this basic part correct, I can then add in the other noise filters.
Any help would be appreciated.
Comment