var2:=llv(low,10);
var3:=hhv(high,25);
阶段卖出: 3.2,colorc6c600;
3.5,color0088ff;
清仓卖出: 3.5,colorff75ff;
动力线:= ema((close-var2)/(var3-var2)*4,4);
stickline(动力线>ref(动力线,1) ,动力线 ,ref(动力线,1),3 ,1),colorred;
stickline(动力线<=ref(动力线,1) ,动力线 ,ref(动力线,1),3 ,1),color00ff00;
底部:0.2,color70db93;
关注:0.5,coloryellow;
drawicon( filter(cross(动力线,关注),20),动力线+0.02 ,1);
drawicon( filter(cross(清仓卖出,动力线),20),动力线+0.02,2);
drawicon( filter(cross(动力线,底部),20),动力线+0.02 ,1);
drawicon( filter(cross(阶段卖出,动力线),20),动力线+0.02,2);
强弱分界线:1.75,pointdot,linethick2,color70db93;
数值:动力线,colora8a8a8;
diff:ema(close,12) - ema(close,26),colorffffff;
dea:ema(diff,9);
macd:2*(diff-dea),colorstick;
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
a2:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));
b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
c1:=barslast(ref(cross(dea,diff),1));
d1:=ref(c,c1+1)<c and ref(diff,c1+1)>diff and cross(dea,diff);
c2:=barslast(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));
d2:=ref(c,c2+1)<c and ref("kdj.k"(9,3,3),c2+1)>"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3));
c3:=barslast(ref(cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24)),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1"(6,12,24),c3+1)>"rsi.rsi1"(6,12,24) and cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24));
macd底背:if(b1>0,-0.1,0),colorred,pointdot;
kdj底背:if(b2>0,-0.1,0),colorff00ff,pointdot;
rsi底背:if(b3>0,-0.1,0),coloryellow,pointdot;
macd顶背:if(d1>0,0.1,0),color00ff00,pointdot;
kdj顶背:if(d2>0,0.1,0),colorffcc66,pointdot;
rsi顶背:if(d3>0,0.1,0),colorwhite,pointdot;
stickline(b1>0,0,0.12,4,0),colorred;
stickline(b2>0,0,0.12,4,0),colorff00ff;
stickline(b3>0,0,0.12,4,0),coloryellow;
stickline(d1>0,0,0.12,4,0),color00ff00;
stickline(d2>0,0,0.12,4,0),colorffcc66;
stickline(d3>0,0,0.12,4,0),colorwhite;
低位金叉:=cross(diff,dea) and diff<-0.1;
stickline(低位金叉,0,0.08,6,0),coloryellow;
drawtext(低位金叉,0.16,' 低位金叉'),colorwhite;
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:=cross(diff,dea) and dea<0 and count(jccount=2,21)=1;
stickline(二次金叉,0,0.06,6,0),colorff00ff;
drawicon(二次金叉,dea*0.9,1) ;
drawtext(二次金叉,0.2,' 二次金叉'),coloryellow;
底背离:=ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea);
stickline(底背离,0,0.03,6,0),color00ff00;
底背:drawline(a1=0,dea,底背离,dea,0),colorred,linethick4;
drawtext(底背离,0.12,' 底背离'),colorff00ff;
a22:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a22+1)<close and ref(diff,a22+1)>diff and cross(dea,diff);
顶背:drawline(a2=0,dea,顶背离,dea,0),colorgreen,linethick4;
drawtext(低位金叉 and 二次金叉 and 底背离,0.25,'三全项'),color0000ff,linethick2;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文顶底背离金叉公式下载 飞狐指标 源码仅供学习研究。