f1:=zig(3,5);
vertline(f1<ref(f1,1),2),coloraa8800;
n:=21;m:=11;
diff1:=ema(close,12)-ema(close,27);
dea1:=ema(diff1,9);
macd:=2*(diff1-dea1),stick;
drawband(diff1,rgb(200,50,55),dea1,rgb(0,100,50));
diff:diff1,color33ff33;
dea:dea1,coloryellow;
//公式网www.goodgongshi.com
stickline(macd<ref(macd,1)and macd>0,0,macd,0.9,0),colorff8b00;
stickline(macd<ref(macd,1)and macd>0,0,macd,0.3,0),colorffab00;
stickline(macd>=ref(macd,1)and macd>0,0,macd,0.9,0),color0000dd;
stickline(macd>=ref(macd,1)and macd>0,0,macd,0.3,0),color0000ff;
stickline(macd>ref(macd,1)and macd<0,0,macd,0.9,0),colordddddd;
stickline(macd>ref(macd,1)and macd<0,0,macd,0.3,0),colorffffff;
stickline(macd<=ref(macd,1)and macd<0,0,macd,0.9,0),colorff8b00;
stickline(macd<=ref(macd,1)and macd<0,0,macd,0.3,0),colorffab00;
stickline(macd>=0 or macd<=0,0,0,50,2),colorwhite;
金叉:=cross(diff,dea) and diff<-0.1;
drawicon(金叉,dea,23);
drawtext(金叉,dea,' 低金'),coloryellow;
jccount:=count(cross(diff,dea),barslast(dea>=0));
二金:=cross(diff,dea) and dea<0 and count(jccount=2,21)=1;
drawicon(二金,dea*1.04,13) ;
drawtext(二金,-0.1,' 二金'),colorff00ff;
aa:=ref(hhv(high,n),1);
bb:=ref(llv(low,n),1);
gg:=(aa+bb)/2;
tj1:=(aa-bb)/gg<(m/100);
tj2:=c>ref(hhv(high,n),1);
xg:=tj1 and tj2;
lb:=v/ref(v,1)>2;
w88:金叉 and xg and lb;
stickline(w88,0,0.2,3,0),color00ffff;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
寻底买进1:=var10;
买进2:=(var11+var13+var15+var17);
drawtext(寻底买进1>0 or 买进2>0,low*0.023,'加仓'),colorred;
drawtext(寻底买进1>0 ,low*-0.019,'寻底'),coloryellow;
var8:=vol>2*ma(vol,30);
var9:="dmi.adx"(12,6);
vara:="dmi.adxr"(12,6);
varb:=close>ma(close,30) and close<ma(close,30)*1.04;
varc:=ma(close,30)>ref(ma(close,30),1);
vard:=barslast(cross(ma(close,5),ma(close,10)))<barslast(cross(ma(close,10),ma(close,5)));
vare:=0-"macd.diff"(7,21,3);
varf:=troughbars(3,15,1)<4;
varg:=peakbars(3,15,1)<4;
var10:=ema(close,30)>ref(ema(close,30),2);
var11:=if(varf=1,50,0);//公式网www.goodgongshi.com
stickline(filter(varf=1,5),0.175,0,8,0),coloryellow;
stickline(filter(varg=1,5),0.175,0,8,0),colorgreen;
varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig
(3,5),2)<=ref(zig(3,5),3));
vard:=(zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=ref(zig(3,5),2)) and (ref(zig
(3,5),2)>=ref(zig(3,5),3));
stickline((varc=1),(-0.255),0,4,0),color0000ff;
drawtext((varc=1),(-0.23),'买'),color0000ff;
stickline((vard=1),0.174,0,4,0),color00ff00;
drawtext((vard=1),0.175,'卖'),color00ff00;
drawicon(cross(ref(zig(3,10),1),zig(3,10)),high*0.00,8);
drawtext(cross(ref(zig(3,10),1),zig(3,10)),high*0.0,'');
drawicon(cross(zig(3,10),ref(zig(3,10),1)),low*-0.021,7);
drawtext(cross(zig(3,10),ref(zig(3,10),1)),low*-0.0001,'');
买线:=zig(3,10);
卖线:=ma(买线,3);
基线:ma(ref(llv(c,30),1),2),nodraw;
varq1:=ema(close,3);
varq2:=ema(close,21);
varq3:=barslast(cross(varq2,varq1))>15;
varq4:=vol>ma(vol,5)*2 and vol<ma(vol,5)*5;
波段买点:=cross((zig(3,10)),(ma((zig(3,10)),3)));
drawicon(波段买点,(基线*0.00),7);
var1:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),25);
var2:=high-ref(high,1);
var3:=ref(low,1)-low;
var4:=sum(if(var2>0 and var2>var3,var2,0),25);
var5:=sum(if(var3>0 and var3>var2,var3,0),25);
var6:=var4*100/var1;
var7:=var5*100/var1;
var8:=ma(abs(var7-var6)/(var7+var6)*100,15);
var9:=(var8+ref(var8,15))/2;
a:=(var7>var6 and var7>25 and var6<25);
b:=zig(3,51/5)*100,colorwhite;
g:=ma(b,2),coloryellow;
d:=cross(b,g)*1000,colorred;
w:=cross(g,b)*1000,colorblue;
a30:=ma(c,30);
anglea30:=atan((a30/ref(a30,1)-1)*100)*57.3;
angle30:=anglea30>40 or anglea30<-48;
a10:=ma(c,10);
anglea10:=atan((a10/ref(a10,1)-1)*100)*57.3;
angle10:=anglea10>20 or anglea10<-25 and close>ma(close,20) ;
a3010:=angle30 or angle10;
aazt:=count(close>ref(close,1)*1.097 ,20)>0;
drawgbk( w=1000 ),colorcyan;
drawgbk( d=1000 ),color0099ff;
drawgbk( w=1000 and aazt),colorgreen;
drawgbk( d=1000 and aazt),colorred;
short:=12;
long:=26;
m:=9;
diff : ema(close,short) - ema(close,long);
dea : ema(diff,m);
gj:=max(c,o);
stickline(macd>0 and macd>=ref(macd,1),0,macd,2,0),color0000ff;
stickline(macd>0 and macd<ref(macd,1),0,macd,2,0),colorffff00;
stickline(macd<0 and macd>=ref(macd,1),0,macd,2,0),colorff00ff;
stickline(macd<0 and macd<ref(macd,1),0,macd,2,0),color00ff00;
drawicon( cross(diff,dea) ,diff,1);
上一指标公式:CCI主升浪指标公式下载 同花顺CCI主升浪
下一指标公式:上善若水指标公式详解 同花顺上善若水
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文秋冬副图指标公式详解 同花顺秋冬仅供学习研究。