bbi:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLOR0000ff,
linethick2;
ma30:ema(c,30),color00ff00,linethick2;
STICKLINE(bbi =ref(bbi,1),bbi,ref(bbi,1),3,0),COLORRED;
STICKLINE(bbi ref(bbi,1),bbi,ref(bbi,1),7,0),COLORffffff;
STICKLINE(C =bbi AND C =O,C,O,7,0),COLORRED;
STICKLINE(C =bbi AND C =O,H,L,0,0),COLORRED;
STICKLINE(C =bbi AND C O,C,O,7,1),COLORRED;
STICKLINE(C =bbi AND C O,O,H,0,0),COLORRED;
STICKLINE(C =bbi AND C O,C,L,0,0),COLORRED;
STICKLINE(C bbi AND C O,C,O,7,1),COLORffff00;
STICKLINE(C bbi AND C =O,C,O,7,1),COLORffff00;
STICKLINE(C bbi AND C =O,H,L,0,1),COLORffff00;
STICKLINE(C bbi AND C O,C,H,0,1),COLORffff00;
STICKLINE(C bbi AND C O,O,L,0,1),COLORffff00;
DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,l,1);
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,h,2);