网友求助:
要求:5,10,20,60,120日均线为多头排列,且第一根阳k线站在五线之上,谢谢。
解答如下:
MA(C,5)>REF(MA(C,5),1) AND
MA(C,10)>REF(MA(C,10),1) AND
MA(C,20)>REF(MA(C,20),1) AND
MA(C,60)>REF(MA(C,60),1) AND
MA(C,120)>REF(MA(C,120),1) AND
C>O AND
CROSS( C>MA(C,5),0.5) AND
CROSS(C>MA(C,10),0.5) AND
C>MA(C,20) AND
C>MA(C,60) AND
C>MA(C,120) ;