ma5:ma(close,5);
ma10:ma(close,10);
ma20:ma(close,20);
ma30:ma(close,30);
ma60:ma(close,60);
ma120:=ma(close,120);
ma250:=ma(close,250);
中期临界点: dma(ma(close+ref(close,5)/close*0.098,90),vol),linethick2,colorred;
{涨跌家数}
涨:indexadv,nodraw,colorlimagenta ;
跌:indexdec,nodraw,colorgreen;
▼天顶:=hhv(high,35),colorgreen, linethick1.8;
▲地底:=llv(low,55),colorred,linethick1.8;
无间道:=(▼天顶+▲地底)/2,colorred,circledot,linethick;
drawicon(cross(zig(3,10) ,ref(zig(3 ,10),1)) ,low*0.98,1);
{drawtext(cross(zig(3,10) ,ref(zig(3 ,10),1)) ,low*0.96,'波段低吸');}
drawicon(cross(ref(zig(3,10),1),zig(3,10)) ,high*1.02,2);
{drawtext(cross(ref(zig(3,10),1),zig(3,10)) ,high*1.02,'波段高抛');}
{财务数据}
drawtext_fix(islastbar,0.18,0.01,1,'上市日期:'),color00ff00;
drawnumber_fix(islastbar,0.18,0.01,0,finance(42)),color00ff00;
drawtext_fix(1,0.01,0.13,0,externstr(0,1)),colorred;
drawtext_fix(1,0.26,0.01,0,externstr(0,2)),colordd00dd;
drawtext_fix(1,0.01,0.066,0,externstr(0,3)),color00dd00;
drawtext_fix(islastbar ,0.06,0.01,1,dyblock),coloryellow;
drawtext_fix(islastbar ,0.065,0.01,0,hyblock),coloryellow;
三日不破:=min(min(l,ref(l,1)),ref(l,2))>=ref(l,3);
三日量缩:=(max(max(v,ref(v,1)),ref(v,2))<ref(v,3));
三日价涨a:=c>=ref(c,1);
三日价涨b:=c<ref(c,1);
三日价涨c:=min(min(c,ref(c,1)),ref(c,2))>=ref(l,3);
tim:=if(date<1140214,1,0);
缩倍柱:=(vol*1.95<=ref(vol,1))*tim;
百日低量:=(vol=llv(vol,100))*tim;
倍量柱:=c>ref(c,1)*1.04 and (vol>=1.9*ref(vol,1))*tim;
四日前倍量柱:=(ref(vol,3)>1.9*ref(vol,4))*tim;
四日前高量柱:=(ref(vol,3)>=ref(vol,4) and ref(vol,3)<1.9*ref(vol,4) and 三日量缩)*tim;
前三引用不成立:=count(ref(四日前倍量柱,1) and (ref(三日不破,1) or ref(三日价涨c,1)),3)=0 and count(ref(四日前高量柱,1) and (ref(三日不破,1) or ref(三日价涨c,1)),3)=0;
倍量黄金柱:=四日前倍量柱 and 三日量缩 and 三日不破 and 三日价涨a and 前三引用不成立;
高量黄金柱:=四日前高量柱 and 三日量缩 and 三日不破 and 三日价涨a and 前三引用不成立;
黄金柱:=倍量黄金柱 or 高量黄金柱;
次倍量黄金柱:=not(黄金柱) and 四日前倍量柱 and 三日量缩 and 三日不破 and 三日价涨b and 前三引用不成立;
次高量黄金柱:=not(黄金柱) and 四日前高量柱 and 三日量缩 and 三日不破 and 三日价涨b and 前三引用不成立;
次黄金柱:=次倍量黄金柱 or 次高量黄金柱;
准倍量黄金柱:=not(黄金柱 or 次黄金柱) and 四日前倍量柱 and ((三日量缩 and 三日价涨c) or (count(倍量柱,3)>=1 and 三日不破)) and 前三引用不成立;
准高量黄金柱:=not(黄金柱 or 次黄金柱) and 四日前高量柱 and (三日量缩 and 三日价涨c) and 前三引用不成立;
准黄金柱:=准倍量黄金柱 or 准高量黄金柱;
倍量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱) and 四日前倍量柱 and 三日不破 and 三日价涨a and 前三引用不成立;
高量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱) and 四日前高量柱 and 三日不破 and 三日价涨a and 前三引用不成立;
将军柱:=倍量将军柱 or 高量将军柱;
次倍量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱) and 四日前倍量柱 and 三日不破 and 三日价涨b and 前三引用不成立;
次高量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱) and 四日前高量柱 and 三日不破 and 三日价涨b and 前三引用不成立;
次将军柱:=次倍量将军柱 or 次高量将军柱;
准倍量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱 or 次将军柱) and 四日前倍量柱 and 三日价涨c and 前三引用不成立;
准高量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱 or 次将军柱) and 四日前高量柱 and 三日价涨c and 前三引用不成立;
准将军柱:=准倍量将军柱 or 准高量将军柱;
backset100:=backset(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱 or 次将军柱 or 准将军柱,4);
filter100:=filter(backset100,3),nodraw;
backset101:=backset(黄金柱,4);
filter101:=filter(backset101,3);
backset102:=backset(次黄金柱,4);
filter102:=filter(backset102,3);
backset103:=backset(准黄金柱,4);
filter103:=filter(backset103,3);
backset104:=backset(将军柱,4);
filter104:=filter(backset104,3);
backset105:=backset(次将军柱,4);
filter105:=filter(backset105,3);
backset106:=backset(准将军柱,4);
filter106:=filter(backset106,3);
黄金线下影线:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<=ref(l,3);
黄金线实体下端:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<=min(ref(c,3),ref(o,3)) and min(min(l,ref(l,1)),ref(l,2))>ref(l,3),linethick0;
黄金线上影线:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>=ref(h,3);
黄金线实体上端:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>=max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<ref(h,3);
黄金线实体中间:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>min(ref(c,3),ref(o,3));
黄金线实体中间1:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>min(ref(c,3),ref(o,3)) and ref(l,2)=min(min(l,ref(l,1)),ref(l,2));
黄金线实体中间2:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>min(ref(c,3),ref(o,3)) and ref(l,1)=min(min(l,ref(l,1)),ref(l,2));
黄金线实体中间3:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>min(ref(c,3),ref(o,3)) and l=min(min(l,ref(l,1)),ref(l,2));
backset201:=backset(黄金线下影线,4);
filter201:=filter(backset201,3),nodraw;
backset202:=backset(黄金线实体下端,4);
filter202:=filter(backset202,3),nodraw;
backset203:=backset(黄金线上影线,4);
filter203:=filter(backset203,3),nodraw;
backset204:=backset(黄金线实体上端,4);
filter204:=filter(backset204,3),nodraw;
backset205:=backset(黄金线实体中间,4);
filter205:=filter(backset205,3),nodraw;
backset2051:=backset(黄金线实体中间1,4);
filter2051:=filter(backset2051,3),nodraw;
backset2052:=backset(黄金线实体中间2,4);
filter2052:=filter(backset2052,3),nodraw;
backset2053:=backset(黄金线实体中间3,4);
filter2053:=filter(backset2053,3),nodraw;
bt201:=if(barslast(filter201)=drawnull,barscount(close),barslast(filter201));
bt202:=if(barslast(filter202)=drawnull,barscount(close),barslast(filter202));
bt203:=if(barslast(filter203)=drawnull,barscount(close),barslast(filter203));
bt204:=if(barslast(filter204)=drawnull,barscount(close),barslast(filter204));
bt205:=if(barslast(filter205)=drawnull,barscount(close),barslast(filter205));
bt2051:=if(barslast(filter2051)=drawnull,barscount(close),barslast(filter2051));
bt2052:=if(barslast(filter2052)=drawnull,barscount(close),barslast(filter2052));
bt2053:=if(barslast(filter2053)=drawnull,barscount(close),barslast(filter2053));
最近黄金线:=min(min(min(min(min(min(bt201,bt202),bt203),bt204),bt2051),bt2052),bt2053);
day1:=sumbars(filter100,1),nodraw;
hjx1_1:=if(sumbars(filter201,1)=day1,if(day1=1,low,ref(low,day1-1)),0),nodraw;
hjx1_2:=if(sumbars(filter202,1)=day1,if(day1=1,min(c,o),min(ref(c,day1-1),ref(open,day1-1))),0),nodraw;
hjx1_3:=if(sumbars(filter203,1)=day1,if(day1=1,high,ref(high,day1-1)),0),nodraw;
hjx1_4:=if(sumbars(filter204,1)=day1,if(day1=1,max(c,o),max(ref(c,day1-1),ref(open,day1-1))),0),nodraw;
hjx1_51:=if(sumbars(filter2051,1)=day1,if(day1=2,low,if(day1<2,drawnull,ref(low,day1-2))),0),nodraw;
hjx1_52:=if(sumbars(filter2052,1)=day1,if(day1=3,low,if(day1<3,drawnull,ref(low,day1-3))),0),nodraw;
hjx1_53:=if(sumbars(filter2053,1)=day1,if(day1=4,low,if(day1<4,drawnull,ref(low,day1-4))),0),nodraw;
黄金线:=hjx1_1+hjx1_2+hjx1_3+hjx1_4+hjx1_51+hjx1_52+hjx1_53,coloryellow,nodraw;
立桩量:=vol=hhv(vol,40) and vol>1.9*ref(vol,1);
立桩量三日突破:=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)));
立桩量三日不破:=barslast(立桩量)=3 and ref(low,3)<=min(min(c,ref(c,1)),ref(c,2));
backset300:=backset(立桩量三日不破,4);
backset301:=backset(立桩量三日突破,4);
立桩量成立:=filter(backset300,3) and backset301 and 立桩量;
{drawtext(立桩量成立,high*1.01,'↙立桩量'),color00ff00;}
drawtext(filter101,low*0.986,'↖黄金柱'),coloryellow;
{stickline(filter101,open,close,0.5,0),coloryellow;}
{drawtext(filter102,low*0.986,'↖次黄金柱'),coloryellow;}
{drawtext(filter104,low*0.986,'↖将军柱'),coloryellow;}
{stickline(filter104,open,close,1.5,0),coloryellow;};
{涨停标注}
stickline(c/ref(c,1)>1.095,c,o,2,0),coloryellow;
{涨停天数}
varzt:=barslast(c/ref(c,1)>1.094);
drawtext(varzt=2,l*0.95,'3t'),coloryellow;
drawtext(varzt=4,h*1.06,'5t'),coloryellow;
drawtext(varzt=7,l*0.95,'8t'),coloryellow;
drawtext(varzt=12,h*1.06,'13t'),coloryellow;
drawtext(varzt=20,l*0.95,'21t'),coloryellow;
drawtext(varzt=33,h*1.06,'34t'),coloryellow;
drawtext(varzt=54,l*0.95,'55t'),coloryellow;
drawtext(varzt=88,h*1.06,'89t'),coloryellow;
drawtext(varzt=143,l*0.95,'144t'),coloryellow;
drawtext(varzt=232,h*1.06,'233t'),coloryellow;
drawtext(varzt=376,l*0.95,'377t'),coloryellow;
z:=islastbar;
drawtext_fix(ref(c,2)>ref(o,2)&&ref(c,1)>ref(o,1)&&c>o&&z,0.98,0.2,1,'①乾:阳极,防变'),colorff00ff;
drawtext_fix(ref(c,2)>ref(o,2)&&ref(c,1)>ref(o,1)&&c<=o&&z,0.98,0.2,1,'②兑:阳减,调整'),colorffff00;
drawtext_fix(ref(c,2)>ref(o,2)&&ref(c,1)<=ref(o,1)&&c>o&&z,0.98,0.2,1,'③离:阳光,关注'),color00ffff;
drawtext_fix(ref(c,2)>ref(o,2)&&ref(c,1)<=ref(o,1)&&c<=o&&z,0.98,0.2,1,'④震:继阴,空仓'),colorff0000;
drawtext_fix(ref(c,2)<=ref(o,2)&&ref(c,1)>ref(o,1)&&c>o&&z,0.98,0.2,1,'⑤巽:继阳,持股'),colorff00ff;
drawtext_fix(ref(c,2)<=ref(o,2)&&ref(c,1)>ref(o,1)&&c<=o&&z,0.98,0.2,1,'⑥坎:阴风,看跌'),colorff0000;
drawtext_fix(ref(c,2)<=ref(o,2)&&ref(c,1)<=ref(o,1)&&c>o&&z,0.98,0.2,1,'⑦艮:阴减,反弹'),color00ffff;
drawtext_fix(ref(c,2)<=ref(o,2)&&ref(c,1)<=ref(o,1)&&c<=o&&z,0.98,0.2,1,'⑧坤:阴极,待转'),colorff0000;
{暴跌买入}
tj1:=ema((c-l),20)/ema((h-l),20)*100;
tj2:=(l-abs(min(c,o)))/l<=1;
tj3:=abs((l-ma(c,5)))/l*100>10;
tj4:=tj1 and tj2 and tj3;
drawtext(tj4 and tj1>ref(tj1,1),low*0.95,'bd'),colorred;
drawicon(tj4 and tj1>ref(tj1,1),l*0.95,1);
{暴涨}
dif:=ema(dclose,12)-ema(dclose,26);
dea:=ema(dif,9);
aaa:=(dif-dea)*2*60;
起爆:=cross(aaa-ref(aaa,1),15),colorred,linethick2;
drawtext(起爆,l*0.99,'↖暴涨'),coloryellow,linethick2;
上一指标公式:T+O赚钱法宝华子操盘主图TDX附图用法指标下载 通达信法宝附图
下一指标公式:定海神针通用TDX绝对无未来副图指标下载 通达信通用原码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文涵盖多种买入卖出信号提示主图TDX指标下载 通达信卖出涵盖仅供学习研究。