买线:=zig(3,10);
卖线:=ma(买线,3);
stickline(cross(买线,卖线),o,c,9,0),color00aaff;
stickline(买线<卖线,h,l,0,0),colorgreen;
stickline(买线<卖线,c,o,9,0),color007700;
stickline(买线<卖线,c,o,8,0),color008e00;
stickline(买线<卖线,c,o,7,0),color009900;
stickline(买线<卖线,c,o,6,0),color00a600;
stickline(买线<卖线,c,o,5,0),color00b500;
stickline(买线<卖线,c,o,4,0),color00c600;
stickline(买线<卖线,c,o,3,0),color00d500;
stickline(买线<卖线,c,o,2,0),color00e600;
stickline(买线>=卖线,h,l,0,0),color0000ff;
stickline(买线>=卖线,c,o,9,0),color0000a3;
stickline(买线>=卖线,c,o,8,0),color0000b7;
stickline(买线>=卖线,c,o,6,0),color0000c8;
stickline(买线>=卖线,c,o,5,0),color0000d9;
stickline(买线>=卖线,c,o,4,0),color0000cd;
stickline(买线>=卖线,c,o,3,0),color0000e9;
stickline(买线>=卖线,c,o,2,0),color0000ea;
stickline(买线>=卖线,c,o,1,0),color0000ff;
折线:zig(3,20);
前波峰值:=peak(3,20,1);
前波谷值:=trough(3,20,1);
drawnumber(折线>ref(折线,1) and ref(折线,1)<ref(折线,2),ref(c,1),-(前波峰值-ref(c,1))/前波峰值*100);
drawnumber(折线<ref(折线,1) and ref(折线,1)>ref(折线,2),ref(c,1),(ref(c,1)-前波谷值)/前波谷值*100);
//必进清仓//www.goodgongshi.com
ema1:=ema(close,13);
ema2:=ema(close,34),colorred;
ema3:=ema(close,55),colorcyan;
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);
var12:=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);
var14:=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);
var16:=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);
var18:=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);
买:=(var11+var13+var15+var17);
卖:=(var12+var14+var16+var18);
//威廉指标//www.goodgongshi.com
wr:=100*(hhv(high,m1)-close)/(hhv(high,m1)-llv(low,m1));
b:=cross(m2,wr);
s:=(cross(wr,m2)) or (cross(wr,m3));
bm:=barslast(b);
sm:=barslast(s);
bm1:=if(bm[1]=-1 and b,1,if(bm[1]!=-1 and sm[1]!=-1 and bm[1]>sm[1] and b and b[1]=0,1,0));
sm1:=if(sm[1]=-1 and bm[1]!=-1 and s,1,if( sm[1]!=-1 and bm[1]!=-1 and sm[1]>bm[1] and s and s[1]=0,1,0));
//大盘金叉
d1:=cross(indexc,ma(indexc,5));
//kqy指标
v1:=ma(c,3)=hhv(ma(c,3),7);
v2:=ma(c,3)>ma(c,5);
v3:=ma(v,5)>ma(v,10)*1.01;
v4:=count(ma(c,1)>ref(c,1),2)=2;
lc20:=ref(close,1);
rsi20:=sma(max(close-lc20,0),4.1,1)/sma(abs(close-lc20),4.1,1)*100;
var3a:=3;
var2a:=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);
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
yxf:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
加仓:=if(filter(yxf=1,5),5,0),colorliblue,linethick1;
a51:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1);
fy:=ema(a51,5);
a54:=((c-llv(l,21))/(hhv(h,21)-llv(l,21)))*100;
var1:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*50;
kqy1:=(ema(var1,3))*2;
kqy2:=ma(kqy1,3);
买2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<ref(zig(3,10),2),colorred,linethick2;
卖2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>ref(zig(3,10),2),colorwhite,linethick1;
//股票均线金叉
jc:=cross(close,ma(close,ma(close,5)));
ma5:ma(close,5),coloryellow;
m5:ma(close,m),coloryellow;//
m10:=ma(close,10),colormagenta;//
low1:=low,colorwhite;
low144:llv(low,144),coloryellow;
low144_1:low144*0.95,coloryellow;
stickline(indexc>indexo,low144_1,low144,1,0),colorred;//柱线
stickline(indexc<indexo,low144_1,low144,1,0),colorgreen;//柱线
stickline(cross(indexc,ma(indexc,5)),low144_1,low144,8,0),colorred;//柱线
stickline(cross(ma(indexc,5),indexc),low144_1,low144,8,0),colorgreen;//柱线
stickline(close>=m5,c,m5,2,0),colorred;//柱线
stickline(close<m5,c,m5,2,0),colorcyan;//柱线
drawicon(买>0,c,5);
drawicon((bm1>0 and 买>0) or (d1 and 买>0) or (买2=1 and 买>0) or (jc and 买>0),ma5,1);
drawnumber((bm1>0 and 买>0) or (d1 and 买>0) or (买2=1 and 买>0) or (jc and 买>0),low144_1*0.95,tostring(l,2));
drawicon(卖>0,c,6);
drawnumber(卖>0,c*1.05,tostring(h,2));
//鬼谷神算简化的公式:
bb:=zig(3,50/5)*100,coloryellow;
gg:=ma(bb,2),colorred;
dd:=cross(bb,gg)*1000,colorred;
ww:=cross(gg,bb)*1000,colorblue;
drawtext(dd=1000,low144_1*0.9,'必进'),colorred;
drawtext(ww=1000,low144_1*0.9,'清仓' ),colorgreen;
上一指标公式:分时副图分时通达信不加密无未来函数指标下载 同花顺指标未来
下一指标公式:买卖总差指标下载 同花顺买卖
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文必进清仓指标下载 同花顺清仓仅供学习研究。