顶底加减指标有明确买卖参考点,关键还要应用在自己熟悉的个股;
网上抄录叠加优化的公式,仅供参考。
fl:ma(close,13)+abs(ma(close,13)-ref(ma(close,13),1));
fs:ma(close,13)+ma(close,13)-ref(ma(close,13),1);
cg:if(ma(close,13)<fs,fs,ma(close,13)),colorf4e202,linethick2;
k1:=backset(cg>ref(cg,1),2);
if(k1,cg,drawnull),color00ffff,linethick2;
c2:=ref(c,1);
涨停:=if((c-c2)*100/c2>=(10-0.01*100/c2),1,0);
stickline(涨停,open,close,10,0),coloryellow;
跌停:=if((c2-c)*100/c2>=(10-0.01*100/c2),1,0);
stickline(跌停,open,close,10,0),colorgreen;
stickline(跌停,h,l,0,1),colorgreen;
日:=150;昨前:=3;
高1:=ref(hhv(h,日),昨前);
低1:=ref(llv(l,日),昨前);
h1:=高1-(高1-低1)*0.191;
h2:=高1-(高1-低1)*0.382;
h3:=高1-(高1-低1)*0.5;
h4:=高1-(高1-低1)*0.618;
h5:=高1-(高1-低1)*0.809;
zf:=c/ref(c,1)>1.04;
stickline(zf,c,o,9,0),coloryellow;
drawtext(cross(zig(3,8),ref(zig(3,8),1)),l*0.95,'机构进场') ,
linethick2,color00ffff;
drawicon((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)),low*0.99,1);
drawicon((zig(3,5)=ref(zig(3,5),2)) and (ref(zig(3,5),2)>=ref(zig(3,5),3)),h,2);
az6:=(3 * (sma((((close - (llv(low,27))) / ((hhv(high,27)) - (llv(low,27)))) * 100),5,1))) - (2 * (sma((sma((((close - (llv(low,27))) / ((hhv(high,27)) - (llv(low,27)))) * 100),5,1)),3,1)));
b7:=(10);
drawtext(cross(az6,b7),l*0.98,'★小底'),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),2)) and (ref(zig(3,5),2)>=ref(zig(3,5),3));
drawtext((varc=1),l*0.97,'必买'),coloryellow;
drawtext((vard=1),h*1.02,'卖出'),colorred;
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);
bdgd:=c=hhv(c,10);
gdsj:=barslast(bdgd);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买=1,5),l*0.99,'中买'),coloryellow;
stickline(买,open,close,10,0),coloryellow;
黄柱必买:买,coloryellow,nodraw;
ma8:=ma(close,8),coloryellow;
ma20:=ma(close,20);
ma30:=ma(close,30),colorwhite,linethick1;
ma60:=ma(close,60),colorliblue,linethick2;
ma120:=ma(close,120),color111111;
ma250:=ma(close,250),color111111;
stickline(c/ref(c,1)>1.0925 and c=h,close,open,0,0),coloryellow;
drawtext(cross(ma20,ma30),l*0.96,'走强'),colorgreen,linethick2;
drawtext(cross(ma30,ma60),l*0.96,'走牛'),colorgreen,linethick2;
drawtext(cross(ma60,ma120),l*0.96,'长牛'),colorgreen,linethick2;
ma5:=ma(close,5);
bb:=sma(sma(sma(ma5,2,1),2,1),2,1);
决策:=ma(bb,3);
fillrgn(bb,决策,bb>=决策,colorred,bb<决策,colorgreen);
drawtext(cross(zig(3,13),ref(zig(3,13),1)),l*0.97,'★大底'),colorgreen;
stickline(cross(zig(3,13),ref(zig(3,13),1)),open,close,10,0),coloryellow;
drawtext(cross(ref(zig(3,13),1),zig(3,13)),h*1.04,'★逃顶'),colorred;
stickline(cross(ref(zig(3,13),1),zig(3,13)),open,close,10,0),colorgreen;
vare:=ref(low,1)*0.9;
varf:=low*0.9;
var10:=(varf*vol+vare*(capital-vol))/capital;
var11:=ema(var10,30);
var12:=close-ref(close,1);
var13:=max(var12,0);
var14:=abs(var12);
var15:=sma(var13,7,1)/sma(var14,7,1)*100;
var16:=sma(var13,13,1)/sma(var14,13,1)*100;
var17:=barscount(close);
var18:=sma(max(var12,0),6,1)/sma(abs(var12),6,1)*100;
var19:=(-200)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+100;
var1a:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
var1b:=sma((sma(var1a,4,1)-50)*2,3,1);
var1c:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
var1d:=sma(var1c,4,1);//www.goodgongshi.com
var1e:=sma(var1d,3,1);
var1f:=(hhv(high,30)-close)/close*100;
var20:=var18<=25 and var19<-95 and var1f>20 and var1b<-30 and var1e<30 and var11-close>=-0.25 and var15<22 and var16<28 and var17>50;
var21:=(high+low+close)/3;
var22:=(var21-ma(var21,14))/(0.015*avedev(var21,14));
var23:=(var21-ma(var21,70))/(0.015*avedev(var21,70));
var24:=if(var22>=150 and var22<200 and var23>=150 and var23<200,10,0);
var25:=if(var22<=-150 and var22>-200 and var23<=-150 and var23>-200,-10,var24);
drawtext(cross(var20,0.5) and count(var20=1,10)=1,l*0.90,'超级主力建仓!') , colorred;
vare:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
varf:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma
((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
var10:=100-3*sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma
((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
var11:=varf<ref(var10,1) and vol>ref(vol,1) and close>ref(close,1);
drawtext(var11 and count(var11,30)=1,l*0.90,'大资金进场'),colorlimagenta;
买线:=ema(c,2);//www.goodgongshi.com
卖线:=ema(slope(c,21)*20+c,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawtext(bu,l*0.95,'中买'),color00ffff,linethick3;
drawtext(bu,l*0.95,'中买'),color00ffff,linethick3;
drawtext(sel,h*1.02,'卖出'),colorred,linethick3;
drawtext(sel,h*1.02,'卖出'),colorred,linethick3;
stickline(cross(买线,卖线),open,close,10,0),color00ffff;
stickline(cross(卖线,买线),open,close,10,0),colorgreen;
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;
g:=95;
上一指标公式:鲍鱼密码指标公式详解 同花顺鲍鱼
下一指标公式:文凤买进主图指标公式详解 同花顺买进
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文顶底操盘法指标公式详解 同花顺操盘仅供学习研究。