Anyone figure out how to test the slope of a moving average before executing a position?
I keep getting stuck with testing an array, as in: MA1 = MA(Close,50); MA2 = MA(Close,20); if (MA1[1] < MA1[2]) Short = Cross(MA1,MA2);
Anyone figure out how to test the slope of a moving average before executing a position?
I keep getting stuck with testing an array, as in: MA1 = MA(Close,50); MA2 = MA(Close,20); if (MA1[1] < MA1[2]) Short = Cross(MA1,MA2);