以下是通达信五星上将副图指标
通达信五星上将副图指标
源码
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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)