MA5:=MA(CLOSE,5),COLORWHITE;
MA10:=MA(CLOSE,10),COLORYELLOW;
MA20:=MA(CLOSE,24),COLORMAGENTA;
MA60:=MA(CLOSE,60),COLORGREEN,LINETHICK1;
MA120:=MA(CLOSE,120),COLORLIMAGENTA,LINETHICK1;
MA240:=MA(CLOSE,240),COLORLIRED;
DRAWICON(CROSS(MA10,MA20),1,1); {10日上穿20日做记号}
DRAWICON(CROSS(MA20,MA60),1.06,1); {20日上穿60日做记号}
DRAWICON(CROSS(MA20,MA120),1.12,1); {20日上穿60日做记号}
DRAWICON(CROSS(MA20,MA240),1.24,1);{20日上穿120日做记号}
DRAWICON(CROSS(MA60,MA120),1.06,1); {60日上穿120日做记号}
DRAWICON(CROSS(MA60,MA240),1.2,1); {60日上穿240日做记号}
DRAWICON(CROSS(MA120,MA240),1.2,1);{120日上穿240日做记号}
反弹托:IF(MA5>MA20 AND MA5>MA20 AND MA20<MA60 AND MA60<MA120 AND CROSS(MA10,MA20),1.5,1.1);
月价托:=MA5>MA20 AND MA20>MA60 AND MA60>MA120 AND MA5>MA20 AND CROSS(MA10,MA20);
季价托:=MA20>MA60 AND MA20>MA60 AND CROSS(MA20,MA60);
短长价托:=MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60);
半年托:=MA60>MA120 AND MA60>MA120 AND CROSS(MA60,MA120);
熊来:=MA60<MA120 AND MA60<MA120 AND CROSS(MA120,MA60);
年托:=MA120>MA240 AND MA120>MA240 AND CROSS(MA120,MA240);
月蜘蛛:=MA5>MA10 AND MA10>MA20 AND CROSS(MA5,MA20)AND CROSS(MA10,MA20);
压:IF(MA10<MA20 AND MA20>MA10 AND CROSS(MA20,MA10),0.5,1);
VOL5:=MA(VOL,5),COLORWHITE;
VOL10:=MA(VOL,10),COLORYELLOW;
VOL40:=MA(VOL,40),COLORFF00FF ;
量托:VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1);