GT4 := C>REF(C,4);
GNT := BARSLASTCOUNT(GT4), NODRAW;
GTJ1 := (GNT=9);
GTJ2 := ISLASTBAR AND BETWEEN(GNT,6,8);
GBM := (BACKSET(GTJ1,9) OR BACKSET(GTJ2,GNT))*GNT;
DRAWNUMBER(GBM>0 AND GBM<9, H, GBM), COLORMAGENTA;
DRAWNUMBER(GNT=9, H, 9), COLORGREEN;
LT4 := C<REF(C,4);
LNT := BARSLASTCOUNT(LT4), NODRAW;
LTJ1 := (LNT=9);
LTJ2 := ISLASTBAR AND BETWEEN(LNT,6,8);
LBM := (BACKSET(LTJ1,9) OR BACKSET(LTJ2,LNT))*LNT;
DRAWNUMBER(LBM>0 AND LBM<9, L, LBM), COLORGREEN;
DRAWNUMBER(LNT=9, L, 9), COLORMAGENTA |