咨詢內容:
老師幫忙改下指標
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,9);
DRAWNUMBER(MM=1&&AY>0,H,NT,0,COLORYELLOW);
NX:=BACKSET(ISLASTBAR,NT);
DRAWNUMBER(NX&&REFX1(NT<9,100),H,NT,0,COLORYELLOW);
DRAWICON(NT=9,H+2,'ICO9'),COLORGREEN;
B1:=C<REF(C,4);
NT0:=BARSLASTCOUNT(B1);
TJ21:=NT0=9 ;
NN:=BACKSET(NT0=9,9);
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWNUMBER(NN=1&&AY1>0,L,NT0,0,COLORFF00FF),VALIGN0;
ND:=BACKSET(ISLASTBAR,NT0);
DRAWNUMBER(ND&&REFX1(NT0<9,100),L,NT0,0,COLORFF00FF),VALIGN0;
DRAWICON(NT0=9,L-2,'ICO112'),COLORGREEN;
?
?來源:程序化99網( www.kzuj.com.cn )
博易技術人員:
A1:=C>REF(C,4);
NT:=BARSLAST(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,9);
DRAWNUMBER(MM=1&&AY>0,H,NT,0),COLORYELLOW;
NX:=BACKSET(ISLASTBAR,NT);
DRAWNUMBER(NX&&REFX(NT<9,100),H,NT,0),COLORYELLOW;
DRAWICON(NT=9,H+2,5);
B1:=C<REF(C,4);
NT0:=BARSLAST(B1);
TJ21:=NT0=9 ;
NN:=BACKSET(NT0=9,9);
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWNUMBER(NN=1&&AY1>0,L,NT0,0),COLORFF00FF,VALIGN0;
ND:=BACKSET(ISLASTBAR,NT0);
DRAWNUMBER(ND&&REFX(NT0<9,100),L,NT0,0),COLORFF00FF,VALIGN0;
DRAWICON(NT0=9,L-2,6);
好的謝謝老師
來源 程序化久久網