VAR1:=9;
VAR2:=26;
VAR3:=52;
VAR4:=(HHV(HIGH,VAR1)+LLV(LOW,VAR1))/2;
VAR5:=(HHV(HIGH,VAR2)+LLV(LOW,VAR2))/2;
SA:(VAR4+VAR5)/2,COLORMAGENTA,LINETHICK2;
SB:(HHV(HIGH,VAR3)+LLV(LOW,VAR3))/2,COLORMAGENTA,LINETHICK2;
QQ:DRAWBAND(SA,RGB(244,164,96),SB,RGB(216,191,216));
TT:REFX(VAR4,VAR2-1),COLORRED;
KK:REFX(VAR5,VAR2-1),COLORBLUE,LINETHICK2;
CH:REFX(CLOSE,2*(VAR2-1)),COLORWHITE;
VAR6:=CLOSE;
VAR7:=REFX(HIGH,VAR2-1);
VAR8:=REFX(OPEN,VAR2-1);
VAR9:=REFX(LOW,VAR2-1);
VAR10:=REFX(CLOSE,VAR2-1);
VAR11:=(VAR7+VAR9+VAR10+VAR8)/4;
VAR12:=REF(VAR11,1)/2;
VAR13:=REF(VAR12,1)+REF(VAR11,1)/2;
VAR14:=MAX(VAR7,MAX(VAR13,VAR11));
VAR15:=MIN(VAR9,MIN(VAR13,VAR11));
VAR16:=(MA(VAR13,2)+MA(VAR13,4))/2;
STICKLINE(VAR11>=VAR13,VAR14,VAR11,1,0),COLOR225588;
STICKLINE(VAR11>=VAR13,VAR14,VAR11,0,0),COLOR66CCFF;
STICKLINE(VAR11>=VAR13,VAR13,VAR15,1,0),COLOR225588;
STICKLINE(VAR11>=VAR13,VAR13,VAR15,0,0),COLOR66CCFF;
STICKLINE(VAR11>VAR13,VAR11,VAR13,2.8,0),COLOR225588;
STICKLINE(VAR11>VAR13,VAR11,VAR13,2.5,0),COLOR226699;
STICKLINE(VAR11>VAR13,VAR11,VAR13,2.2,0),COLOR3377AA;
STICKLINE(VAR11>VAR13,VAR11,VAR13,1.9,0),COLOR3388BB;
STICKLINE(VAR11>VAR13,VAR11,VAR13,1.6,0),COLOR4499CC;
STICKLINE(VAR11>VAR13,VAR11,VAR13,1.3,0),COLOR44AADD;
STICKLINE(VAR11>VAR13,VAR11,VAR13,1,0),COLOR55BBEE;
STICKLINE(VAR11>VAR13,VAR11,VAR13,0,0),COLOR66CCFF;
STICKLINE(VAR11<=VAR13,VAR14,VAR11,1,0),COLOR888800;
STICKLINE(VAR11<=VAR13,VAR14,VAR11,0,0),COLORCYAN;
STICKLINE(VAR11<=VAR13,VAR13,VAR15,1,0),COLOR888800;
STICKLINE(VAR11<=VAR13,VAR13,VAR15,0,0),COLORCYAN;
STICKLINE(VAR11<=VAR13,VAR11,VAR13,2.8,0),COLOR888800;
STICKLINE(VAR11<=VAR13,VAR11,VAR13,2.5,0),COLOR999900;
STICKLINE(VAR11<=VAR13,VAR11,VAR13,2.2,0),COLORAAAA00;
STICKLINE(VAR11<=VAR13,VAR11,VAR13,1.9,0),COLORBBBB00;
STICKLINE(VAR11<=VAR13,VAR11,VAR13,1.6,0),COLORCCCC00;
STICKLINE(VAR11<=VAR13,VAR11,VAR13,1.3,0),COLORDDDD00;
STICKLINE(VAR11<=VAR13,VAR11,VAR13,1,0),COLOREEEE00;
STICKLINE(VAR11<=VAR13,VAR11,VAR13,0,0),COLORCYAN;
VAR17:=STRCAT(HYBLOCK,1);{70822}
VAR18:=STRCAT(VAR17,FGBLOCK);
VAR19:=STRCAT(VAR18,DYBLOCK);
VAR20:=STRCAT(VAR19,1);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(VAR20,GNBLOCK)),COLORCYAN;