defparam drawonlastbaronly = true
//ZONE ASIATIQUE
if IntradayBarIndex =0 then
HTAsie=High
BSAsie=Low
bstart=barindex
endif
if opentime>230000 or opentime<=070000 THEN
htasie=max(htasie,High)
bsasie=min(bsasie,low)
bfin=barindex
endif
//asie
if opentime>070000 and opentime<230000 THEN
DRAWRECTANGLE(bstart, htasie, bfin, bsasie) BORDERCOLOR(255,255,0)
DRAWSEGMENT(barindex, htasie, bstart, htasie)COLOURED(255,255,0)STYLE (line,2)
DRAWSEGMENT(barindex,bsasie, bstart, bsasie)COLOURED(255,255,0)STYLE (line,2)
DRAWSEGMENT(barindex,dopen(0), bstart, dopen(0))COLOURED(0,0,255)STYLE (line,2)
DRAWTEXT("Open du jour", barindex+2, dopen(0)) COLOURED(0,0,255)
endif
return