a1:=ema(c,12)-ema(c,25);
a2:=ema(a1,6);
获利回吐:(a2>=0)*a2,colorwhite,linethick;
空头回补:(a2<0)*a2,colord4ff7f,linethick;
坚绝做空:(a1<0)*a1,colorb00058,linethick;
买入持股:(a1>=0)*a1,colorred,linethick;
stickline(a2>=0,a2,0,10,0),colorwhite;
stickline(a2<0,a2,0,10,0),colord4ff7f;
stickline(a1<0,a1,0,10,0),colorb00058;
stickline(a1>=0,a1,0,10,0),colorred;
var13:=if(year>=2018 and month>=11 and day>=1,0,1);
aa:=(ma(c,1)+ma(c,3)+ma(c,5)+ma(c,7)+ma(c,9))/5;
bb:=(ma(c,2)+ma(c,4)+ma(c,6)+ma(c,8)+ma(c,10))/5;
cc:=ema(aa,2);
dd:=ema(bb,5);
var14:=max(ema(aa,2)-ema(bb,5),0)*1.2;
var15:=ema(var14,5);
ss:=ema(var15,2);
风险系数:=(var15-ss)/10*var13;
波浪系数:var15*var13,stick,colorff00ff;
a10:=波浪系数,linethick1 ;
b:ma(a10,3),colorgreen,linethick1;
partline(b>ref(b,1) and b>=0,b),coloryellow,linethick1;
{macd1}
dif:ema(close,12)-ema(close,26);
dea:ema(dif,9);
macd:(dif-dea)*2,colorstick;
var1:=hhv(dea,53);
var2:=llv(dea,55);
var3:=dea-(dif-dea);
up:if(dif>var1 and dea=var1,max(llv(var1,10),var3),var1),coloryellow,linethick1;
partline(up>ref(up,1) and up>=0,up),colorgreen,linethick1;
partline(up>ref(up,1),up),colorff00ff;
partline(up<ref(up,1) and up>0,up),color00ff00,linethick2;
dn:if(dif<var2 and dea=var2,min(hhv(var2,10),var3),var2),coloraa00aa,linethick1;
dif,colorgreen;
dea,colorgreen;
零上金叉买:0,coloryellow,linethick1;
partline(dif>ref(dif,1) and dif>=0,dif),colorred,linethick1;
partline(dea>ref(dea,1) and dea>=0,dea),coloryellow,linethick1;
drawicon(cross(dif,dea),dea,4);
drawicon(cross(dea,dif),dea,5);
partline(dif>dea,dif),colorred,linethick2;
partline(dea>ref(dea,1),dea),colorcyan,linethick2;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
stickline(macd<ref(macd,1)and cross(k,j),0,macd,1,0),colorgreen;
stickline(macd>ref(macd,1)and cross(j,k),0,macd,1,0),colorred;
金叉:=cross(dif,dea) and dif<0.3;
stickline(金叉,0.03,-0.03,4,0),coloryellow;
drawtext(金叉,-0.03,'★金叉'),coloryellow,linethick2;
stickline(金叉,0,0.03,2,0),coloryellow;
drawicon(金叉,0.04,4);
stickline(macd<ref(macd,1)and macd>0,0,macd,2.6,0 ),color00aaff;
stickline(macd<ref(macd,1)and macd>0,0,macd,2,0 ),color00bbff;
stickline(macd<ref(macd,1)and macd>0,0,macd,1.6,0 ),color00ccff;
stickline(macd<ref(macd,1)and macd>0,0,macd,1.1,0 ),color00ddff;
stickline(macd<ref(macd,1)and macd>0,0,macd,0.6,0 ),color00eeff;
stickline(macd<ref(macd,1)and macd>0,0,macd,0.1,0 ),color00ffff;
stickline(macd>=ref(macd,1)and macd>0,0,macd,2.6,0 ),color0000aa;
stickline(macd>=ref(macd,1)and macd>0,0,macd,2,0 ),color0011bb;
stickline(macd>=ref(macd,1)and macd>0,0,macd,1.6,0 ),color0022cc;
stickline(macd>=ref(macd,1)and macd>0,0,macd,1.1,0 ),color0033dd;
stickline(macd>=ref(macd,1)and macd>0,0,macd,0.6,0 ),color0044ee;
stickline(macd>=ref(macd,1)and macd>0,0,macd,0.1 ,0 ),color0055ff;
stickline(macd>ref(macd,1)and macd<0,0,macd,2.6,0 ),coloraa00bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,2,0 ),colorbb11bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,1.6,0 ),colorcc22bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,1.1,0 ),colordd33bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,0.6,0 ),coloree44bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,0.1,0 ),colorff55bb;
stickline(macd<=ref(macd,1)and macd<0,0,macd,2.6,0 ),colorff7700;
stickline(macd<=ref(macd,1)and macd<0,0,macd,2,0 ),colorff8811;
stickline(macd<=ref(macd,1)and macd<0,0,macd,1.6,0 ),colorffaa22;
stickline(macd<=ref(macd,1)and macd<0,0,macd,1.1,0 ),colorffbb33;
stickline(macd<=ref(macd,1)and macd<0,0,macd,0.6,0 ),colorffdd44;
stickline(macd<=ref(macd,1)and macd<0,0,macd,0.1,0 ),colorffff55;
diff:=ema(close,11)-ema(close,26);
低位金叉:=cross(diff,dea) and diff<-0.1,colormagenta;
stickline(低位金叉,0,0.08,4,0),coloryellow;
drawtext(低位金叉,0.2,' 低位金叉'),colorwhite;
var111111:=(hhv(h,13)-llv(l,13));
var222222:=(hhv(h,13)-c);
var333333:=(c-llv(l,13));
var444444:=var222222/var111111*100-70;
var555555:=(c-llv(l,55))/(hhv(h,55)-llv(l,55))*100;
var666666:=(2*c+h+l)/4;
var777777:=sma((var333333/var111111*100),3,1);
var888888:=llv(l,34);
var999999:=sma(var777777,3,1)-sma(var444444,9,1);
var1000000:=if(var999999>100,var999999-100,0);
varaaaaaa:=hhv(h,34);
防线:=ema((var666666-var888888)/(varaaaaaa-var888888)*100,8);
bb:=ema(防线,5);
防:stickline(防线>0 and 防线-bb<0,0,0,10,0),colorgreen;
线:stickline(防线>0 and 防线-bb>=0,0,0,10,0),colorred;
drawtextex(1,1,20,150,'严 格 执 行 纪 律'),coloryellow;
drawtextex(1,1,0,250,' 耐 心 等 待 '),coloryellow;
上一指标公式:不要冲动FH公式下载 飞狐冲动指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文耐心等待FH公式下载 飞狐指标 源码仅供学习研究。