VAR1:=REF(OPEN>CLOSE,1) AND REF(CLOSE,2)/REF(CLOSE,1)>=1.06;
VAR2:=CLOSE/REF(CLOSE,1)>=1.098;
VAR3:=(HIGH+LOW+CLOSE)/3;
VAR4:=(VAR3-MA(VAR3,14))/(0.015*AVEDEV(VAR3,14));
VAR5:=REF(VAR4,1)<(-180);
XG:VAR1 AND VAR2 AND VAR5;
0,COLORRED,LINETHICK2;
STICKLINE(XG,0,20,2,0),COLORLIRED;
STICKLINE(XG,20,40,2,0),COLORBLUE;
STICKLINE(XG,40,60,2,0),COLORRED;
DRAWICON(XG,41,29);
DRAWICON(XG,20,25);
DRAWICON(XG,60,26);
DRAWICON(XG,1,28);
DRAWTEXT_FIX(CLOSE>OPEN,0.02,0.1,0,3),COLORYELLOW;