感觉不错的自用的公式(副图、源码)
hp:=hhv(h,9);
lp:=llv(l,9);
r:=(c-lp)/(hp-lp)*100;
k:sma(r,3,1),coloryellow,linethick1;
d:sma(k,3,1),colorwhite,linethick1;
j:3*k-2*d,colorff9999,linethick1;
m:=ma(r,40);
s:=std(r,40);
高:=m+2*s;
中:=m;
低:=m-2*s;
【高】: 高,color0099ff;
【中】: 中,pointdot,colorwhite;
【低】: 低,color00ff00;
drawtext(cross(高,j) ,j*1.2,'死★叉'),coloryellow;
drawtext(cross(中,j) and m<=80 ,高,'抛'),colorred;
drawtext(cross(j,低) ,j,'关▲注'),color00ff00;
drawtext(cross(j,低) and k<10 ,j,'低位▲金叉'),colorred;
drawtext(cross(j,中) and K>D ,0,'吸'),coloryellow;
drawtext(cross(d,k) and (d>m or d>=50),d,'死★叉'),coloryellow;
drawtext(cross(d,k) and m>80,高,'逃顶'),coloryellow;
drawtext(cross(d,k) and d>85,d,'高位★死叉'),colorred;
drawtext(cross(k,d) and d<15,d,'低位▲金叉'),colorred;
drawtext(中>80 ,中,'高位★死叉'),colorred;
- 上一篇公式:牧狼逗虎分时指标(主力秘密-改进 加密不限时)
- 下一篇公式:趋势主图(简单说明+贴图+源码)