公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

感觉不错的自用的公式(副图、源码)

2015-3-25 15:08| 发布者: admin| 查看: 19| 评论: 0

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;


鲜花

握手

雷人

路过

鸡蛋
返回顶部