VAR1:=CLOSE>OPEN AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,1)AND OPEN>REF(OPEN,1)AND HIGH>REF(HIGH,1)AND LOW>REF(LOW,1);
VAR2:=COUNT(VAR1,2)=2;
VAR3:=REF(CLOSE,2)>REF(OPEN,2)AND REF(CLOSE,2)/REF(OPEN,2)>1.03;
VAR4:=VAR2 AND VAR3;
stICKLINE (VAR4,0,10,1,0),colorred;
DRAWTEXT (VAR4,8, '买'),colormagenta;