分水岭 : ma(close,n);
upper: 分水岭 + p*std(close,n);
lower:分水岭 - p*std(close,n);
a:=(3*c+l+o+h)/6;
x:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=2*(s2-s6);
主力成本:ema(x,13),colorff00ff,linethick0;
短期底部:llv(high,30),linethick2,colorffcc00;
if(ma(c,3),ma(c,3),drawnull),coloryellow,linethick2;
if(ma(c,9),ma(c,9),drawnull),colormagenta,linethick2;
if(ma(c,23.5),ma(c,23.5),drawnull),colorwhite;
drawkline(high,open,low,close);
ma5:=ma(c,5);
ma10:=ma(c,10);
ma30:=ma(c,30);
fa:=barslast(cross(ma10,ma5)) and cross(ma5,ma10);
fb:=fa and ma5>ma30 and ma10>ma30 and ma10>ref(ma10,1);
drawtext(fb,l-0.58,'★红牛'),colorred;
v1:=ema(close,5);
v2:=ema(ema(close,90)*1.01,10);
drawtext(cross(v1,v2),v1+0.05,''),color00ff00;
var1:=llv(low,21);
var2:=hhv(high,21);
ak1:=ema((((close - var1) / (var2 - var1)) * 100),5);
ak:=ema((((close - var1) / (var2 - var1)) * 50),13);
ab:=cross(ak1,ak);
drawtext((ab = 1),(low * 0.99),'↙牛窝'),coloryellow;
aa1:=amount/v;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,5)*0.921;
ee1:=v<ma(v,5)*1.5;
老鼠仓:=bb1 and cc1 and dd1 and ee1,linethick0,color0099ff;
drawtext(老鼠仓,l*0.99,'老鼠仓'),color0099ff;
var3aa:=if((close>ref(close,1)),88,0);
var4aa:=if(((close)/(ref(close,1))>1.05) and ((high)/(close)<1.01) and (var3aa>0),91,0);
drawtext(filter((var4aa>90),45),(low)*(0.93),'★ 搏 '),color00ffff;
drawtext(filter((var4aa>90),35),(low)*(0.99000001),'★加 '),color00ffff;
a1aa:=9;
a2aa:=(ref(close,a1aa+1)<close);
drawtext(filter((a2aa>-0.5),84),(high)*(1.05),'↙小心变盘'),colorffffff;
var6:=ref(c,1);
var7:=sma(max(c-var6,0),6,1)/sma(abs(c-var6),6,1)*100;
drawtext(cross(82,var7),h*1.01,'↙逃顶'),coloryellow;
五日乖离率:=(c-ma(c,5))/ma(c,5)*100;
bb05:=atan((ma(c,5)/ref(ma(c,5),1)-1)*100)*180/3.1416;
速度5:=sma(ema((ma(c,5)-ref(ma(c,5),1))/ref(ma(c,5),1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),3),linethick0;
bb10:=atan((ma(c,10)/ref(ma(c,10),1)-1)*100)*180/3.1416;
三拾日乖离率:=(c-ma(c,30))/ma(c,30)*100,linethick0;
var1:=(ma(c,20)-ma(c,30))>ref((ma(c,20)-ma(c,30)),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1);
var2:=(ma(c,30)-ma(c,20))<ref((ma(c,30)-ma(c,20)),1) and ma(c,20)<ref(ma(c,20),1) and ma(c,30)<ref(ma(c,30),1);
bb30:=atan((ma(c,30)/ref(ma(c,30),1)-1)*100)*180/3.1416;
强势狙击:=filter(bb30>30 and bb10>45 and cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and ma(c,5)>ref(ma(c,5),1) and 三拾日乖离率>ref(三拾日乖离率,1) and ma(c,10)>ref(ma(c,10),1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>ma(c,30) or o>ma(c,30)) and ma(c,5)<ref(ma(c,5),1) and 三拾日乖离率<ref(三拾日乖离率,1) and ma(c,10)<ref(ma(c,10),1),10);
jc:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and ma(c,10)>ref(ma(c,10),1) ;
减仓:=filter(jc,10);
mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma(c,5)>ref(ma(c,5),1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<ma(c,30);
买入:=filter(mr,10);
drawtext(减仓,high*1.02,'↙背顶'),colorgreen;
a3:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
a4:=sma(a3,3,1);
a5:=sma(a4,3,1);
a6:=3*a4-2*a5;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买=1,5),low-0.05,''),coloryellow;
stickline(买,open,close,2,0),coloryellow;
a3:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
a4:=sma(a3,3,1);
a5:=sma(a4,3,1);
a6:=3*a4-2*a5;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买=1,5),low-0.05,''),coloryellow;
stickline(买,open,close,2,0),coloryellow;
五日乖离率:=(c-ma(c,5))/ma(c,5)*100;
bb05:=atan((ma(c,5)/ref(ma(c,5),1)-1)*100)*180/3.1416;
速度5:=sma(ema((ma(c,5)-ref(ma(c,5),1))/ref(ma(c,5),1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),3),linethick0;
bb10:=atan((ma(c,10)/ref(ma(c,10),1)-1)*100)*180/3.1416;
三拾日乖离率:=(c-ma(c,30))/ma(c,30)*100,linethick0;
var1:=(ma(c,20)-ma(c,30))>ref((ma(c,20)-ma(c,30)),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1);
var2:=(ma(c,30)-ma(c,20))<ref((ma(c,30)-ma(c,20)),1) and ma(c,20)<ref(ma(c,20),1) and ma(c,30)<ref(ma(c,30),1);
bb30:=atan((ma(c,30)/ref(ma(c,30),1)-1)*100)*180/3.1416;//www.goodgongshi.com
强势狙击:=filter(bb30>30 and bb10>45 and cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and ma(c,5)>ref(ma(c,5),1) and 三拾日乖离率>ref(三拾日乖离率,1) and ma(c,10)>ref(ma(c,10),1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>ma(c,30) or o>ma(c,30)) and ma(c,5)<ref(ma(c,5),1) and 三拾日乖离率<ref(三拾日乖离率,1) and ma(c,10)<ref(ma(c,10),1),10);
jc:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and ma(c,10)>ref(ma(c,10),1) ;
减仓:=filter(jc,10);
mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma(c,5)>ref(ma(c,5),1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<ma(c,30);
买入:=filter(mr,10);
drawtext(减仓,high*1.02,'↙背顶'),colorgreen;
上一指标公式:LZQ显示波段涨跌指标公式详解 同花顺涨跌显示
下一指标公式:顺势操盘指标公式详解 同花顺操盘
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文主图买入指标公式详解 同花顺买入仅供学习研究。