sl主图源码下载:
sl主图 (源码 主图 通达信 贴图)
{两线}
xa_1:=120;
xa_2:=ma(close,xa_1);
xa_3:=pow(close-xa_2,2);
xa_4:=ma(xa_3,xa_1);
xa_5:=sqrt(xa_4);
xa_6:=xa_2+2*xa_5;
一突:ref(xa_2,1),coloryellow,linethick1;
二突:ref(xa_6,1),colorff00ff,linethick1;
{k线颜色+跳空}
c3:=ref(c,1);
涨停:=if((c-c3)*100/c3>=(10-0.01*100/c3),1,0);
stickline(涨停,open,close,2,0),coloryellow;
stickline(涨停,h,l,0,0),,coloryellow;
跌停:=if((c3-c)*100/c3>=(10-0.01*100/c3),1,0);
stickline(跌停,open,close,3,0),colorgreen;
stickline(跌停,h,l,0,1),colorgreen;n:=10;
up:=(c/ref(c,1)>1.05 and not(c/ref(c,1)>1.095));
stickline(up,open,close,2,0),,colorlired;
stickline(up,h,l,0,0),colorlired;
down:=(c/ref(c,1)<0.95 and not(c/ref(c,1)<0.907));
stickline(down,open,close,3,0),colorff6600;
stickline(down,h,l,0,1),colorff6600;
向下跳空:=high<ref(low,1);
stickline(向下跳空,high,ref(low,1),4,0),color888888;
向上跳空:=low>ref(high,1);
stickline(向上跳空,low,ref(high,1),4,0),color888888;
ma5:ma(close,5),nodraw;
aa1e:=amount/v;
bb1e:=l<aa1e*0.9;
cc1e:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1e:=l<ma(c,5)*0.921;
ee1e:=v<ma(v,5)*1.5;
异动:=bb1e and cc1e and dd1e and ee1e,linethick0;
drawtext(异动,(low* 0.98),'异动'),color40ccff;
{强势杀入 参数: n 1 20 10 zf 1 10 5}
bdgd:=c=hhv(c,n);
gdsj:=barslast(bdgd);
底:llv(l,n),colorff9933,linethick1,crossdot,nodraw;
顶:hhv(h,n),color0099cc,linethick1,crossdot,nodraw;
前高:if(gdsj>0,ref(c,gdsj),ref(c,gdsj)),colorffff00,pointdot,linethick2,nodraw;
ma5s:ma(c,5),linethick2,colorff00ff,nodraw;
ma13s:ma(c,13),linethick2,color00ff00,nodraw;
ma20s:=ma(c,20);
ma30s:=ma(c,30);
ma60s:=ma(c,60);
ma120s:=sma(c,120,1);
tp:=cross(c,ref(前高,1));
出击:=tp and count(tp,5)=1;
tpsj:=barslast(出击);
hc:=cross(ref(前高,tpsj+1),l) or cross(ref(前高,tpsj),c);
回踩:=hc and tpsj>1;
放量上涨:=close/ref(close,1)>=1.01 and vol/ref(vol,1)>=1.5 and vol>ma(vol,5) and ref(vol,1)/ref(ma(vol,5),1)<=1.8;
箱体形成:=((hhv(c,3)/llv(c,n)-1)*100<=zf and (hhv(c,n)/llv(c,3)-1)*100<=zf)*0.3;
接近箱顶:=(close/ref(hhv(close,n),2)<=1.02 and high/ref(hhv(close,n),2)>=0.98)*0.5;
p1:=barslast(箱体形成);
p2:=barslast(接近箱顶);
期待突破:=(放量上涨 and 接近箱顶 and p1<=3 and p2<=1)*2;
关注:=(放量上涨 and 接近箱顶)*1;
zh520:=abs(ma5s-ma20s)/ma20s*100<=n;
zh530:=abs(ma5s-ma30s)/ma30s*100<=n;
qsxs1:=ma5>ref(ma5s,1);
qsxs2:=ma20s>ref(ma20s,1);
qsxs3:=ma30s>ref(ma30s,1);
dtpl:=ma20s>ma30s and ma30s>ma120s;
lyht:=dtpl and qsxs2 and qsxs3 and not(qsxs1) and ref(qsxs1,1);
老鸭回头:=lyht*50;
wr5:=100*(hhv(h,5)-c)/(hhv(h,5)-llv(l,5));
wr6:=100*(hhv(h,6)-c)/(hhv(h,6)-llv(l,6));
wr:=80-(wr5*3+wr6*2)/5;
坑:=if(wr<0,wr,0);
lyt:=dtpl and qsxs2 and qsxs3 and count(qsxs1,4)<=1;
gjhs:=c>ma5 and ((qsxs1 and not(ref(qsxs1,1))) or c>ref(c,3));
lykk:=gjhs and (zh520 or zh530) and lyt;
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=(lykk and not(ref(lykk,1)))*50;
买1:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
卖1:=if(hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx),1,0);
varc:=sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100;
var6s:=ref(c,1);
var7:=sma(max(c-var6s,0),6,1)/sma(abs(c-var6s),6,1)*100;
优选:=(买 and count((ma13s>ma20s),5)=5)*100;
{以下设置主图显示方式}
{drawtext(老鸭回头,(ma13+ma20)/2, '○');
drawtext(wr<0,l*0.99, '#'),coloryellow;
drawtext(wr<-10,l*0.99, '#'),colorwhite;
stickline(买,h,l,1,0),color00ff00,linethick2;
stickline(买,o,c,3,1),color00ff00,linethick2;}
drawtext(买>0,l*0.99, '▲b'),colorred;
drawicon(cross(82,varc),high,39);
drawtext(cross(84,var7),h*1.01,'顶'),colorffff00;
drawtext(filter(卖1=1,5),high*1.025,'▼卖'),color00ff00;
drawtext(出击,l*0.99,'强 '),coloryellow;
{小虚线}
ns:=8;
aa:=ref(h,ns)=hhv(h,2*ns+1);
aa1:=ref(l,ns)=llv(l,2*ns+1);
qy:=backset(aa,ns+1);
qy1:=backset(aa1,ns+1);
cc:=filter(qy,ns) and h=hhv(h,ns+1);
cc1:=filter(qy1,ns) and l=llv(l,ns+1);
ddd:=barslast(cc);
dd2:=barslast(cc1);
gdts:=if(cc,currbarscount,0);
ddts:=if(cc1,currbarscount,0);
dingbuts:=if(ddd,ref(gdts,ddd),gdts);
ddts1:=if(dd2,ref(ddts,dd2),ddts);
gdcs1:=const(dingbuts);
ddcs1:=const(ddts1);
gdcs13:=const(ref(high,gdcs1-1));
ddcs13:=const(ref(l,ddcs1-1));
dingbuts1:=ref(dingbuts,ddd+1);
ddts2:=ref(ddts1,dd2+1);
gdcs2:=const(dingbuts1);
ddcs2:=const(ddts2);gdcs23:=const(ref(high,dingbuts1-1));
ddcs23:=const(ref(l,ddts2-1));
xg1:=backset(islastbar,gdcs1);
xd1:=backset(islastbar,ddcs1);
xg2:=backset(islastbar,dingbuts1);
xd2:=backset(islastbar,ddts2);
stickline(xg2,gdcs23,gdcs23,2,0),colorwhite;
stickline(xg1,gdcs13,gdcs13,2,0),coloryellow;
stickline(xd2,ddcs23,ddcs23,2,0),colorgray;
stickline(xd1,ddcs13,ddcs13,2,0),colorcyan;
{kdj测顶底}
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;
{文字:}
drawtext(cross(100,j),h*1.02,'▼风险'),colorgreen;
drawtext(cross(j,0),l*0.97,'▲关注'),colorwhite;
{变盘}
drawtext(ref(dmi.adx,1)>50 and cross(ref(dmi.adx,1),dmi.adx),h*1.01,'↙变盘'),colormagenta;
{行业信息}
z1:=strcat(hyblock,' ');
z2:=strcat(z1,dyblock);
z3:=strcat(z2,' ');
drawtext_fix(islastbar,0,0.16,0,strcat(z3,gnblock)),colorlired;
drawtext_fix(islastbar,0,0.12,0,externstr(0,3)),colorwhite;
drawtext_fix(islastbar,0,0.06,0,externstr(0,6)),colorliblue;
drawtext_fix(islastbar,0,0.03,0,externstr(0,12)),colorligreen;{老王}
drawtext_fix(islastbar,0,0.09,0,fgblock),colorlimagenta;
drawtext_fix(islastbar,0,0.0,0,externstr(0,1)),coloryellow;{融胜}
{稳涨}
红轨道:=ma(ma(close,3),1),linethick1,coloryellow;
轨道:ma(ma(close,3),3),color32cd32,linethick1;
notext_升:if(红轨道>=轨道,轨道,drawnull),colorred,linethick1;
机构:(l2_vol(0,0) - l2_vol(0,1))*10000/finance(7),nodraw,colorred;
大户:(l2_vol(1,0) - l2_vol(1,1))*10000/finance(7),nodraw,colormagenta;
主力:机构+大户,nodraw,coloryellow;
累计:=sum(主力,30),colormagenta;
均值:=ema(累计,min(10,30)),colorwhite;
{一绝}
q_1:=c-ref(c,1);
q_2:=100*ema(ema(q_1,6),6)/ema(ema(abs(q_1),6),6);
q_3:=cross(ema(c,19),ema(c,7));
q_4:=cross(ema(c,7),ema(c,19));
zd1:=l=llv(l,barslast(q_3)+1);
zd2:=llv(l,barslast(q_3)+1);
zd3:=h=hhv(h,barslast(q_4)+1);
zd4:=hhv(h,barslast(q_4)+1);
q_a:=drawline(zd1,zd2,zd3,zd4,0);
u1:=h=hhv(h,barslast(q_4)+1);
u2:=hhv(h,barslast(q_4)+1);
u3:=l=llv(l,barslast(q_3)+1);
u4:=llv(l,barslast(q_3)+1);
q_b:=drawline(u1,u2,u3,u4,0);
tj:=if(q_b<ref(q_b,1) and q_b=q_a,1,0);
bb:=ref(tj,1)=0 and tj>=1 ;
drawicon(bb,l*0.998,38);
ss:=ref(q_a<ref(q_a,1) and q_b=q_a,1)=0 and tj<1;
drawicon(ss,h*1.002,39);
{私募公式}
aae:= winner(close+close*15/100)*100;
bbe:= winner(close+close*0/100)*100;
cce:= aae-bbe;
dde:= (winner(close-close*0.1/100)-winner(close-close*15/100))*100;
eee:= cce<3 and dde<0.5 and open>low;
ae1:= dynainfo(6);
ae2:= if(low>ae1,0,if(high<ae1,1,(ae1-low+0.01)/(high-low+0.01)));
ae3:= vol/winner(low);
ae4:= ref(hhv(close,120),1);
ae5:= ref(llv(close,120),1);
ae6:= 100*(close-ae5)/(ae4-ae5);
ae7:= ae2>0 or ae2=1;
ae8:= ae7 and ae3/ref(ae3,3)>=3 and ae6<80;
ae9:= ref(ae8,1) or ref(ae8,2) or ref(ae8,3) or ref(ae8,4);
ae10:= ae8 and ae9;
ae11:= if(filter(ae8,3),5,0);
ae12:= filter(if(filter(ae10,3) or eee,10,0),3);
drawicon(ae12,l-0.0018,5);
a2:=ref(ma(c,20),1);j1:=(ma(c,20)-a2)/a2*100;mj1:=ma(j1,3);
乖离2:=(ma(c,20)-ma(c,30))/ma(c,30)*100;
vac1:=if(between(乖离2,-2,5),2,0);
xl1:=((llv(low,3) = llv(low,60)) and ((close / ref(close,1)) >= 1.04));
xl2:=(((close - ema(close,21)) / ema(close,21)) * 100);
xl3:=cross(xl2,(0 - 20));
drawtext(filter(((xl1 > 0) and low),5),(low - 0.0014),'●买点');
drawtext((xl3 > 0),(low - 0.0011),'●绝对底部')coloryellow;
x6:=ref(close,1);
x7:=((sma(max((close - x6),0),7,1) / sma(abs((close - x6)),7,1)) * 100);
x8:=cross(79,x7);
x9:=filter(x8,4);
drawtext(x9,(high * 0.9989),'-●出货'),colorgreen;
{金牛启动}
年:=ma(close,240);
涨幅%:=(c-ref(c,1))/ref(c,1)*100;{好公式网-最好的股票公式网站 www.goodgongshi.com}
rsvv:=(close-llv(low,10))/(hhv(high,10)-llv(low,10))*100;
varb2:=(rsvv/2+22)*1;
量:=ema(vol,13);
资金:=ema(amount,13);
过滤:=((资金 /量) / 100);
提纯:=(((close -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) and zxnh);
drawtext(买>0,l-0.0013,'-牛'),colorffffff;
drawtext(买>0,l-0.0018,'▲'),colorff00ff;
aa05:=ma(c,5),color0099cc;
五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:ema((速度5-ref(速度5,1)),3),nodraw;
aa10:=ma(c,10);
aa20:=ma(c,20);bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
aa30:=ma(c,30);
三拾日乖离率:=(c-aa30)/aa30*100;
var11:=(aa20-aa30)>ref((aa20-aa30),1)
and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var22:=(aa30-aa20)<ref((aa30-aa20),1) and aa20<ref(aa20,1) and
aa30<ref(aa30,1);
bb30:=atan((aa30/ref(aa30,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
aa05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and
aa10>ref(aa10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>aa30 or o>aa30) and
aa05<ref(aa05,1) and 三拾日乖离率<ref(三拾日乖离率,1) and
aa10<ref(aa10,1),10);
drawicon(加仓 ,low*0.997,23);
drawicon(清仓 ,high*1.005,8);
drawicon(强势狙击 ,low*0.997,7);
aq1:=ref(v,1);aq2:=dvol;aq3:=aq2/aq1;
lnx:=aq3-ref(aq3,1);
e1:=ref(c,1);e2:=dclose;e3:=(e2-e1)/e1*100;
qmx:=e3-ref(e3,1);
xg:=cross(lnx,500) and cross(qmx,10);
drawtext(xg=1,l*0.995,''),colorffcc88;
drawicon(xg=1,l*0.993,25);
{有庄控盘}
vaw1:=ema(ema(close,13),13);
控盘:=(vaw1-ref(vaw1,1))/ref(vaw1,1)*1000;
无庄控盘:=控盘<0;
有庄控盘:=控盘>ref(控盘,1) and 控盘>0;
{分时价格原码}
jj:=dynainfo(11);
{波段买卖原码}
p:=21;s:=8;m1:=3;
财:=(ema(close,s)-ema(close,p))*50;
神:=ema(财,m1);
{股价与均线偏离买卖条件}
btj1:=(c-jj)/jj<-0.03;
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);
stj81:=filter(stj1 and stj01 and stj31,13);
stj82:=filter(stj02 and stj32 ,13);
stj83:=stj81 and stj82;
drawtext(stj83,h*1.002,'↓庄出'),colorgreen;
drawicon(stj83,h+0.003,24);
庄:= btj11 and btj2 and btj3;
有庄:=filter(庄,30);
drawtext(有庄,l-0.0011,'↖庄进'),coloryellow;
drawicon(有庄,l*0.999,38);
{牛熊轨道上抓启爆点 适合抓爆涨股}
ahc1:=close*vol;
ahc22:=ema((expma(ahc1,27)/expma(vol,27)+expma(ahc1,54)/expma(vol,54)+expma(ahc1,108)/expma(vol,108)+expma(ahc1,316)/expma(vol,316))/4,34);
上轨:=1.06*ahc22;
下轨:=ahc22*0.94;
zt:=ref(c,1)*1.1-c<0.01 and h=c;
启爆:=cross(c,上轨) or cross(c,下轨) and zt;
drawtext(启爆,l,'↖启爆'),colorcyan;
{止损&突破}
止损:=ref(hhv(h,13),1)*0.95,colorgray,dotline;
stickline(currbarscount=1,止损,止损,40,-1),colorgreen;
drawtext(currbarscount=1,止损*0.995,'破止损'),colorffff00;
maa10:=ma(close,10),coloryellow,linethick0;
maa54:=ma(close,54),colorffcccc,linethick0;
pl1:=(((close - maa54) / maa54) < 0.1);pl2:=(((close - maa10) / maa10) < 0.3);
偏离率:=(((pl1 = 1) and (pl2 = 1)) * 0.2);
突破加仓:=((((偏离率 = 0) and (ref(偏离率,1) = 0.2)) and (ref((count((偏离率 = 0.2),10) = 10),1) = 1)) * 1);
drawtext(突破加仓,l,'----------突破加仓'),colorffffff;
上一指标公式:底部区一线擒牛风行操作线下载
下一指标公式:极阴次阳副图与选股基础知识科普指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文SL主图下载仅供学习研究。