f1:=zig(3,16);
vertline(f1<ref(f1,1),2),coloraa8800;
a1a:=ema(close, 9);
a1b:=((a1a - ema(close, 5)) < 0);
a1c:=((a1a - ema(close, 5)) > 0);
a1d:=barslast(a1b);
a1e:=barslast(a1c);
a1f:=if((a1e > 0),(close - ref(close, 1)) / ref(close, 1) * 100,0);
a20:=sum(a1f,0);
a21:=if((a1d > 0),(0 - 2),0);
a22:=if((a1e > 0),sum((close - ref(close, 1)) / ref(close, 1) * 100,a1e),0);
a23:=a22 / a1e;
a25:=ema(ema(ema(close, 3), 3), 3);
上升通道:((a25 - ref(a25, 1)) + a25),colorred;
反转通道:ma(上升通道, 15),colorgreen;
if(上升通道>ref(上升通道,1),上升通道,drawnull),colorffffcc,linethick4,pointdot;
if(反转通道>ref(反转通道,1),反转通道,drawnull),color00ffff,linethick4,pointdot;
stickline((上升通道 > 反转通道),反转通道,上升通道, 1, 0),colormagenta;
drawtext(cross(上升通道,反转通道),反转通道 * 0.97,'上升趋势'),color0000ff;
drawicon(((ref(a21, 1) = (0 - 2)) and (a21 = 0)),low, 5);
a1:=c>=ref(c,4);
a:=c<ref(c,4);
aa:=c<ref(c,4) and ref(a1,1);
t:=barslast(aa),nodraw;
m:=(t=0 and refx(&t=1 and not(a),1)) or (refx(&t=2 and not(a),2)) or (refx(&t=3 and not(a),3)) or (refx(&t=4 and not(a),4)) or (refx(&t=5 and not(a),5))
or (refx(&t=6 and not(a),6)) or (refx(&t=7 and not(a),7)) or (refx(&t=8 and not(a),8));
m1:=t=1 and refx(&t=2 and not(a),1) or (refx(&t=3 and not(a),2)) or (refx(&t=4 and not(a),3)) or (refx(&t=5 and not(a),4)) or (refx(&t=6 and not(a),5))
or (refx(&t=7 and not(a),6)) or (refx(&t=8 and not(a),7));
m2:=t=2 and refx(&t=3 and not(a),1) or (refx(&t=4 and not(a),2)) or (refx(&t=5 and not(a),3)) or (refx(&t=6 and not(a),4)) or (refx(&t=7 and not(a),5)) or (refx(&t=8 and not(a),6));
m3:=t=3 and refx(&t=4 and not(a),1)or (refx(&t=5 and not(a),2)) or (refx(&t=6 and not(a),3)) or (refx(&t=7 and not(a),4)) or (refx(&t=8 and not(a),5));
m4:=t=4 and refx(&t=5 and not(a),1) or (refx(&t=6 and not(a),2)) or (refx(&t=7 and not(a),3)) or (refx(&t=8 and not(a),4));
m5:=t=5 and refx(&t=6 and not(a),1) or (refx(&t=7 and not(a),2)) or (refx(&t=8 and not(a),3));
m6:=t=6 and refx(&t=7 and not(a),1) or (refx(&t=8 and not(a),2));
m7:=t=7 and refx(&t=8 and not(a),1);
n:=t=1 and ref(t=0 and aa,1) and a;
n1:=t=2 and ref(n,1) and a;
n2:=t=3 and ref(n1,1) and a;
n3:=t=4 and ref(n2,1) and a;
n4:=t=5 and ref(n3,1) and a;
n5:=t=6 and ref(n4,1) and a;
n6:=t=7 and ref(n5,1) and a;
n7:=t=8 and ref(n6,1) and a;
drawtext(t=0,h*1.02,'1'),colorgreen;
drawtext(n,h*1.02,'2'),colorgreen;
drawtext(n1,h*1.02,'3'),colorgreen;
drawtext(n2,h*1.02,'4'),colorgreen;
drawtext(n3,h*1.02,'5'),colorgreen;
drawtext(n4,h*1.02,'6'),colorgreen;
drawtext(n5,h*1.02,'7'),colorgreen;
drawtext(n6,h*1.02,'8'),colorgreen;
drawtext(n7,h*1.02,'9'),coloryellow;
drawicon(n7,h*1.04,1),colorgreen;
drawtext(m,h*1.02,'1'),colorblack;
drawtext(m1,h*1.02,'2'),colorblack;
drawtext(m2,h*1.02,'3'),colorblack;
drawtext(m3,h*1.02,'4'),colorblack;
drawtext(m4,h*1.02,'5'),colorblack;
drawtext(m5,h*1.02,'6'),colorblack;
drawtext(m6,h*1.02,'7'),colorblack;
drawtext(m7,h*1.02,'8'),colorblack;
b1:=c<=ref(c,4);
b:=c>ref(c,4);
bb:=c>ref(c,4) and ref(b1,1);
t1:=barslast(bb),nodraw;
m111:=(t1=0 and refx(&t1=1 and not(b),1)) or (refx(&t1=2 and not(b),2)) or (refx(&t1=3 and not(b),3)) or (refx(&t1=4 and not(b),4)) or (refx(&t1=5 and not(b),5))
or (refx(&t1=6 and not(b),6)) or (refx(&t1=7 and not(b),7)) or (refx(&t1=8 and not(b),8));
m11:=t1=1 and refx(&t1=2 and not(b),1) or (refx(&t1=3 and not(b),2)) or (refx(&t1=4 and not(b),3)) or (refx(&t1=5 and not(b),4)) or (refx(&t1=6 and not(b),5))
or (refx(&t1=7 and not(b),6)) or (refx(&t1=8 and not(b),7));
m22:=t1=2 and refx(&t1=3 and not(b),1) or (refx(&t1=4 and not(b),2)) or (refx(&t1=5 and not(b),3)) or (refx(&t1=6 and not(b),4)) or (refx(&t1=7 and not(b),5)) or (refx(&t1=8 and not(b),6));
m33:=t1=3 and refx(&t1=4 and not(b),1)or (refx(&t1=5 and not(b),2)) or (refx(&t1=6 and not(b),3)) or (refx(&t1=7 and not(b),4)) or (refx(&t1=8 and not(b),5));
m44:=t1=4 and refx(&t1=5 and not(b),1) or (refx(&t1=6 and not(b),2)) or (refx(&t1=7 and not(b),7)) or (refx(&t1=8 and not(b),4));
m55:=t1=5 and refx(&t1=6 and not(b),1) or (refx(&t1=7 and not(b),2)) or (refx(&t1=8 and not(b),3));
m66:=t1=6 and refx(&t1=7 and not(b),1) or (refx(&t1=8 and not(b),2));
m77:=t1=7 and refx(&t1=8 and not(b),1);
n111:=t1=1 and ref(t1=0 and bb,1) and b;
n11:=t1=2 and ref(n111,1) and b;
n22:=t1=3 and ref(n11,1) and b;
n33:=t1=4 and ref(n22,1) and b;
n44:=t1=5 and ref(n33,1) and b;
n55:=t1=6 and ref(n44,1) and b;
n66:=t1=7 and ref(n55,1) and b;
n77:=t1=8 and ref(n66,1) and b;
drawtext(t1=0,h*1.02,'1'),color9900cc;
drawtext(n111,h*1.02,'2'),color9900cc;
drawtext(n11,h*1.02,'3'),color9900cc;
drawtext(n22,h*1.02,'4'),color9900cc;
drawtext(n33,h*1.02,'5'),color9900cc;
drawtext(n44,h*1.02,'6'),color9900cc;
drawtext(n55,h*1.02,'7'),color9900cc;
drawtext(n66,h*1.02,'8'),color9900cc;
drawtext(n77,h*1.02,'9'),colorffff00;
drawicon(n77,h*1.04,2),colorred;
drawtext(m111,h*1.02,'1'),colorblack;
drawtext(m11,h*1.02,'2'),colorblack;
drawtext(m22,h*1.02,'3'),colorblack;
drawtext(m33,h*1.02,'4'),colorblack;
drawtext(m44,h*1.02,'5'),colorblack;
drawtext(m55,h*1.02,'6'),colorblack;
drawtext(m66,h*1.02,'7'),colorblack;
drawtext(m77,h*1.02,'8'),colorblack;
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;
顶:peak(close,10,1);
底:trough(close,10,1),colorcyan;
drawicon(cross(zig(3,10),ref(zig(3,10),1)),low*0.97,7);
drawtext(cross(zig(3,10),ref(zig(3,10),1)),low*0.94,'买入');
drawicon(cross(ref(zig(3,10),1),zig(3,10)),high*1.04,8);
drawtext(cross(ref(zig(3,10),1),zig(3,10)),high*1.01,'止损');
drawtext(cross(zig(3,5),ref(zig(3,5),1)),low*0.90,'★旺财') ,linethick2,colorred;
drawtext(cross(zig(3,8),ref(zig(3,8),1)),l*0.985,'★机构进场'),linethick2,color00ffff;
上一指标公式:峰主公式下载 同花顺峰主
下一指标公式:放心出入公式下载 同花顺出入
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文笑脸趋势公式下载 同花顺笑脸仅供学习研究。