VAR1:=crOSS(CLOSE,MA(CLOSE,5));
VAR2:=CROSS(CLOSE,MA(CLOSE,8));
VAR3:=CROSS(CLOSE,MA(CLOSE,24));
VAR4:=CROSS(CLOSE,MA(CLOSE,55));
VAR5:=CROSS(CLOSE,MA(CLOSE,60));
VAR6:=CROSS(CLOSE,MA(CLOSE,75));
VAR7:=CROSS(CLOSE,MA(CLOSE,120));
VAR8:=CROSS(CLOSE,MA(CLOSE,188));
VAR9:=CROSS(CLOSE,MA(CLOSE,240));
VAR10:=VAR1 AND VAR2 AND VAR3 OR VAR4 OR VAR5;
VAR11:=CROSS(obv,MA(OBV,5));
VAR12:=CROSS(MA(OBV,5),MA(OBV,10));
VAR13:=CROSS(MA(OBV,5),MA(OBV,20));
VAR18:=CROSS(MA(OBV,5),MA(OBV,60));
形态好:VAR10 OR VAR6 OR VAR7 OR VAR8 OR VAR9,NODRAW,COLORRED;
量能足:VAR11 OR VAR12 OR VAR13 OR VAR18,NODRAW,COLORFF00FF;
大盘环境好:INDEXC>REF(INDEXC,1),NODRAW,COLORYELLOW;
VAR19:=形态好 AND 量能足 AND 大盘环境好;
STICKLINE(形态好,1,1.5,1,0),COLORRED;
STICKLINE(量能足,0.5,1,2,0),COLORFF00FF;
STICKLINE(大盘环境好,0,0.5,3,0),COLORYELLOW;
DRAWICON(VAR19,1.59,38);