星期

通达信宝宝黑马指标公式源码

来源:南方城市网

发布时间:2020-12-04 20:09:58

a1:3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1);

黑马线:ema(a1,5)、linethick2、color6600ff;

a2:=(黑马-ref(黑马,1))/ref(黑马,1)*100;

a3:=ema(c,5);

a4:=((c-llv(l,21))/(hhv(h,21)-llv(l,21)))*100;

趋势线:(ma(3*sma(a4,6,1)-2*sma(sma(a4,5,1),5,1),2)),linethick2,coloryellow;

a5:=(hhv(h,60)-c)/(hhv(h,60)-llv(l,60))*100;

drawtext(filter(ref,1)>90anda2

drawtext(cross(a1,黑马)和黑马

drawtext(交叉线,a5)和趋势线

drawtext(趋势线,0)和黑马线

底部:(a2ref(a2,1))*25,colorred;

drawicon(底部和a3>ref(a3,1),25,4);

机会到来:ref(if((ma(c,5)-c)/c>0.04and(ma(c,10)-ma(c,5))/ma(c,5)>0.04,30,0),1),colorf00ff0;

大盘:if(cross(黑马线,a1)和黑马线>70和趋势线>80,90,100),colorff0000;