定量结构九色采红作品源码下载:
diff:ema(close,12)-ema(close,26);
dea:ema(diff,9);
macd:(diff-dea)*2,colorstick;
n1:=barslast(cross(dea,diff));
n2:=ref(barslast(cross(dea,diff)),n1+1);
m1:=barslast(cross(diff,dea));
m2:=ref(barslast(cross(diff,dea)),m1+1);
cl1:=llv(close,n1+1),nodraw;
cl2:=ref(cl1,m1+1),nodraw;
cl3:=ref(cl2,m1+1),nodraw;
difl1:=llv(diff,n1+1),nodraw;
difl2:=ref(difl1,m1+1),nodraw;
difl3:=ref(difl2,m1+1),nodraw;
直接底钝化:=cl1<cl2 and difl1>difl2 and ref(macd,1)<0 and difl2<0,nodraw;
隔峰底钝化:=cl1<cl3 and difl1<difl2 and difl1>difl3 and diff<dea and ref(macd,1)<0 and difl3<0,nodraw;
底部钝化:=(直接底钝化 or 隔峰底钝化) and ref(macd,1)<0,nodraw;
底钝化:=底部钝化 and ref(底部钝化,1)=0 and diff<dea,nodraw;
底钝化消失:=(ref(直接底钝化,1) and difl1<difl2 and diff<dea) or (ref(隔峰底钝化,1) and difl1<difl3 and diff<dea),nodraw;
底部结构:=diff>ref(diff,1) and ref(底部钝化,1) and difl1*0.9884<diff,nodraw;
底结构形成:=底部结构 and ref(底部结构,1)=0,nodraw;
底再次钝化1:=count(底部结构,5) and 底部钝化 and diff<ref(diff,1)*1.01,nodraw;
底再次钝化:=底再次钝化1 and ref(底再次钝化1,1)=0,nodraw;
m3:=barslast(底结构形成)-1,nodraw;{好公式网-最好的股票公式网站 www.goodgongshi.com}
m4:=barslast(底钝化 or 底再次钝化),nodraw;
m5:=barslast(cross(diff,0)),nodraw;
m6:=c<ref(cl1,m3) and c<ref(cl2,m3) and m3<m4 and m3<m5,nodraw;
底结构消失1:=count(m6,m3)=1 and ref(m6,1)=0 and m3<m4 and m3<m5,nodraw;
底结构消失:=底结构消失1 and ref(底结构消失1,1)=0 and ref(底结构消失1,2)=0,nodraw;
drawtext(底结构形成,diff/0.88,'结构形成'),colormagenta;
drawtext(底钝化 or 底再次钝化,diff/0.80,'钝化'),coloryellow;
drawtext((底结构消失 or 底钝化消失) and 底部钝化=0 and 底再次钝化=0,diff/0.75,'消失'),colorgreen;
ch1:=hhv(close,m1+1),nodraw;
ch2:=ref(ch1,n1+1),nodraw;
ch3:=ref(ch2,n1+1),nodraw;
difh1:=hhv(diff,m1+1),nodraw;
difh2:=ref(difh1,n1+1),nodraw;
difh3:=ref(difh2,n1+1),nodraw;
直接顶钝化:=ch1>ch2 and difh1<difh2 and ref(macd,1)>0 and difh2>0,nodraw;
隔峰顶钝化:=ch1>ch3 and difh1>difh2 and difh1<difh3 and ref(macd,1)>0 and difh3>0,nodraw;
顶部钝化:=(直接顶钝化 or 隔峰顶钝化) and ref(macd,1)>0,nodraw;
顶钝化:=顶部钝化 and ref(顶部钝化,1)=0 and diff>dea,nodraw;
顶钝化消失:=(ref(直接顶钝化,1) and difh1>=difh2 and diff>dea) or (ref(隔峰顶钝化,1) and difh1>=difh3 and diff>dea),nodraw;
顶部结构:=ref(顶部钝化,1) and diff<ref(diff,1) and difh1*0.99>diff,nodraw;
顶结构形成:=顶部结构 and ref(顶部结构,1)=0,nodraw;
顶再次钝化1:=count(顶部结构,5) and 顶部钝化 and diff*0.99>ref(diff,1),nodraw;
顶再次钝化:=顶再次钝化1 and ref(顶再次钝化1,1)=0,nodraw;
n3:=barslast(顶结构形成)-1,nodraw;
n4:=barslast(顶钝化 or 顶再次钝化),nodraw;
n5:=barslast(cross(0,diff)),nodraw;
n6:=c<ref(ch1,n3) and c<ref(ch2,n3) and n3<n4 and n3<n5,nodraw;
顶结构消失1:=count(n6,n3)=1 and ref(n6,1)=0 and n3<n4 and n3<n5,nodraw;
顶结构消失:=顶结构消失1 and ref(顶结构消失1,1)=0 and ref(顶结构消失1,2)=0,nodraw;
drawtext(顶结构形成,diff*1.15,'结构形成'),colormagenta;
drawtext(顶钝化 or 顶再次钝化,diff*1.20,'钝化'),coloryellow;
drawtext((顶结构消失 or 顶钝化消失) and 顶部钝化=0 and 顶再次钝化=0,diff*1.25,'消失'),colorgreen;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文定量结构九色采红作品下载仅供学习研究。