以下是通达信红线一出10%涨幅副图指标源码(无源码的请下载附件导入)
Z_J1:=EMA(C,2)-EMA(C,150);
G_J1:=EMA(C,2)-EMA(C,89);
Z_J2:=EMA(Z_J1,100);
G_J2:=EMA(G_J1,30);
Z_J3:=2*(Z_J1-Z_J2);
G_J3:=2*(G_J1-G_J2)*9.8;
Z_J4:=POW(Z_J3,3)*0.1+POW(Z_J3,1);
G_J4:=POW(G_J3,3)*0.1+POW(G_J3,2);
主流资金: IF(Z_J3>0.1,Z_J4,0)*5,COLORGREEN;
攻击资金:IF(G_J3>0.015,G_J4,0)/28,COLORRED;
流存资金:IF(攻击资金=0,-ABS(G_J4/28),0),LINETHICK,COLORYELLOW;
134277333.jpg
|