b:=zig(3,15/5)*100,colorwhite;
g:=ma(b,2),coloryellow;
d:=cross(b,g)*1000,colorred;
w:=cross(g,b)*1000,colorblue;
drawgbk( w=1000 ),colorblue;
drawgbk( d=1000 ),colorlired;
var1:=(h+l)/2;//www.goodgongshi.com
ao:=sma(var1,5,1)-sma(var1,34,1);
ac:sma((ao-sma(ao,5,1)),5,1),color6699cc;
stickline(ac>=ref(ac,1),0,ac,6,1),colorgray,linethick5;
stickline(ac<=ref(ac,1),0,ac,6,1),colorgreen;
ac,colorgreen,linethick5;
diff :ema(close,12) - ema(close,26),colorwhite;
dea :ema(diff,9),coloryellow;
drawicon(cross(diff,dea),dea*1.02,1);
drawicon(cross(dea,diff),dea*0.98,2);
fillrgn(diff,dea,diff>dea and diff>0 and diff>ref(diff,1) and dea>ref(dea,1),colorlired);
fillrgn(diff,dea,diff>dea and diff>0 and diff>ref(diff,1) and dea<ref(dea,1),colorwhite);
fillrgn(diff,dea,diff>dea and diff>0 and diff<=ref(diff,1) and dea>ref(dea,1),colorwhite);
fillrgn(diff,dea,diff>dea and diff>0 and diff<=ref(diff,1) and dea<ref(dea,1),colorwhite);
fillrgn(diff,dea,diff>dea and diff<0 and diff>ref(diff,1) and dea>ref(dea,1),colorred);
fillrgn(diff,dea,diff>dea and diff<0 and diff>ref(diff,1) and dea<ref(dea,1),colorwhite);
fillrgn(diff,dea,diff>dea and diff<0 and diff<=ref(diff,1) and dea>ref(dea,1),colorwhite);
fillrgn(diff,dea,diff>dea and diff<0 and diff<=ref(diff,1) and dea<ref(dea,1),colorwhite);
fillrgn(diff,dea,diff<dea and diff>0 and diff<ref(diff,1) and dea>ref(dea,1),colorwhite);
fillrgn(diff,dea,diff<dea and diff>0 and diff<ref(diff,1) and dea<ref(dea,1),colorgreen);
fillrgn(diff,dea,diff<dea and diff>0 and diff>=ref(diff,1) and dea>ref(dea,1),colorwhite);
fillrgn(diff,dea,diff<dea and diff>0 and diff>=ref(diff,1) and dea<ref(dea,1),colorwhite);
fillrgn(diff,dea,diff<dea and diff<0 and diff<ref(diff,1) and dea>ref(dea,1),colorwhite);
fillrgn(diff,dea,diff<dea and diff<0 and diff<ref(diff,1) and dea<ref(dea,1),colorblue);
fillrgn(diff,dea,diff<dea and diff<0 and diff>=ref(diff,1) and dea>ref(dea,1),colorwhite);
fillrgn(diff,dea,diff<dea and diff<0 and diff>=ref(diff,1) and dea<ref(dea,1),colorwhite);
dif:ema(close,12)-ema(close,26),colorred;
dea:ema(dif,9),colorwhite;
持仓段:=0,color00cfff;
空仓段:=0,colorffccff;
stickline(dif>dea,-0.01,-0.02,10,1),colorred,linethick5;
stickline(dif<dea,-0.01,-0.02,10,1),colorgreen,linethick5;
建仓:if(dif<0,dif,0),coloryellow,linethick2;
加仓:if(dif<0,0,dif),colorred,linethick2;
白线破仓:if(dif<dea,dif,dea),colorwhite,linethick2;
趋势强弱:if(dif>dea,dea,dea),colorff937f,linethick2;
遵:if(diff>=dea,diff,drawnull),colorred,linethick3;
守:if(dea>=diff,dea,drawnull),colorff9900,linethick3;
纪:if(diff>=dea,dea,drawnull),color00ffff,linethick3;
律:if(dea>=diff,diff,drawnull),color00ff00,linethick3;
f1:=zig(3,5);
vertline(f1<ref(f1,1),2),coloraa8800;
drawgbk(c>0, rgb(0,0,0),rgb(1,1,1),0,'0',0);
尖顶买入:zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<ref(zig
(3,10),2),colorred,linethick2;
尖顶卖出:zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>
ref(zig(3,10),2),colorgreen,linethick2;
drawtext(尖顶买入=1,0.8,'入'),colorred;
drawtext(尖顶卖出=1,0.8,'出'),colorgreen;
抄底: if(troughbars(2,5,1)=0 and high>low+0.01,0.50,0),coloryellow ,linethick2 ;
drawtext(抄底=0.50,0.60,'抄底'),colorred;
上一指标公式:阻力雷达凤凰指标公式详解 同花顺凤凰
下一指标公式:主力仓指标公式详解 同花顺主力
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文顶背离MACD指标公式详解 同花顺顶背离仅供学习研究。