好公式网用指标公式为投资注入科技力量!
您的位置:好公式网大智慧公式TBS2主图公式下载 大智慧TBS2

TBS2主图公式下载 大智慧TBS2

  • 指标公式类型:大智慧公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-12-04 15:45:03
  • 指标公式标签:TBS2
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:TBS2主图公式下载 大智慧TBS2

tbs2主图

{背景}
drawgbk(c,'fb1'),color2b5516;
drawrectrel(130,10,430,90,rgb(0,0,255)),layer0;
{显示买卖青铜湖主图显示投资记录}
buyprice:="showinv@buyprice"(1);
buydate:="showinv@date"(1);
{drawtext(buyprice> 0,buyprice,'买入'+numtostr(buyprice)),colorffffff,linethick2;}
drawtextabs(140,5,'【买入价:'),colorffffff,linethick2,layer0;
if buyprice> 0 then begin
drawtextabs(140,5,' '+numtostr(buyprice)+'元 '),colorffffff,linethick2,layer0;
drawtextabs(140,5,' 买入日期:'+numtostr(month)+'月'+numtostr(day)+'日】'), colorwhite,linethick2,layer0;
end
{主图程式}
平衡:ema(c,20),circledot,colorwhite;
上轨:平衡 + 2*std(c,20),linethick1,colorff00ff;
下轨:平衡 - 2*std(c,20),linethick1,color00ff00;
stickline((close >平衡),平衡,平衡,1,0),linethick6,color0000ff;
stickline((平衡 > close),平衡,平衡,1,0),linethick6,colorff6600;
stickline(close>open,open,low,0.5,0 ),color0000ff;
stickline(close>open,close,high,0.5 ,0 ),color0000ff;
stickline(open>=close,close,low,0.5 ,0 ),color00ff00;
stickline(open>=close,open,high,0.5 ,0 ),color00ff00;
stickline(open>=close ,close ,open,7,0 ),colorff7700;
stickline(open>=close ,close ,open,6,0 ),colorff9900;
stickline(open>=close ,close ,open,5,0 ),colorffbb00;
stickline(open>=close ,close ,open,4,0 ),colorffcc00;
stickline(open>=close ,close ,open,3,0 ),colorffdd00;
stickline(open>=close ,close ,open,2,0 ),colorffee00;
stickline(open>=close ,close ,open,1,0 ),colorffff00;
stickline(close>open,close,open,7,0) ,color000055;
stickline(close>open,close,open,6,0) ,color000066;
stickline(close>open,close,open,5,0) ,color000077;
stickline(close>open,close,open,4,0) ,color000099;
stickline(close>open,close,open,3,0) ,color0000bb;
stickline(close>open,close,open,2,0) ,color0000dd;
stickline(close>open,close,open,1,0) ,color0000ff;
var9q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
stickline(var9q,c,(o+c)/2,7,0),color000055;
stickline(var9q,c,(o+c)/2,6,0),color000066;
stickline(var9q,c,(o+c)/2,5,0),color000077;
stickline(var9q,c,(o+c)/2,4,0),color000099;
stickline(var9q,c,(o+c)/2,3,0),color0000bb;
stickline(var9q,c,(o+c)/2,2,0),color0000dd;
stickline(var9q,c,(o+c)/2,1,0),color0000ff;
varaq:=c=hhv(c,4) and ref(c,1)=llv(c,4);
stickline(varaq,c,(o+c)/2,7,0),colorff11ff;
stickline(varaq,c,(o+c)/2,6,0),colorff33ff;
stickline(varaq,c,(o+c)/2,5,0),colorff55ff;
stickline(varaq,c,(o+c)/2,4,0),colorff77ff;
stickline(varaq,c,(o+c)/2,3,0),colorff99ff;
stickline(varaq,c,(o+c)/2,2,0),colorffbbff;
stickline(varaq,c,(o+c)/2,1,0),colorffddff;
varbq:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
stickline(varbq,c,(o+c)/2,7,0),color333333;
stickline(varbq,c,(o+c)/2,6,0),color555555;
stickline(varbq,c,(o+c)/2,5,0),color777777;
stickline(varbq,c,(o+c)/2,4,0),color999999;
stickline(varbq,c,(o+c)/2,3,0),colorbbbbbb;
stickline(varbq,c,(o+c)/2,2,0),colordddddd;
stickline(varbq,c,(o+c)/2,1,0),colorffffff;
varcq:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
stickline(varcq,o,(o+c)/2,7,0),color003300;
stickline(varcq,o,(o+c)/2,6,0),color005500;
stickline(varcq,o,(o+c)/2,5,0),color007700;
stickline(varcq,o,(o+c)/2,4,0),color009900;
stickline(varcq,o,(o+c)/2,3,0),color00bb00;
stickline(varcq,o,(o+c)/2,2,0),color00dd00;
stickline(varcq,o,(o+c)/2,1,0),color00ff00;
vardq:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
stickline(vardq,o,(o+c)/2,7,0),colorff1100;
stickline(vardq,o,(o+c)/2,6,0),colorff3300;
stickline(vardq,o,(o+c)/2,5,0),colorff5500;
stickline(vardq,o,(o+c)/2,4,0),colorff7700;
stickline(vardq,o,(o+c)/2,3,0),colorff9900;
stickline(vardq,o,(o+c)/2,2,0),colorffbb00;
stickline(vardq,o,(o+c)/2,1,0),colorffdd00;
{bs买卖点}
a:="ltfunc6@forlt2";
s1:="ltfunc6@lt_s1";
p1:="ltfunc6@lt_p1";
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;
{macd笑脸公式}
diff :=ema(close,12) - ema(close,26);
dea :=ema(diff,9);
macd :=2*(diff-dea);
drawicon(ref(macd,1)=llv(macd,3),l,7),align1;
{绝卖公式}
v1:=ema(ema(ema(close,8),13),55);
v2:=(ref(high,1)+ref(low,1))/2;
v3:=ma(close,20)+2*std(close,20);
drawicon(cross(v2,v3),high*1.035,8);
drawtext(cross(v2,v3),high*1.035,' 卖出'),coloryellow;
v4:=ref(close,1);
v5:=sma(max(close-v4,0),7,1)/sma(abs(close-v4),7,1)*100;
v6:=cross(79,v5);
v7:=filter(v6,4);
drawtext(v7,high*1.015,'卖'),colorffffff;
{绝密买点}
a1:=ref(c,5)<ref(o,5) and ref(c,4)<ref(o,4) and ref(c,3)<ref(o,3);
drawicon((a1 and all(c>o,2)) or (a1 and c>o and ref(c,1)<ref(o,1) and ref(c,2)>ref(o,2)),l*0.965,12);
drawtext((a1 and all(c>o,2)) or (a1 and c>o and ref(c,1)<ref(o,1) and ref(c,2)>ref(o,2)),l*0.965,' 买入'),linethick1,colorffffff;
{45度异动}
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),ema8,'∠45上升'),coloryellow,linethick2;
{背景颜色}
drawrectrel(0,10,130,1000,rgb(0,0,255)),layer0;
{今日数据}
卖出:cross(v2,v3),linethick0;
绝卖:v7,linethick0;
买入:(a1 and all(c>o,2)) or (a1 and c>o and ref(c,1)<ref(o,1) and ref(c,2)>ref(o,2)),linethick0;
上升:filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),linethick0;
笑脸:ref(macd,1)=llv(macd,3),linethick0;
b点:p1=1 and ref(p1,1)=0,linethick0;
s点:p1=0 and ref(p1,1)=1,linethick0;
ww:=barslast(dispstatus=1);
drawtextabs(10,10,'★ ==0 表示无信号==' ),coloryellow,linethick1,layer0;
drawtextabs(10,25,' 今 ■ 卖出: '+numtostrn(卖出,0)),colorgreen,layer0;
drawtextabs(10,40,' 日 ■ 绝卖: '+numtostrn(绝卖,0)),colorgreen,layer0;
drawtextabs(10,55,' 及 ■ s 点: '+numtostrn(s点,0)),colorgreen,layer0;
drawtextabs(10,70,' 时 ■ 笑脸: '+numtostrn(笑脸,0)),colorffffff,layer0;
drawtextabs(10,85,' 行 ■ 买入: '+numtostrn(买入,0)),colorffffff,layer0;
drawtextabs(10,100,' 情 ■ b 点: '+numtostrn(b点,0)),colorffffff,layer0;
drawtextabs(10,115,'★ ==1 表示有信号==' ),coloryellow,layer0;
drawtextabs(10,135,'■上升度数: '+numtostrn(上升,0)),coloryellow,linethick1,layer0;
drawtextabs(10,150,'【1表示超过45度】'),colorred,linethick1,layer0;
drawtextabs(5,170,'■30天最高价:'+hhv(high,30)+'元'),coloryellow,linethick1,layer0;
drawtextabs(5,185,'■ 涨幅%:'+(c-hhv(high,30))/c*100+'%'),colorred,linethick1,layer0;
drawtextabs(5,200,'■30天最低价:'+llv(low,30)+'元'),colorffffff,linethick1,layer0;
drawtextabs(5,215,'■ 涨幅%:'+(c-llv(low,30))/c*100+'%'),colorred,linethick1,layer0;
drawtextabs(5,230,'■目前可见k线:'+numtostrn(ww+1,0)+'天'),colorgreen,linethick1,layer0;
drawtextabs(150,35,'■所属板块:'+bkname),colorffffff,layer0;
dd:=finance2(35)/10000;ss:=finance2(37)/10000;
drawtextabs(150,50,'■总股本:'+numtostrn(dd,2)+'亿' +' 流通a股:'+numtostrn(ss,2)+'亿'),color00ffff,layer0;

{以下设置个股信息}
{五日涨跌:(c-ref(close,5))/c*100,colorff00ff,linethick0;
十日涨跌:(c-ref(close,10))/c*100,linethick0;
ww:=barslast(dispstatus=1);
低涨:(c/llv(low,ww)-1)*100,color0000ff,linethick0,precis2;
天:barslast(l=llv(low,ww)),color00ffff,linethick0,precis0;
drawtextabs(15,35,'■昨买今卖提示 k线 笑脸 b点买入 ∠45现可留 '),colorred;
drawtextabs(15,35,' 粉变盘 s点卖 蓝抛灰出 '),colorgreen;
drawtextabs(15,35,' 买入卖出出现要留意'),colorffffff;
drawtextabs(15,50,'■所属板块:'+bkname),colorffffff;
dd:=finance2(35)/10000;ss:=finance2(37)/10000;
drawtextabs(15,65,'■总股本:'+numtostrn(dd,2)+'亿' +' 流通a股:'+numtostrn(ss,2)+'亿'),color00ffff;
drawtextabs(15,80,'■五日涨跌: '+numtostrn(ref(五日涨跌,0),2)+'% 十日涨跌: '+numtostrn(ref(十日涨跌,0),2)+'% 低点至今上涨:'+numtostrn(低涨,2)+'% '+numtostrn(天,0)+'天'),colord3a9ff;
drawtextabs(15,95,'■目前可见k线:'+numtostrn(ww+1,0)+'天'),colorffffff;
drawtextabs(15,110,'■建议查阅k线:短线30天,中长线120天!'),colorffffff;
drawtextabs(15,125,'■30天最高价:'+hhv(high,30)+'元'),colorffffff;
drawtextabs(15,140,'■30天最低价:'+llv(low,30)+'元'),colorffffff;
drawtextabs(15,155,'■来自一品茶缘老师的设计!'),colorgreen;};


  >>>使用本站搜索工具可以找到更多TBS2主图公式下载 大智慧TBS2

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文TBS2主图公式下载 大智慧TBS2仅供学习研究。

猜你喜欢

学了又学