M1:=MA(C,5);
均线变异:IF(M1>M2,M2,M1),COLOR0000FF;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Z:=MA(VAR6,N1);
STICKLINE(Z>=0 ,H,MAX(O,C),0,1),COLORRED;
STICKLINE(Z< 0 ,O,C,2,1),COLORCYAN;
STICKLINE(Z< 0 ,MIN(O,C),L,0,1),COLORCYAN;
STICKLINE(Z>=0 AND M2>C,H,MAX(O,C),0,1),COLORBLUE;
STICKLINE(Z< 0 AND M2< C,O,C,2,1),COLORYELLOW;
STICKLINE(Z< 0 AND M2< C,MIN(O,C),L,0,1),COLORYELLOW;
DRAWICON(CROSS(CLOSE,WW),LOW-0.002,1);