A1:=C>REF(C,4); NT:=BARSLASTCOUNT(A1); TJ11:=9; TJ13:=ISLASTBAR AND BETWEEN(NT,5,8); AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT; MM:=BACKSET(NT=9&&H>HV(H,8),9); N1:=MOD(NT,9); DRAWNUMBER(MM=1&&AY>0,H,N1,0,RGB(255,0,255)); DRAWTEXT(NT=9&&MM,H,"9"),COLORGREEN; B1:=C<REF(C,4); NT0:=BARSLASTCOUNT(B1); TJ21:=NT0=9 ; NN:=BACKSET(NT0=9&&L<LV(L,9),9); TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8); AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0; N2:=MOD(NT0,9); DRAWNUMBER(NN=1&&AY1>0,L,NT0,0,RGB(0,255,0)); DRAWTEXT(NT0=9&&NN,L,"9"),RGB(255,0,128);