C5:=Ema(C,5);
C10:=EMA(C,10);
C30:=EMA(C,30);
D1:=2*(C5-C10);D2:=2*(C5-C30);D3:=200*(D1+D2);
LL:=V/1000;
将军:D3;
A1:=MA(LL,5);
A2:=MA(LL,10);
A3:=MA(LL,120);
A4:=MA(LL,250);
DRAWTEXT( D3 0,20 ,'★' ),COLORRED;
DRAWTEXT( A1 A3,40,'★' ),COLORFF00FF;
DRAWTEXT(A1 A3 AND A2 A3,60 ,'★' ),COLOR33CC00;
DRAWTEXT( A1 A2 AND A2 A3 AND A3 A4,80 ,'★' ),COLORYELLOW;
DRAWTEXT( D3 100,100 ,'★' ),COLORWHITE;DRAWTEXT(FILTER(D3 0 AND D3 100 AND A1 A2 AND A1 A3 AND A2 A3 AND A3 A4,13) ,120 ,'四星上将' ),COLORFF00FF;
DRAWTEXT( FILTER(D3 100 AND A1 A2 AND A2 A3 AND A3 A4,13),180 ,'五星上将' ),COLORRED;
100;200;