充分发挥股软作用,通达信软件短线版很完美了,过年了,发个指标充分发挥股软作用,好像用完了50项输出
主要以13天线为持股线,同时加个股大盘macd,解盘提示,还是不及飞狐好用,飞狐数据不行,俺用飞狐与通达信
提示盘中会变的,应数据变,要下数据哦
叠加主图
ma1:=ma(close,5);
ma2:=ma(close,10);
ma3:=ma(close,20);
ma4:=ma(close,30);
多头排列:=close>ma1 and ma1>ma2 and ma2>ma3 and ma3>ma4 and close>open;
ma60:=ma(c,60),colorffcc66; ma13:=ma(c,13),colorffcc66;
ma75:=ma(c,75),colorffcc66;
空头排列:=close<ma1 and ma1<ma2 and ma2<ma3 and ma3<ma4 and close<open;
下跌趋势:=ma4<ref(ma4,3) and ma4<ref(ma4,1) and ma1<ma4;
上升趋势:=ma4>ref(ma4,3) and ma4>ref(ma4,1) and ma1>ma4;
下降成:=下跌趋势 and ma1<ref(ma1,1) and ref(not(下跌趋势),1);
上升成:=上升趋势 and ma1>ref(ma1,1) and ref(not(上升趋势),1);
一阴穿2线:=c/o<0.985 and h>ma1 and c<ma3;
一阳穿2线:=c/o>1.016 and l<min(ma1,ma3)and c>max(ma1,ma3);
发散度:=ma1/ma4;
均线下发散:=下跌趋势 and 发散度<0.9 and 发散度<0.99*ref(发散度,1);
均线上发散:=ma1>ref(ma1,1) and ma2>ref(ma2,1) and ma3>ref(ma3,1) and ma4>ref(ma4,1) and ma1>ma2 and ma2>ma3 and ma3>ma4;
aaaa1:=max(max(ma(v,5),ma(v,10)),ma(v,60))/min(min(ma(v,5),ma(v,10)),ma(v,60))<=1.4;
aaaa2:=max(ma(c,5),ma(c,10))/min(ma(c,5),ma(c,10))<=1.4;
diff:=ema(c,12)-ema(c,26);
dea:=ema(diff,9);
varf:=low*0.9;
ma5:=ma(close,5);
ma10:=ma(close,10);
ma20:=ma(close,20);
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;
均线密集:=diff>dea and k >d and(ma5-ma10)<0.05 and (ma20-ma5)<0.05 and (ma10-ma5)<0.05 and (ma5-ma20)<0.05;
a:=ma(-100*(hhv(h,34)-c)/(hhv(h,34)-llv(l,34)),19);
b:=-100*(hhv(h,14)-c)/(hhv(h,14)-llv(l,14));
dd:=ema(-100*(hhv(h,34)-c)/(hhv(h,34)-llv(l,34)),4);
长线:=a+100;
短线:=b+100;
中线:=dd+100;
见顶:=(ref(中线,1)>85 and ref(短线,1)>85 and ref(长线,1)>65 and cross(长线,短线));
顶区:=(中线 >ref(中线,1) and ref(中线,1)>80 and ref(短线,1)>95 or ref(短线,2)>95
and 长线>60 and 短线<83.5 and 短线<中线 and 短线<长线+4);
底区:=长线<20 and 中线<18 and 短线<40 and ref(短线,1)<5 and 中线 >ref(中线,1)and 短线 >ref(短线,1);
顶部:=filter(顶区,4);
stickline(见顶,h,(h+l)/2,3,0), ,colorred;
stickline(顶部,h,(h+l)/2,3,0), ,colorred;
var2n:=llv(low,3)<=llv(low,60);
var3n:= c>o and (c/o>1.03 or c>1.03*ref(c,1));
绝地反击:=if(var2n and var3n,90,0),coloryellow,linethick2;
gr1:=barslast(between("bias.bias2"(6,13,24),0,5));
gr2:=ma2>ma3 and ma3>ma4 and ma2>ref(ma2,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(9,17,8)<ref("macd.macd"(9,17,8),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
gr8:=gr6 and gr7;
lc := ref(close,1);
rsi6:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
bias5:=(close-ma(close,13))/ma(close,13)*100;
换手:=100*v/capital;
bb13:=atan(ma2-ref(ma2,1))*3.1416*10;
ema8:=ema(c,8);
aa1:=amount/vol;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,6)*0.921;
ee1:=vol<ma(v,5)*1.5;
ff1:=bb1 and cc1 and dd1 and ee1;
drawtext(ff1,l*0.99,'买点'),color00ff00;
高1:=ref(hhv(h,150),3);
低1:=ref(llv(l,150),3);
h3:=高1-(高1-低1)*0.5;
轴:=refdate(h3,date)*0.7,pointdot,colorligray,linethick3;
中轴:=dynainfo(3)*1.2;
macd:=4*(diff-dea);
{stickline(macd>0,中轴,中轴+macd,0,1),colorred;
stickline(macd<0,中轴,中轴+macd,0,1),colorliblue; }
stickline(macd<ref(macd,1)and macd>0,中轴,中轴+macd,0,0 ),color00bbff;
stickline(macd>=ref(macd,1)and macd>0,中轴,中轴+macd,0,0 ),color0011bb;
stickline(macd>ref(macd,1)and macd<0,中轴,中轴+macd,0,0),colorbb11bb;
stickline(macd<=ref(macd,1)and macd<0,中轴,中轴+macd,0,0),colorffbb11;
缩头:=if(macd>0 and ref(macd,1)>ref(macd,2) and macd< ref(macd,1),1,0);
缩脚:=if(macd<0 and ref(macd,1)< ref(macd,2) and macd>ref(macd,1),1,0);
drawicon( 缩脚,(中轴+macd)-0.1,1),color00ff00;
drawicon(filter(缩头,3) and 缩头,(中轴+macd)+0.1,2),colorff00ff;
sat:=(amount/c)/(hhv(amount,20)/hhv(c,20))*100,colorred;
drawicon(sat>=100 and macd>0,(中轴+macd)+0.2,12);
zdif:=ema(indexc,12)-ema(indexc,26);
zhidea:=ema(zdif,9);
zemacd:=(zdif-zhidea)*2/100,colorstick;rc:=轴;dk:=zemacd;
stickline(dk<ref(dk,1)and dk>0,rc,rc+dk,0,0 ),color00bbff;
stickline(dk>=ref(dk,1)and dk>0,rc,rc+dk,0,0 ),color0011bb;
stickline(dk>ref(dk,1)and dk<0,rc,rc+dk,0,0),colorbb11bb;
stickline(dk<=ref(dk,1)and dk<0,rc,rc+dk,0,0),colorffbb11;
z缩头:=if(dk>0 and ref(dk,1)>ref(dk,2) and dk< ref(dk,1),1,0);
z缩脚:=if(dk<0 and ref(dk,1)< ref(dk,2) and dk>ref(dk,1),1,0);
drawicon( z缩脚,(rc+dk)-0.1,1),color00ff00;
drawicon(filter(z缩头,3) and z缩头,(rc+dk)+0.1,2),colorff00ff;
个股趋势:=ma(c,1)/ma(ref(c,18),18)*100,color33ff99,linethick1;
大盘趋势:=ema(indexc,1)/ma(ref(indexc,18),18)*100;
大盘走势:=ma(forcast(大盘趋势,20),6),colorred;
dpzd:=(indexc-ref(indexc,1))/ref(indexc,1)*100;
ggzd:=(c-ref(c,1))/ref(c,1)*100;
qrd:=ggzd-dpzd;
强弱度:=ema(qrd,20),coloryellow;
穿:=cross(个股趋势,大盘趋势) and 个股趋势>ref(个股趋势,2);
bdgd1:=hhv(j,2)=hhv(j,8) and j>80;
bddd:=llv(j,2)=llv(j,8);
j1向下拐头:=if(cross(ref(j-0.01,1),j) and ref(bdgd1,1),1,0);
drawtext(j1向下拐头 ,high*1.02,'j'),color00ff00;
j1向上拐头:=if(cross(j,ref(j+0.01,1)) and bddd and j<20,1,0);
drawtext(j1向上拐头,low*0.993,'j'),color00ffff;
买买:=if(j<0,10,0);drawtext(cross(9.9,买买),low*0.95,'k'),colorlimagenta;
xs1:=ma(high,5)*(1+5/100)*0.99;
drawtext(cross(c,xs1),h*1.03,'砸'),colorwhite;
tt:=240/fromopen;
比:=tt;
j12:=(high - ((high - low) / 3));
j23:=(low + ((high - low) / 3));
aaa1:=const(hhv(h,90));
bbb:=const(llv(l,30))+2;
t1:=const(if(close>=ma(close,13),1,0));
t2:=const(if(close<ma(close,13) and c<ma(close,5),1,0));
t3:=const(if(c<ma75,1,0));
t4:=const(if(cross(close,ma(close,13)),1,0));
t5:=const(if(cross(ma(close,13),close),1,0));
t6:=const(if((c>=ma5 and c<ma13) ,1,0));
t7:=const(if(c>=ma75,1,0));
t8:=const(if(cross(c,xs1),1,0));
var1y:=vol/capital*100;
var2y:=llvbars(low,10);
var3y:=(close-ref(open,var2y))/ref(open,var2y)*100;
var4y:=ref(close,2)*0.865;
var5y:=ref(close,13)*0.772;
var6y:=max(var4y,var5y);
t9:=(close-var6y)/close>0.2 and var3y<50 and sum(var1y,5)/5>5;
t10:=const(if(var2n and var3n,1,0));
t11:=const(if(缩脚,1,0));
t12{m13}:=const(if(zemacd>ref(zemacd,1) and zemacd>0 and zdif<0 ,1,0));
t13:=const(if(zemacd<ref(zemacd,1) and zemacd<0 ,1,0));
t14:=const(if(上升趋势,1,0));
t15:=const(if(zemacd>=ref(zemacd,1) and zemacd>0 and zdif>=0 ,1,0));
ts1:=if(t1=1,0+0.03,0);
ts2:=if(t2=1,ts1+0.04,ts1);
ts3:=if(t3=1,ts2+0.04,ts2);
ts4:=if(t4=1,ts3+0.04,ts3);
ts5:=if(t5=1,ts4+0.04,ts4);
ts6:=if(t6=1,ts5+0.04,ts5);
ts7:=if(t7=1,ts6+0.04,ts6);
ts8:=if(t8=1,ts7+0.04,ts7);
ts9:=if(t9=1,ts8+0.035,ts8);
ts10:=if(t10=1,ts9+0.04,ts9);
ts11:=if(t11=1,ts10+0.04,ts10);
ts12:=if(t12=1,ts11+0.04,ts11);
ts13:=if(t13=1,ts12+0.04,ts12);
ts14:=if(t14=1,ts13+0.04,ts13);
ts15:=if(t15=1,ts14+0.04,ts14);
drawtext(t1=1 and currbarscount=150,轴*1.4,'短线上升持股'),colorred ;
drawtext(t2=1 and currbarscount=150,轴*1.4,'短线下降持币'),colorgreen ;
drawtext(t3=1 and currbarscount=150,轴*1.6,'长线下降持币'),colorgreen ;
drawtext(t4=1 and currbarscount=28,轴*1.2,'加买点信号'),colorred;
drawtext(t5=1 and currbarscount=28,轴*1.7,'今天是短线下降卖出信号'),colorgreen ;
drawtext(t6=1 and currbarscount=28,轴*1.3,'低买点持股信号'),colorred ;
drawtext(t7=1 and currbarscount=150,轴*1.6,'长线上升持股'),colorred ;
drawtext(t8=1 and currbarscount=28,中轴*0.85,'阳线短卖信号,收盘或隔天卖,隔天买回'),colorgreen ;
drawtext(t9=1 and currbarscount=28,中轴*0.85,'阳线卖点卖出'),colorgreen ;
drawtext(t11=1 and currbarscount=28,轴*1.15,'缩脚,注意买人'),colorgreen ;
drawtext(t12=1 and currbarscount=70,轴*1.2,'大盘反弹,谨慎'),colorwhite ;
drawtext(t13=1 and currbarscount=70,轴*1.2,'大盘下降'),colorwhite ;
drawtext(t15=1 and currbarscount=28,轴*0.9,'大盘上升趋势'),colorwhite ;
wj:=(h+l+c)/3;
v1:=if(h=l,1,h-max(o,c));
v2:=if(h=l,1,max(c,o)-wj);
v3:=if(h=l,1,min(o,c)-l);
v4:=if(h=l,1,wj-min(c,o));
v5:=vol/if(h=l,4,h-l);
v6:=(v1*v5);
v7:=(v2*v5);
v8:=(v3*v5);
v9:=(v4*v5);
买盘1:=dynainfo(23)*比;
卖盘1:=dynainfo(22)*比;
买盘2:=if(islastbar and c>300,(v9+v8)*tt,(v9+v8));
卖盘2:=if(islastbar and c>300,(v6+v7)*tt,(v6+v7));
买盘:=if(islastbar and period=5 and c<300,买盘1,买盘2);
卖盘:=if(islastbar and period=5 and c<300,卖盘1,卖盘2);mfi:=(high-low)*1000000/(vol*比);
绿灯:=mfi>=ref(mfi,1)and vol*比>=ref(vol,1);
m1:=const(if(空头排列 and 均线下发散,1,0));
m2:=const(if(多头排列 and 均线上发散,1,0));
m3:=const(if(空头排列 and not(均线下发散),1,0));
mm1:=const(if(均线密集,1,0));
mm2:=const(if(上升趋势 and not(一阴穿2线) and ref(上升趋势,1),1,0));
mm3:=const(if(个股趋势<大盘趋势,1,0));
mm4:=const(if(下跌趋势 and ref(下跌趋势,1) and not(一阳穿2线),1,0));
mm5:=const(if(diff<0 and macd<=0 and macd>ref(macd,1),1,0));
mm6:=const(if((个股趋势>=大盘趋势),1,0));
mm7:=const(if(zemacd>ref(zemacd,1) and zemacd<0,1,0));
mm8:=const(if(下跌趋势 and ref(下跌趋势,1) and not(一阳穿2线),1,0));
mm9:=const(if(zemacd<ref(zemacd,1) and zemacd>0,1,0));
量大:=(卖盘+买盘)/ref(vol,1)>2;
m5:=const(量大);
量缩:=ref(vol,1)/(卖盘+买盘)>1.5;
m6:=const(量缩);
卖量大:=(卖盘-买盘)/买盘>0.4;
m7:=const(卖量大);
买量大:=(买盘-卖盘)/卖盘>0.4;
m8:=const(买量大);
drawtext(m2 and currbarscount=150,中轴*0.95,'均线多头发散,注意k线形态和股价节奏变化'),colorgreen;
drawtext(m7 and currbarscount=55,bbb-(bbb*ts1)+1,'☆卖出量大于买入量40%以上;'),colorgreen;
drawtext(m8 and currbarscount=55,bbb-(bbb*ts1)+0.5,'☆买入量大于卖出量40%以上'),colorred;
drawtext(mm1 and currbarscount=70,中轴*0.9,'均线密集,注意方向变化'),coloryellow;
drawtext(mm2 and currbarscount=70,中轴*0.95,'处于上升趋势'),coloryellow;
drawtext(mm3 and currbarscount=150,轴*1.2,'个股弱于大盘走势'),coloryellow;
drawtext(mm5 and currbarscount=70,轴*1.25,'下跌趋势趋缓,可能转折'),coloryellow;
drawtext(mm6 and currbarscount=150,轴*1.2,'个股强于大盘走势'),colorred;
drawtext(mm7 and currbarscount=70,轴*0.9,'大盘下跌趋缓'),colorred;
drawtext(diff<0 and 缩头 and currbarscount=28,轴*1.2,'短线反弹节束,警惕'),colorred ;
drawtext(mm9 and currbarscount=28,轴*0.9,'大盘上升趋缓小心'),colorgreen;
drawtext(var2n and var3n,l*0.99,'反击'),color00ff00;
bias1:=(c-ma(c,6))/ma(c,6)*100;
bias2:=(c-ma(c,12))/ma(c,12)*100;
bias3:=(c-ma(c,24))/ma(c,24)*100;
bias:=(bias1+2*bias2+3*bias3)/6;
乖离:=ma(bias,3);
stickline(cross(bias,乖离) and 乖离<-9,l*0.96,l*0.9,2,0),colorred;
stickline( dk>ref(dk,1) and dk<0 and macd>ref(macd,1) and macd<0 and ref(dk,2)<ref(dk,3), 中轴*0.99,rc*0.99,0,0 );
drawtext( dk>ref(dk,1) and dk<0 and macd>ref(macd,1) and macd<0 and ref(dk,2)<ref(dk,3) and currbarscount=28,轴*0.9,'共振买点,跟进'),colorgreen;
ty:=c;
x1:=ref(ty,5)=hhv(ty,2*5+1); y1:=filter(x1,5); z1:=backset(y1,5+1); ha:=filter(z1,5);
x2:=ref(ty,5)=llv(ty,2*5+1); y2:=filter(x2,5); z2:=backset(y2,5+1); la:=filter(z2,5);
短压力:=ref(c,barslast(ha)),colormagenta,pointdot;
短支撑:=ref(c,barslast(la)),colorgreen,pointdot;
stickline( cross(短支撑,c) , 中轴*0.995,轴*0.985,0,0 ),colorgreen;
drawtext(cross(短支撑,c) ,l*0.8,'止损'),colorred;
上一指标公式:买点准备无未来指标下载 通达信买点
下一指标公式:各方力量对比指标下载 通达信指标力量
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文叠加主图-充分发挥股软作用指标下载 通达信叠加作用仅供学习研究。