ts加bs加未封缺口-
a:="stsfunc@calstsl";
r1:="stsfunc@sts_risk1";
r2:="stsfunc@sts_risk2";
s1:="stsfunc@sts_sts1";
s2:="stsfunc@sts_sts2";
tbs:="stsfunc@sts_stsbs";
dn:="stsfunc@sts_stsdn";
up:="stsfunc@sts_stsup";
压力位:up,linethick0,color0000ff,precis2;
支撑位:dn,linethick0,color00ff00,precis2;
警示位:if(r1<>0,abs(r1),if(r2<>0,abs(r2),0)),linethick0,colorff00ff,precis2;
ma5:ma(close,5),colorffffff,precis2;
ma10:ma(close,10),color00ffff,precis2;
drawline(up>0,up,up<>ref(up,1) or c=dynainfo(7),ref(abs(up),1),0),dotline,color0000ff,linethick1;
drawline(dn>0,dn,dn<>ref(dn,1) or c=dynainfo(7),ref(abs(dn),1),0),dotline,color00ff00,linethick1;
drawline(up<0,-up,up<>ref(up,1) or c=dynainfo(7),ref(abs(up),1),0),color0000ff;
drawline(dn<0,-dn,dn<>ref(dn,1) or c=dynainfo(7),ref(abs(dn),1),0),color00ff00;
drawline(r1>0,r1,r1<>ref(r1,1) or c=dynainfo(7),ref(abs(r1),1),0),dotline,coloree88ff;
drawline(r2>0,r2,r2<>ref(r2,1) or c=dynainfo(7),ref(abs(r2),1),0),dotline,coloree88ff;
drawline(r1<0,-r1,r1<>ref(r1,1) or c=dynainfo(7),ref(abs(r1),1),0),coloree88ff;
drawline(r2<0,-r2,r2<>ref(r2,1) or c=dynainfo(7),ref(abs(r2),1),0),coloree88ff;
drawbmp(tbs=1,l*0.96,'stsbuy1.bmp'),align1,valign0;
drawbmp(tbs=-1,h*1.07,'stssell1.bmp'),align1,valign0;
drawbmp(s2=14,l*0.94,'stsbuy.bmp'),align1,valign0;
drawbmp(s2=-14,h*1.09,'stssell.bmp'),align1,valign0;
drawtext(s1>0,l,str(s1)),color00ff00,linethick1,align1,valign0;
drawtext(s1<0,h*1.03,str(-s1)),color00ff00,linethick1,align1,valign0;
drawtext(s2>0 and s2<13,l*0.97,str(s2)),color0000ff,linethick1,align1,valign0;
drawtext(s2<0 and s2>-13,h*1.06,str(-s2)),color0000ff,linethick1,align1,valign0;
drawtext(s2=13,l*0.97,'+'),color0000ff,linethick1,align1,valign0;
drawtext(s2=14,l*0.97,'13'),color0000ff,linethick1,align1,valign0;
drawtext(s2=-13,h*1.06,'+'),color0000ff,linethick1,align1,valign0;
drawtext(s2=-14,h*1.06,'13'),color0000ff,linethick1,align1,valign0;
b:="ltfunc6@forlt2";
s11:="ltfunc6@lt_s1";
hs:="ltfunc6@lt_hs";
ls:="ltfunc6@lt_ls";
p1:="ltfunc6@lt_p1";
upp:="ltfunc6@lt_upp";
udd:="ltfunc6@lt_udd";
d1:=ema(abs("ddx.ddx"),60);
d2:=max("ddx.ddx"/d1+7.5,7.5);
d3:=min("ddx.ddx"/d1,10);
fb:=if(s11=0,hs,ls);
tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现s点\n','若明日收盘价> '+numtostrn(upp,2)+',出现b点\n');
tr1:=ifs(s11=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价> '+numtostrn(hs,2)+'短线买入机会');
tr2:=ifs(p1=1,ifs(cross(p1,0),'b点','持股'),ifs(cross(1,p1),'s点','持币'));
tr3:=ifs(s11=0,'向下,','向上,');
tr4:='3.能量级别:'+numtostrn(d3,1)+'级';
bs:='<*t=0092f7*><*c=ffffff*><*p=95*>'+datestr(date)+' 买卖点决策系统提示\n'+'<*t=e7ffff*><*c=000000*><*p=95*>'+'1.bs 点:'+tr2+','+tr0+'<*t=e7ffff*><*c=000000*><*p=95*>'+'2. 短线:'+tr3+tr1+'\n'+'<*t=e7ffff*><*c=000000*><*p=95*> '+tr4;
drawflagtext(1,fb,bs);
stickline(p1=1 and c>=o and o<>0,c,o,d2,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,c,o,7.5,0),colorblack;
stickline(p1=1 and c>=o and o<>0,c,c,7.5,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,o,o,7.5,0),color5454ff;
stickline(p1=1 and c>=o and o<>0,o,c,7.5,1),color5454ff;
stickline(p1=1 and c<=o,o,c,7.5,1),color5454ff;
stickline(p1=1 and c<=o,l,c,0.5,1),color5454ff;
stickline(p1=1 and c<=o,h,o,0.5,1),color5454ff;
stickline((p1<>1 or barscount(c)<3) and c>=o,c,o,7.5,1),colorffff54;
stickline((p1<>1 or barscount(c)<3) and c>=o,c,h,0.5,1),colorffff54;
stickline((p1<>1 or barscount(c)<3) and c>=o,l,o,0.5,1),colorffff54;
drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;
drawbmp(s11=1 and ref(s11,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
drawbmp(s11=0 and ref(s11,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;
zg8:=finance2(35);{总股}
lta8:=finance2(36);{流通a}
sy8:=finance2(3);{收益}
sl8:=dynainfo(39);{市盈率}
wf8:=finance2(8);{未分}
gj8:=finance2(7);{公积};
jz8:=finance2(4);{净资}
cw8:='总股:'+zg8+' 流通a:'+lta8+' 收益:'+sy8+' 市盈率:'+sl8+' 未分:'+wf8+' 公积:'+gj8+' 净资:'+jz8;
drawtextrel(20,10,bkname),coloryellow;
drawtextrel(20,60,cw8),coloraaeeee;
i1:=0;
flag1:=0;
while i1<barslast(dispstatus=1)-barslast(dispstatus=2)
do
if ref(h,i1)<ref(l,i1+1) and ref(l,i1+1)>hhv(h,i1+1)
then begin flag1:=1;
s1:=i1;
i1:=barslast(dispstatus=1);
end
elsei1:=i1+1;
stickline(flag1,ref(l,s1+1),hhv(h,s1+1),(s1+1)*20,0),colorc0c0c0,align1,layer7;
drawtext(flag1,ref(l,s1+1),numtostrn(ref(h,s1+1),2)+'-'+numtostrn(hhv(h,s1+1),2)),align2,colorgreen;
i:=0;
flag:=0;
while i<barslast(dispstatus=1)-barslast(dispstatus=2)
do
if ref(l,i)>ref(h,i+1) and ref(h,i+1)<llv(low,i+1)
then begin flag:=1;
s:=i;
i:=barslast(dispstatus=1);
end
elsei:=i+1;
stickline(flag,ref(h,s+1),llv(low,s+1),20*(s+1),500),colorc0c0c0,align1,layer7;
drawtext(flag,ref(h,s+1),numtostrn(ref(h,s+1),2)+'-'+numtostrn(llv(low,s+1),2)),align2,colorgreen;
上一指标公式:均价PB均量PB-可以筛选价量走强的个股公式下载 大智慧筛选均价
下一指标公式:操盘-基金私募游资惯用的L2公式下载 大智慧惯用游资
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文ts加bs加未封缺口-公式下载 大智慧ts源码仅供学习研究。