大智慧五星上将副图指标
源码
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;