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

三角主图主图公式下载 大智慧主图贴图

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

指标公式详细说明

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

三角主图主图

三角主图

{背景颜色}
drawgbk(c,'hua1'),color2b5516;
{引入}
{lzv2:"立桩主图.v2",linethick0;
stickline(lzv2>=1,o,c,3.5,0),coloryellow,layer0;
drawtext(lzv2>=1,h*1.025,'立桩'),linethick1,coloryellow;}
{显示买卖}
buyprice:="showinv@buyprice"(1);
buydate:="showinv@date"(1);
drawtext(buyprice> 0,buyprice,'买入'+numtostr(buyprice)),colorffffff,linethick2;
saleprice:="showinv@saleprice"(1);
drawtext(saleprice> 0,saleprice,'卖出'+numtostr(saleprice)),colorgreen,linethick2;
drawtextabs(15,10,'【买入价:'),colorffffff,linethick3;
if buyprice> 0 then begin
drawtextabs(15,10,' '+numtostr(buyprice)+'元 '),colorffffff,linethick4;
drawtextabs(15,10,' 买入日期:'+numtostr(month)+'月'+numtostr(day)+'日】'), colorwhite,linethick3;
end
五日涨跌:(c-ref(close,5))/c*100,colorff00ff,linethick0;
十日涨跌:(c-ref(close,10))/c*100,linethick0;
wwa:=barslast(dispstatus=1);
低涨:(c/llv(low,wwa)-1)*100,color0000ff,linethick0,precis2;
天:barslast(l=llv(low,wwa)),color00ffff,linethick0,precis0;
{以下设置个股信息}
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(wwa+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;

{立桩量成立三天法则}
aaa:=(3*c+h+l+o)/6;
var41:=(8*aaa+7*ref(aaa,1)+6*ref(aaa,2)+5*ref(aaa,3)+4*ref(aaa,4)+3*ref(aaa,5)+2*ref(aaa,6)+ref(aaa,8))/36;
tj1:=vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var41;
立桩量:=filter(tj1,5);
tj2:=if(barslast(立桩量)=1 and close>ref(high,1),1,if(barslast(立桩量)=2 and close>ref(high,2),1,if(barslast(立桩量)=3 and close>ref(high,3),1,0)));
突破:=tj2=1;
tj3:=if(barslast(立桩量)=1 and close>ref(low,1),1,if(barslast(立桩量)=2 and close>ref(low,2),1,if(barslast(立桩量)=3 and close>ref(low,3),1,0)));
三天法则:=tj3=1;
成立:=三天法则 and 突破;
条件成立:filter(成立,3),linethick0;
stickline(条件成立,o,c,3.5,0),coloryellow,layer0;
drawtext(条件成立,h*1.025,'立桩量'),coloryellow;

{45度异动}
xx1:=(c+l+h)/3;
bbb13:=atan(ema(xx1,13)-ref(ema(xx1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bbb13>1 and ema(xx1,13)>ref(ema(xx1,8),1),10),
ema8,'∠45上升'),colorffffff;

{上漲三角形:紅色三角形畫完出局; 下跌三角形:白色三角形畫完介入}
a1:=ref(high,3)=hhv(high,2*3+1); b1:=filter(a1,3); c1:=backset(b1,3+1); d1:=filter(c1,3);{高点}
a2:=ref(low,3)=llv(low,2*3+1); b2:=filter(a2,3); c2:=backset(b2,3+1); d2:=filter(c2,3);{低点}
e1:=(ref(llv(low,2*3),1)+ref(hhv(high,2*3),1))/2; e2:=(high+low)/2;{高低点出现在同一k线上时可作取舍}
h1:=(d1 and not(d2 and e1>=e2)) or barstatus=2 or barscount(close)=1;
h2:=d1 and not(d2 and e1>=e2);
l1:=d2 and not(d1 and e1=e2);
x1:=ref(barslast(h1),1)+1; f1:=backset(h1 and count(l1,x1)>0,llvbars(if(l1,low,10000),x1));
g1:=f1>ref(f1,1); i1:=backset(g1,2); ld:=i1>ref(i1,1);{过滤后低点}
l2:=ld or barstatus=2 or barscount(close)=1;
x2:=ref(barslast(l2),1)+1; f2:=backset(l2 and count(h2,x2)>0,hhvbars(if(h2,high,0),x2));
g2:=f2>ref(f2,1); i2:=backset(g2,2); hd:=i2>ref(i2,1);{过滤后高点}
j1:=backset(barstatus=2,min(barslast(hd),barslast(ld))+1); j2:=j1>ref(j1,1);
a3:=h; b3:=ref(h,ref(barslast(hd),1)+1)>ref(h,ref(barslast(hd),1)+2+ref(barslast(hd),ref(barslast(hd),1)+2));
d3:=a3 and b3 and hd; e3:=backset(d3,ref(barslast(hd),1)+2); hh:=e3>ref(e3,1);{找出全部长期高点}
a4:=l>ref(l,ref(barslast(ld),1)+1);
b4:=ref(l,ref(barslast(ld),1)+1); d4:=a4 and b4 and ld; e4:=backset(d4,ref(barslast(ld),1)+2); ll:=e4>ref(e4,1);{找出全部长期低点}
h3:=hh or barstatus=2 or barscount(c)=1; {后面进行过滤,方法同前。只是不用考虑高低点出现在同一k线}
x3:=ref(barslast(h3),1)+1; f3:=backset(h3 and count(ll,x3)>0,llvbars(if(ll,l,pow(10,20)),x3));
g3:=f3>ref(f3,1); i3:=backset(g3,2); lz:=i3>ref(i3,1); {长期低点,也可供引用}
l4:=lz or barstatus=2 or barscount(c)=1;
x4:=ref(barslast(l4),1)+1; f4:=backset(l4 and count(hh,x4)>0,hhvbars(if(hh,h,-pow(10,20)),x4));
g4:=f4>ref(f4,1); i4:=backset(g4,2); hz:=i4>ref(i4,1);{长期高点,也可供引用}
k1:=backset(barstatus=2,min(barslast(hz),barslast(lz))+1); k2:=k1>ref(k1,1);
uu:=backset(barstatus=2,barslast(ld)+1);vv:=uu>ref(uu,1);
ww:=backset(vv,ref(barslast(ld),1)+2);
xx:=ww>ref(ww,1);
uu2:=backset(barstatus=2,barslast(hd)+1);vv2:=uu2>ref(uu2,1);
ww2:=backset(vv2,ref(barslast(hd),1)+2);
xx2:=ww2>ref(ww2,1);
前一低:ref(l,barslast(vv)),color99ff66,pointdot,linethick0;
前二低:ref(l,barslast(xx)),colorff66ff,pointdot,linethick0;
前一高:ref(h,barslast(vv2)),color99ff66,pointdot,linethick0;
前二高:ref(h,barslast(xx2)),colorff66ff,pointdot,linethick0;
短高:=ref(h,barslast(vv2));短低:=ref(l,barslast(vv));
短比: (c-短低)/(短高-短低),linethick0;
{以下语句为三角形部分}
底:ref(l,barslast(vv)),colorred,linethick2;
頂:ref(h,barslast(vv2)),colorgreen,linethick2;
{下跌三角形:白色三角形畫完介入}
stickline(vv,頂,底,0,0),colorffffff,linethick3;{}
drawline(vv2,h,vv,l,0),colorffffff,linethick3;{斜}
drawline(vv2,h,vv,頂,0),colorffffff,linethick3;{?}
{上漲三角形:紅色三角形畫完出局}
stickline(vv2 ,頂,底,0,0),colorred,linethick3;{}
drawline(vv,l,vv2,h,0),colorred,linethick3;{斜}
drawline(vv,l,vv2,底,0),colorred,linethick3;{?};
{上下轨}
平衡:ema(c,20),circledot,colorwhite,linethick0;
上轨:平衡 + 2*std(c,20),linethick1,colorff00ff;
下轨:平衡 - 2*std(c,20),linethick1,colorblue;
{stickline((close >平衡),平衡,平衡,1,0),linethick2,color0000ff;
stickline((平衡 > close),平衡,平衡,1,0),linethick2,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;

{神奇均线主图}
var1:=(2*close+high+low+open)/5;
aa1: (ema(var1,3)+ema(var1,6)+ema(var1,12)+ema(var1,24))/4;
partline(aa1,aa1>ref(aa1,1),rgb(255,0,0),aa1<ref(aa1,1),rgb(0,250,0)),linethick2;

{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;


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

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

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

猜你喜欢

学了又学