m1:=5;
m2:=10;
m3:=20;
m4:=30;
m5:=60;
n:=80;
n1:=14;
m:=3;
黄金柱b:=v/ref(v,1)>=2.0;
k1b:=sumbars(黄金柱b,1) ;
k2b:=sumbars(黄金柱b,2);
k3b:=sumbars(黄金柱b,3);
k4b:=sumbars(黄金柱b,4);
k5b:=sumbars(黄金柱b,5);
k6b:=sumbars(黄金柱b,6);
k7b:=sumbars(黄金柱b,7);
k8b:=sumbars(黄金柱b,8);
k9b:=sumbars(黄金柱b,9);
k10b:=sumbars(黄金柱b,10);
aabb:stickline(k1b,refv(l,k1b-1)*1.002,refv(l,k1b-1),2,0),coloryellow;
t60b:=v=hhv(v,60);
t100b:=v=hhv(v,100);
t2b:=v/ref(vol,1)>=3;
t3b:=ref(c,1)/ref( o,1)<3;
ma5:=ma(close,m1),linethick1,coloryellow;
ma10:=ma(close,m2),linethick1,colorwhite;
ma20:=ma(close,m3),linethick1,coloryellow;
稳健操盘线:ma(close,m4),pointdot,colorred;
ma60:=ma(close,m5),pointdot,linethick1,colorgreen;
tr1:=sma(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),n1,1);
hd:=high-ref(high,1);
ld:=ref(low,1)-low;
dmp:=sma(if(hd>0 and hd>ld,hd,0),n1,1);
dmm:=sma(if(ld>0 and ld>hd,ld,0),n1,1);
pdi:=dmp*100/tr1,colorred;
mdi:=dmm*100/tr1,colorgreen;
adx:=sma(abs(mdi-pdi)/(mdi+pdi)*100,n1,1),coloryellow;
阶段线1:=16;
阶段线2:=30;
dmi1:=pdi>mdi and adx>=30;
dmi2:=pdi<mdi and adx>=30;
dmi3:=pdi>mdi and 16<adx<30;
dmi4:=pdi<mdi and 16<adx<30;
dmi5:=adx<=16 and (pdi>mdi or pdi<mdi);
dmi6:=adx>60;
zt:=c/ref(c,1)>1.097;
xh:=filter(zt,13);
bh:=barslast(zt);
cz:=ref(h,bh)-ref(l,bh);
stickline(zt,o,c,3,0),colorred;
drawtext(zt,l*0.98,' '),colorf00ff0;
varzt:=barslast(c/ref(c,1)>1.097);
{涨跌停显示}
涨停:=if((c-ref(c,1))*100/ref(c,1)>=(10-0.01*100/ref(o,1)),1,0);
stickline(涨停,o,c,3,0),colorred;
zdf:=(c-ref(c,1))/ref(c,1)*100;
stickline(zdf<-9.9,o,c,3,0),colorgreen;
var111:=vol/((high-low)*2-abs(close-open));
买:=if(close>open,var111*(high-low),if(close<open,var111*((high-open)+(close-low)),vol/2)),colorred;
卖:=if(close>open,0-var111*((high-close)+(open-low)),if(close<open,0-var111*(high-low),0-vol/2)),color00ff00 ;
买卖差:=(买+卖);
买卖比:=abs(买/卖);
水平面:=ma(close,89),colorff00ff;
bbi:=(ma(close,m1)+ma(close,m2)+ma(close,m3)+ma(close,m4))/4;
ma1:=ma(close,24),color00e300,linethick1;
v2:=if(currbarscount=1,vol*240/fromopen/ref(vol,1)-1,vol/ref(vol,1)-1);
ma13:=ma(close,13);
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
a1:=min(o,c);
b1:=abs(o-c);
t1:=filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10);
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
t2:=count(cross(bbi,3),3)=1 and cross(c,bbi);
t12:=v2>=1;
t0:=barslast(t12);
l1:=ref(l,t0);
h1:=ref(h,t0);
l11:=min(ref(l,1),l);
l10:=min(l11,ref(l,2));
l21:=max(ref(l,1),l);
l20:=max(l21,ref(l,2));
t111:=(ref(v2>=1,3) or ref(v2>=1,2) or ref(v2>=1,1)) and
((l10>l1 and l20>h1) or (l11>l1 and l21>h1));
t11:=t111 and ref(t111,1)=0;
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2x:=(1-7/100)*(dma(close,v1));
v3:=(1+7/100)*(dma(close,v1));
v5:=ma((low+high+close)/3,5);
a1xx:=cross(ma(c,1),ma(c,3));
xg:=a1xx;
var1:=ema(ema(close,13),13);
控盘:=(var1-ref(var1,1))/ref(var1,1)*1000;
a10:=cross(控盘,0);
无庄控盘:=if(控盘<0,控盘,0),colorgray,nodraw;
短线:=(close-ma(close,13))/ma(close,13)*20,linethick0,colorwhite;
中线:=(close-ma(close,4))/ma(close,4)*20,linethick0,coloryellow;
红柱:=sma(短线,3,1),linethick0,colorff00ff;
绿柱:=sma(中线,3,1),colorstick,color00ff00;
开始控盘:=if(a10,5,0),linethick1,colorwhite;
有庄控盘:=if(控盘>ref(控盘,1) and 控盘>0,控盘,0),colorred,nodraw;
var2:=100*winner(close*0.95);
高度控盘:=if(var2>50 and cost(85)<close and 控盘>0,控盘,0),colorff00ff,nodraw;
主力出货:=if(控盘<ref(控盘,1) and 控盘>0,控盘,0),color00ff00,nodraw;
dif1:=ema(dclose,12)-ema(dclose,26);
dea1:=ema(dif1,9);
{柱状线}
aaa1:=(dif1-dea1)*2*60;
买入线:=10;
绝密:=aaa1-ref(aaa1,1),colormagenta;
金叉:=cross(ema(c,1),ema(c,3));
aaa上:=if(aaa1>ref(aaa1,1),aaa1,drawnull);
aaa下:=if(aaa1<ref(aaa1,1),aaa1,drawnull);
选股王:=cross(绝密,买入线);
突破买点:=有庄控盘 and 选股王;
xxbb:= ema((close-llv(low,25))/(hhv(high,25)-llv(low,25))*4,5)*100;
抄牛底:=ref(xxbb,1)<50 and xxbb-ref(xxbb,1)>25;
蓝宝石:=抄牛底 and 金叉;
追拉升:=ref(xxbb,1)>50 and xxbb-ref(xxbb,1)>40;
回踩买点:=主力出货 and 选股王;
drawtext(回踩买点,l*0.995,'↖牛回踩'),coloryellow;
drawicon(回踩买点,l*0.985,26);
抄底王:=金叉 and 选股王,colorgray;
drawtext(抄底王,l*0.985,'↖抄底王'),colorwhite;
drawicon(抄底王,l*0.975,27);
vv1:=(c*2+h+l)/4*10;
vv2:=ema(vv1,13)-ema(vv1,34);
vv3:=ema(vv2,5); v4:=2*(vv2-vv3)*5.5;
主力撤:=if(v4<=0,v4,0),colorgreen;
主力进:=if(v4>=0,v4,0);
vv5:=(hhv(indexh,8)-indexc)/(hhv(indexh,8)-llv(indexl,8))*8;
v6:=ema(3*vv5-2*sma(vv5,18,1),5);
v7:=(indexc-llv(indexl,8))/(hhv(indexh,8)-llv(indexl,8))*10;
v8:=(indexc*2+indexh+indexl)/4;
v9:=ema(v8,13)-ema(v8,34);
va:=ema(v9,3);
vb:=(v9-va)/2;
大盘资金进场:=if(vb>=0,vb,0),coloryellow;
大盘资金撤走:=if(vb<=0,vb,0),colorred;
v11:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);
趋势线:=ema(v11,3);
v12:=(趋势线-ref(趋势线,1))/ref(趋势线,1)*100;
准备现金:=stickline(趋势线<=13,0,20,5,0),colorcc9900;
aa:=(趋势线<=13) and filter((趋势线<=13),15);
{drawtext (aa,30,'准备现金'),colorcc9900;}
买入股票:=stickline(趋势线<=13 and v12>13,0,50,5,0),color0099ff;
bb:=(趋势线<=13 and v12>13) and filter((趋势线<=13 and v12>13),10) ;
{drawtext (bb,60,'买入股票'),color0099ff;}
红宝石:=bb and 金叉;
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),1,0),stick,colorffffff,linethick3;
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;
qs:=(ma(3*sma(a54,6,1)-2*sma(sma(a54,5,1),5,1),2));
绿宝石:=加仓 and 金叉;
{drawtext (绿宝石,l*0.945,'绿宝石'),colorff00ff;}
lc20:=ref(close,1);
rsi20:=sma(max(close-lc20,0),4.1,1)/sma(abs(close-lc20),4.1,1)*100;
底线买阳:=cross(rsi20,11)*1,colorred;
黄宝石:=底线买阳 and 金叉;
{drawtext (黄宝石,l*0.935,'黄宝石'),color0099ff;}
控盘b:=filter(if(a10,1,0),5);
{分时价格原码}
jj:=dynainfo(11);
{波段买卖原码}
p:=55;s:=8;
财:=(ema(close,s)-ema(close,p))*10,colorred,linethick2;
神:=ema(财,m1),colorgreen,linethick1;
{股价与均线偏离买卖条件}
btj1:=(c-jj)/jj<-0.005;
btj11:=(c-jj)/jj<-0.03;
btj12:=last(jj>=ref(jj,1),5,1) and (c-jj)/jj<0.005;
stj1:=(c-jj)/jj>0.005;
{控盘买卖条件}
stj01:=控盘<ref(控盘,1) and 控盘>0.5;
stj02:=控盘>0;
btj2:=控盘>ref(控盘,1) and 控盘<-0.2;
btj22:=控盘>ref(控盘,1) and 控盘<0 ;
{波段买卖条件}
btj3:=cross(财,神) and 财<-0.3;
btj32:=cross(财,神) and 财<-0.1;
stj31:=cross(神,财);
stj32:=cross(神,财) and 财>1.618;
{以下为信号};
btj81:=filter(btj1 and btj2 and btj3,13);
btj811:=filter(btj11 and btj2 and btj3,13);
btj82:=filter(btj12 and btj22 and btj32,13);
{drawicon(btj82,l*0.993,23);}{追买};
{drawicon(btj811,l*0.980,5);}
{drawicon(绿宝石,l*0.988,27);
drawicon(黄宝石,l*0.986,26);}
{drawicon(蓝宝石,l*0.982,24);
drawicon(红宝石,l*0.980,25);}
drawicon(追拉升,l*0.985,23);
{drawicon(突破买点,l*0.985,21);}
var1a:=ema(ema(close,9),9);
专用:=(var1a-ref(var1a,1))/ref(var1a,1)*1000;
var2a:=100*winner(close*0.95);
高手专用:=var2a>50 and cost(85)<close and 专用>0;
cv:=close;
bbiboll:=(ma(cv,3)+ma(cv,6)+ma(cv,12)+ma(cv,24))/4;
upr:=bbiboll+6*std(bbiboll,11);
dwn:=bbiboll-6*std(bbiboll,11);
qjj:=vol/((high-low)*2-abs(close-open));
xvl:=(if(close>open,qjj*(high-low),if(close<open,qjj*(high-open+close-low),vol/2))+if(close>open,0-qjj*(high-close+open-low),if(close<open,0-qjj*(high-low),0-vol/2)));
hsl:=(xvl/20)/1.15;
强势股:=((hsl*0.55+(ref(hsl,1)*0.33))+(ref(hsl,2)*0.22))>1500;
绝杀前十:=高手专用 and 高度控盘,colorff00ff;
{机构增仓}
ja1:=(dvol/c)/2;
a2:=sum(if(ja1>100 and close>ref(close,1),ja1,0),0);
a3:=sum(if(ja1>100 and close<ref(close,1),ja1,0),0);
a4:=sum(if(ja1<100 and close>ref(close,1),ja1,0),0);
a5:=sum(if(ja1<100 and close<ref(close,1),ja1,0),0);
a6:=a2+a3+a4+a5;
机买:=(a2/a6)*100;
机卖:=(a3/a6)*100;
主力差:=机买-机卖;
机构加仓:=(主力差>=ref(主力差,1)+1.5)*50 and 机买>机卖;
机构抄底:=金叉 and 机构加仓;
drawtext (机构抄底,l*0.97,'↖机构入驻'),colorcyan;
机构追买:=机构加仓 and 追拉升;
drawtext (机构追买,l*0.97,'↖机构吃单'),colorff00ff;
{猎庄}
lvar2:=(close-llv(low,75))/(hhv(high,75)-llv(low,75))*100;
lvar3:=sma(lvar2,20,1);
lvar4:=sma(lvar3,15,1);
猎庄:=lvar3-lvar4;
多空分界:=1;
抓庄:=cross(猎庄,多空分界) and 猎庄>=ref(ma(猎庄,多空分界),1);
跟庄抄底:=金叉 and 抓庄;
{drawtext (跟庄抄底,l*0.97,'跟庄'),colorcyan;}
{稳健追涨}
wma1:=ema(close,5);
wma2:=ema(close,10);
wma3:=ema(close,20);
wma4:=ema(close,30);
wma5:=ema(close,60);
wvar1:=max(wma1,max(wma2,max(wma3,wma4)));
wvar2:=min(wma1,min(wma2,min(wma3,wma4)));
wvar3:=(wvar1-wvar2)/wvar2*1000;
wvar4:=wma1>ref(wma1,1) and wma2>ref(wma2,1) and wma3>ref(wma3,1) and wma4>ref(wma4,1) and wma5>ref(wma5,1);
wvar5:=wvar3<5;
wvar6:=count(wvar5=1,5)>0;
wvar7:=cross(wma1,wma4);
稳健追涨:=wvar4 and wvar6 and wvar7;
稳健抄底:=金叉 and 稳健追涨;
{drawtext (稳健抄底,l*0.97,'稳健'),colorcyan;}
{均线粘合}{}
jdif:=ema(close,12)-ema(close,26);
jdea:=ema(jdif,9);
jmacd:=(jdif-jdea)*2;
jboll:=ma(close,20);
jupper:=jboll+2*std(close,20);
jlower:=jboll-2*std(close,20);
jk1:=close>open ;
jk2:=vol>=2*ref(vol,1);
jk3:=cross(jdif,jdea) and jdif<=0 ;
jk4:=cross(close,jboll);
均线粘合:=jk1 and jk2 and jk3 and jk4 ;
机构拉升:=机构加仓 and 均线粘合;
drawtext (机构拉升,l*0.97,'↖机构拉升'),colorff00ff;
varc:=sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100;
drawicon(cross(82,varc),h*1.02,2);
{drawtext(cross(82,varc),2,'|逃庄'),colorwhite ;}
var34:=(indexc-ref(indexc, 1))/ref(indexc, 1);
var35:=(close-ref(close, 1))/ref(close, 1);
var36:=if(var34>0.010, 0.900, 1) and if(var34>(-0.025), 1, 1.200);
var37:=var36*(var35-var34)*100;
var38:=sum(var37, 10);
var310:=var38>20;
var326:=if(close and ma(vol, 5)/240 and close>ref(close, 1)*1.0 and close,1,0);{var38>var39;}
var327:=if(close/ref(close, 1)>1.050 and vol/capital*100<10 and close<17 and high/close<1.010 and var326>0, 1, 0);
{stickline(var327=1,0,1,2,0),coloryellow;}
drawicon(var327=1,l*0.95,1);
{drawtext(var327=1,-1,'|杀庄'),colorwhite;}
hz:=ema(close,13);
{}
短波:=ema(hz,1);
中波:=ema(hz,26);
均线148天:=ema(c,148);
成本:=sum(amount,0)/sum(vol,0)/100;
hz2:=ema(hz,8);
拉升一号:=cross(短波,hz2);
drawicon(拉升一号,l*0.99,11);
drawtext (拉升一号,l*0.97,'↖黑马拉升'),colorff00ff;
mid:=(3*close+low+open+high)/6;
红线上牛股起:(20*mid+19*ref(mid,1)+18*ref(mid,2)+17*ref(mid,3)+16*ref(mid,4)+15*ref(mid,5)+14*ref(mid,6)+13*ref(mid,7)+12*ref(mid,8)+11*ref(mid,9)+10*ref(mid,10)+9*ref(mid,11)+8*ref(mid,12)+7*ref(mid,13)+6*ref(mid,14)+5*ref(mid,15)+4*ref(mid,16)+3*ref(mid,17)+2*ref(mid,18)+ref(mid,20))/210,colorred,linethick2;
绿线下熊股出:ma(红线上牛股起,6),colorgreen,linethick2;
涨停紫色:stickline((c-ref(c,1))/ref(c,1)>0.095,c,o,3.05,0),colormagenta;
上一指标公式:短线法门副图和选股 通达信法门
下一指标公式:自用换手率 通达信换手率
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文抄底王主图 通达信抄底仅供学习研究。