VAR5:=IF(HIGH/LOW>1.04 AND CLOSE/OPEN>1.04,CLOSE,MIN(HIGH,CLOSE));
VAR6:=IF(HIGH/LOW>1.04 AND CLOSE/REF(CLOSE,1)>1.04,实二,MAX(LOW,OPEN));
VAR7:=IF(HIGH/LOW>1.04 AND OPEN/CLOSE>1.04,实二,MIN(HIGH,OPEN));
VAR8:=IF(HIGH/LOW>1.04 AND OPEN/CLOSE>1.04,OPEN,MIN(LOW,OPEN));
VAR9:=IF(CLOSE>OPEN,VAR5,VAR7);
VAR10:=IF(CLOSE>OPEN,VAR6,VAR8);
VAR11:=CLOSE=LOW AND REF(CLOSE,1)/CLOSE>=1.095;
VAR12:=SUM(AMOUNT,1)/SUM(VOL,1)/100;
VAR13:=IF(CLOSE/REF(CLOSE,1)*100-100>=4.3,1,0) AND IF(CLOSE/REF(CLOSE,1)*100-100<=9.96,1,0) AND IF(CLOSE-OPEN>OPEN-LOW,1,0) AND IF(VAR12/REF(CLOSE,1)>1.02,1,0) AND (HIGH-CLOSE)/CLOSE<0.03 AND (OPEN-LOW)/LOW<0.02 AND CLOSE>OPEN AND VOL>REF(VOL,1);
STICKLINE(VAR13,OPEN,CLOSE,(-1),0),COLOR6B238E;
VAR14:=IF(CLOSE/REF(CLOSE,1)*100-100<=(-4),1,0) AND IF(CLOSE/REF(CLOSE,1)*100-100>=(-9.96),1,0) AND IF(VAR12/REF(CLOSE,1)<(-1.02),1,0);
STICKLINE(VAR14,OPEN,CLOSE,(-1),0),COLORRED;
STICKLINE(VAR4,OPEN,CLOSE,(-1),0),COLORMAGENTA;
STICKLINE(VAR11,OPEN,CLOSE,(-1),0),COLORWHITE;
STICKLINE(VAR4,HIGH,LOW,0,0),COLORMAGENTA;
VAR15:=(OPEN-CLOSE)/OPEN>0.02 AND CLOSE<REF(CLOSE,1);