DRAWGBKLAST(CLOSE>0,STRIP(RGB(1,180,180),RGB(50,100,100),2));
P1:=0;
P2:= IF (CLOSE>MA(CLOSE,5),P1+10,P1-10);
P3:= IF (CLOSE>MA(CLOSE,10),P2+10,P2-10);
P4:= IF (CLOSE>MA(CLOSE,10),P3+10,P3-10);
P5:= IF (MA(CLOSE,5)>MA(CLOSE,10),P4+10,P4-10);
P6:= IF (MA(CLOSE,10)>MA(CLOSE,20),P5+10,P5-10);
BD:=P6;
STICKLINE(BD>=-50,-50,BD,5,0),COLOR009900;
STICKLINE(BD>=-50,-50,BD,4.2,0),COLOR00AA00;
STICKLINE(BD>=-50,-50,BD,3.3,0),COLOR00BB00;
STICKLINE(BD>=-50,-50,BD,2.2,0),COLOR00CC00;
STICKLINE(BD>=-50,-50,BD,1.2,0),COLOR00DD00;
STICKLINE(BD>=-50,-50,BD,0.6,0),COLOR00FF00;
STICKLINE(BD>=-30,-30,BD,5,0),COLOrffaa00;
STICKLINE(BD>=-30,-30,BD,4.2,0),COLORffbb11;
STICKLINE(BD>=-30,-30,BD,3.3,0),COLOrffcc22;
STICKLINE(BD>=-30,-30,BD,2.2,0),COLORffdd33;
STICKLINE(BD>=-30,-30,BD,1.2,0),COLORffee44;
STICKLINE(BD>=-30,-30,BD,0.6,0),COLORffff55;
STICKLINE(BD>=0,0,BD,5,0),COLOR00aaff;
STICKLINE(BD>=0,0,BD,4.2,0),COLOR00bbff;
STICKLINE(BD>=0,0,BD,3.3,0),COLOR00ccff;
STICKLINE(BD>=0,0,BD,2.2,0),COLOR00ddff;
STICKLINE(BD>=0,0,BD,1.2,0),COLOR00eeff;
STICKLINE(BD>=0,0,BD,0.6,0),COLOR00ffff;
STICKLINE(BD<=50 AND BD>=30,30,BD,5,0),COLOR0000aa;
STICKLINE(BD<=50 AND BD>=30,30,BD,4.2,0),COLOR0011bb;
STICKLINE(BD<=50 AND BD>=30,30,BD,3.3,0),COLOr0022cc;
STICKLINE(BD<=50 AND BD>=30,30,BD,2.2,0),COLOR0033dd;
STICKLINE(BD<=50 AND BD>=30,30,BD,1.2,0),COLOR0044ee;
STICKLINE(BD<=50 AND BD>=30,30,BD,0.6,0),COLOR0055ff;