DRAWLINE3(DAYBARPOS=1,REF(HHV(H,DAYBARPOS),1),REF(DAYBARPOS,1),1,REF(HHV(H,DAYBARPOS),1),1,0);
DRAWLINE3(DAYBARPOS=1,REF(LLV(L,DAYBARPOS),1),REF(DAYBARPOS,1),1,REF(LLV(L,DAYBARPOS),1),1,0);
DRAWLINE3(DAYBARPOS=1,REF(HHV(H,DAYBARPOS),1),REF(DAYBARPOS,1),1,REF(LLV(L,DAYBARPOS),1),REF(DAYBARPOS,1),0);
DRAWLINE3(DAYBARPOS=1,REF(HHV(H,DAYBARPOS),1),1,1,REF(LLV(L,DAYBARPOS),1),1,0);
DRAWLASTBARLINE(1,HHV(H,DAYBARPOS),0,1,LLV(L,DAYBARPOS),0,0);
DRAWLASTBARLINE(1,HHV(H,DAYBARPOS),DAYBARPOS-1,1,LLV(L,DAYBARPOS),DAYBARPOS-1,0);
DRAWLASTBARLINE(1,HHV(H,DAYBARPOS),DAYBARPOS-1,1,HHV(H,DAYBARPOS),0,0);
DRAWLASTBARLINE(1,LLV(L,DAYBARPOS),DAYBARPOS-1,1,LLV(L,DAYBARPOS),0,0);