ONCE Size1 = 1.01
ONCE Size2 = 0.99
ONCE t = 40
DRAWCANDLE(High*Size1,High*Size1,Low*Size2,Low*Size2) COLOURED(255,255,255,1) BORDERCOLOR(255,255,255,1)
IF (OpenHour MOD 4 = 1) AND (OpenHour <> OpenHour[1]) THEN
r = 255
b = 0
IF C4 > O4 THEN
r = 0
b = 255
ENDIF
DrawRectangle(Bar4,O4,BarIndex[1],C4) coloured(r,0,b,t) bordercolor("Red",1)
DrawRectangle(Bar4+3,H4,BarIndex[1]-3,max(O4,C4)) coloured(r,0,b,t) bordercolor("Red",1)
DrawRectangle(Bar4+3,L4,BarIndex[1]-3,min(O4,C4)) coloured(r,0,b,t) bordercolor("Red",1)
O4 = open
H4 = high
L4 = low
Bar4 = BarIndex
ENDIF
C4 = close
H4 = max(H4,high)
L4 = min(L4,low)
RETURN