M5:=MA(CLOSE,5);
M10:=MA(CLOSE,10);
M20:=MA(CLOSE,20);
{}
RC:=IF((M5>=M20 OR REF(M20,1) <= M20) AND (M5>=M10 OR REF(M10,1) / M10 >=0.01) AND REF(M20,1) <= M20,1,0);
STICKLINE(RC=1,OPEN,CLOSE,3,1), COLORRED;
STICKLINE(RC=1,LOW,OPEN,0,1), COLORRED;
STICKLINE(RC=1,CLOSE,HIGH,0,1),COLORRED;
STICKLINE(RC=0,CLOSE,OPEN,3,1), COLORGREEN;
STICKLINE(RC=0,OPEN,LOW,0,1), COLORGREEN;
STICKLINE(RC=0,HIGH,CLOSE,0,1),COLORGREEN;
操作线:MA(CLOSE,60),COLORLIMAGENTA,LINETHICK2;
生命线:MA(CLOSE,120),COLORGREEN,LINETHICK2;