VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
VAR3:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100;
VAR4:=CROSS(80,VAR3);
VAR5:=(HIGH+LOW+CLOSE)/3;
VAR6:=(VAR5-MA(VAR5,14))*1000/(15*AVEDEV(VAR5,14));
VAR7:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR8:=SMA(VAR7,3,1);
VAR9:=SMA(VAR8,3,1);
VAR10:=3*VAR8-2*VAR9;
VAR11:=REF(VAR6,1)>90 AND VAR6<REF(VAR6,1);
VAR12:=REF(VAR10,1)>90 AND VAR10<REF(VAR10,1);
VAR13:=REF(VAR2,1)>70 AND VAR2<REF(VAR2,1);
VAR14:=COUNT(VAR11,5) AND COUNT(VAR12,5) AND COUNT(VAR13,5);
VAR15:=CROSS(VAR14,0.5);
VAR16:=REF(VAR6,1)<-100 AND VAR6>REF(VAR6,1);
VAR17:=REF(VAR10,1)<20 AND VAR10>REF(VAR10,1);
VAR18:=REF(VAR2,1)<20 AND VAR2>REF(VAR2,1);
VAR25:=COUNT(VAR16,5) AND COUNT(VAR17,5) AND COUNT(VAR18,5);
VAR26:=CROSS(VAR25,0.5);
DRAWICON(VAR4,H*1.005,15);
DRAWICON(VAR15,H*1.005,2);
DRAWICON(VAR26,L*0.991,9);
中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFF951F,DOTLINE,LINETHICK2;
DRAWTEXT_FIX(C>O,0,0.07,0,'VAR25:VAR26'),COLORMAGENTA;
IF(中>REF(中,1),中,DRAWNULL),COLORRED,DOTLINE,LINETHICK2;
DRAWNUMBER(ISLASTBAR,HHV(C,5)*0.95*1.015,HHV(C,5)*0.95),COLORWHITE;
STICKLINE(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95,50,0),COLORWHITE;
DRAWTEXT(ISLASTBAR,HHV(C,5)*0.95,'止损价位'),COLORWHITE;