通达信黄金顶指标公式副图源码

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;