tbs决策-主图
纯属娱乐 不构成投资依据
源码
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;
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;
drawgbk(v>=0,strip(rgb(18,19,51),rgb(1,155,155),0));n:=2;
b1:=ma(close,1);
b2:=sma(sma(sma(b1,2,1),2,1),2,1) ;
sma2:=ma(b2,3) ;
fillrgn(b2,sma2,b2>sma2),colorred;
fillrgn(b2,sma2,b2<sma2),colorgreen;
a:="ltfunc4@forlt2";
s1:="ltfunc4@lt_s1";
hs:="ltfunc4@lt_hs";
ls:="ltfunc4@lt_ls";
p1:="ltfunc4@lt_p1";
upp:="ltfunc4@lt_upp";
udd:="ltfunc4@lt_udd";
{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};
d1:=ema(abs("ddx.ddx"),60);
d2:=max("ddx.ddx"/d1+7.5,7.5);
d3:=min("ddx.ddx"/d1,10);
fb:=if(s1=0,hs,ls);
tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现s点\n','若明日收盘价>'+numtostrn(upp,2)+',出现b点\n');
tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会');
tr2:=ifs(p1=1,ifs(cross(p1,0),'b点','持股'),ifs(cross(1,p1),'s点','持币'));
tr3:=ifs(s1=0,'向下,','向上,');
tr4:='3.能量级别:'+numtostrn(d3,1)+'级';
bs:=''+datestr(date)+'买卖点决策系统提示\n'+'1.bs点:'+tr2+','+tr0+'2.短线:'+tr3+tr1+'\n'+tr4;
drawflagtext(1,fb,bs);
stickline(close>open or close=open and close>ref(close,1),low,high,0.1,0),colorred;
stickline(close>open or close=open and close>ref(close,1),open,close,7,0),colorred;
stickline(close<open or close=open and close<=ref(close,1),low,high,0.1,0),colorcyan;
stickline(close<open or close=open and close<=ref(close,1),open,close,7,0),colorcyan;
stickline(open>=close ,close ,open,0,0 ),color00ff00;
stickline(open>=close ,close ,open,8,0 ),color008800;
stickline(open>=close ,close ,open,7,0 ),color009900;
stickline(open>=close ,close ,open,6,0 ),color00aa00;
stickline(open>=close ,close ,open,5,0 ),color00bb00;
stickline(open>=close ,close ,open,4,0 ),color00cc00;
stickline(open>=close ,close ,open,3,0 ),color00dd00;
stickline(open>=close ,close ,open,2,0 ),color00ee00;
stickline(open>=close ,close ,open,1,0 ),color00ff00;
stickline(close>open,close,open,0,0) ,colorffbbff;
stickline(close>open,close,open,6,0) ,colorff44ff;
stickline(close>open,close,open,5,0) ,colorff66ff;
stickline(close>open,close,open,4,0) ,colorff88ff;
stickline(close>open,close,open,3,0) ,colorff99ff;
stickline(close>open,close,open,2,0) ,colorffaaff;
stickline(close>open,close,open,1,0) ,colorffbbff;
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(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;
上一指标公式:L2:主力买卖比重横柱图公式下载 大智慧公式大智慧
下一指标公式:送大家一个领涨领跌版块的-公式下载 大智慧指标源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文TBs决策-主图公式下载 大智慧TBs决策仅供学习研究。