VAR1:=HHV(HIGH,34);
VAR2:=LLV(LOW,34);
VAR3:=EVERY(CLOSE<OPEN,4);
VAR4:=EVERY(CLOSE<OPEN,3);
VAR5:=VAR3 OR VAR4;
XG:REF(VAR5,1) AND VAR1 AND VAR2 AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=MA(CLOSE,10);
STICKLINE(XG,0,0.8,2,0),COLORRED;
DRAWICON(XG,1.02,16);
DRAWICON(XG,0.9,1);
DRAWICON(XG,0.5,34);