MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); MA60:=MA(CLOSE,60); MA120:=MA(CLOSE,120); MA5C10:=CLOSE>=MA5 AND CROSS(MA5,MA10) AND MA10>MA20 AND MA20>MA30 AND MA30>MA60 AND CLOSE>OPEN; MA10C20:=CLOSE>MA5 AND MA5>MA10 AND CROSS(MA10,MA20) AND MA20>MA30 AND MA30>MA60 AND CLOSE>OPEN; MA20C30:=CLOSE>MA5 AND MA5>MA10 AND MA10>MA20 AND CROSS(MA20,MA30) AND MA30>MA60 AND CLOSE>OPEN; MA30C60:=CLOSE>MA5 AND MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND CROSS(MA30,MA60) AND CLOSE>OPEN; MA60C120:=CLOSE>MA5 AND MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60 AND CROSS(60,120) AND CLOSE>OPEN; XG:MA5C10 or MA10C20 or MA20C30 or MA30C60 or MA60C120; |
|