以下是通达信五星上将指标公式(无源码的请下载附件导入)
DRAWTEXT( D3>0,20 ,'★' ),COLORRED;
DRAWTEXT( AX1>A3,40,'★' ),COLORFF00FF;
DRAWTEXT(AX1>A3 AND A2>A3,60 ,'★' ),COLOR33CC00;
DRAWTEXT( AX1>A2 AND A2>A3 AND A3>A4,80 ,'★' ),COLORYELLOW;
DRAWTEXT( D3>100,100 ,'★' ),COLORWHITE;DRAWTEXT(FILTER(D3>0 AND D3<100 AND AX1>A2 AND AX1>A3 AND A2>A3 AND A3>A4,13) ,120 ,'四星上将' ),COLORFF00FF;
DRAWTEXT( FILTER(D3>100 AND AX1>A2 AND A2>A3 AND A3>A4,13),140 ,'五星上将' ),COLORRED;
100;200;
|