TA:=CONST(REF(HHV(HIGH,10),1)); TB:=CONST(REF(LLV(LOW,10),1)); TC:=CURRBARSCOUNT<=11; TD:=CURRBARSCOUNT=11;
LA:IF(TC,TA,DRAWNULL),COLORYELLOW,DOTLINE; LB:IF(TC,TB,DRAWNULL),COLORGREEN,DOTLINE; DRAWTEXT(TD,LA+0.05,VAR2STR(TA,2)),COLORYELLOW; DRAWTEXT(TD,LB+0.05,VAR2STR(TB,2)),COLORGREEN;
|