Hi. When I started up this morning this is the code I had for Mov Ave
indicator1 = (DHigh(1) + DLow(1) + DClose(1))/3
c1 = (close = indicator1)
indicator2 = 2*((DHigh(1) + DLow(1) + DClose(1))/3) – DLow(1)
c2 = (close = indicator2)
indicator3 = (DHigh(1) + DLow(1) + DClose(1))/3+(DHigh(1)-DLow(1))
c3 = (close = indicator3)
indicator4 = DHigh(1)+2*((DHigh(1) + DLow(1) + DClose(1))/3-DLow(1))
c4 = (close = indicator4)
indicator5 = 2*((DHigh(1) + DLow(1) + DClose(1))/3) – DHigh(1)
c5 = (close = indicator5)
indicator6 = (DHigh(1) + DLow(1) + DClose(1))/3-(DHigh(1)-DLow(1))
c6 = (close = indicator6)
indicator7 = DHigh(1)+2*(((DHigh(1) + DLow(1) + DClose(1))/3)-DLow(1))
c7 = (close = indicator7)
SCREENER[c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7] (null AS “null”)
Before I shut down last night I checked all the codes to ensure that they were what I had coded. This is what the code was for mov ave (I had saved it and this is the import)
Timeframe (15 minutes)
c1 = ExponentialAverage[10](close) > ExponentialAverage[22](close)
c2 = ExponentialAverage[22](close) > ExponentialAverage[50](close)
c3 = close > open
Timeframe (30 minutes)
c11 = ExponentialAverage[10](close) > ExponentialAverage[22](close)
c12 = ExponentialAverage[22](close) > ExponentialAverage[50](close)
Timeframe (1 hour)
c21 = ExponentialAverage[10](close) > ExponentialAverage[22](close)
c22 = ExponentialAverage[22](close) > ExponentialAverage[50](close)
Timeframe (15 minutes)
c101 = ExponentialAverage[10](close) < ExponentialAverage[22](close)
c102 = ExponentialAverage[22](close) < ExponentialAverage[50](close)
c103 = close > open
Timeframe (30 minutes)
c111 = ExponentialAverage[10](close) < ExponentialAverage[22](close)
c112 = ExponentialAverage[22](close) < ExponentialAverage[50](close)
Timeframe (1 hour)
c121 = ExponentialAverage[10](close) < ExponentialAverage[22](close)
c122 = ExponentialAverage[22](close) < ExponentialAverage[50](close)
SCREENER[(c1 AND c2 AND c3 and c11 and c12 and c21 and c22) or (c101 AND c102 AND c103 and c111 and c112 and c121 and c122)]
Thanks Bernard