if BARSTATUS=2 then begin
KGx:=mod(CURRENTTIME,5);
Nx:=19;
TSt:='';if KGx=4 and min(BARSLAST(2*ref(V,1)<V),BARSLAST(v>ref(v,1) and 2*ref(V,2)<ref(V,1)))=HHVBARS(V,Nx) then TSt:=TSt+'立桩量 ______________';
else if KGx>1 then TSt:=TSt+'天 ________________';
else if KGx<2 then TSt:=TSt+'攻 ________________';
TSd:='';if KGx>1 then TSd:=TSd+'地 ________________';
else if KGx<2 then TSd:=TSd+'守 ________________';
DRAWTEXT(1,if(KGx>1,REF(REF(C,HHVBARS(V,Nx)),1),REF(REF(c,HHVBARS(abs(c-o),Nx)),1)),TSt),ALIGN2,VALIGN1;
DRAWTEXT(1,if(KGx>1,REF(REF(O,LLVBARS(V,Nx)),1),REF(REF(o,HHVBARS(abs(c-o),Nx)),1)),TSd),ALIGN2,VALIGN1;
end;