rc1:=ref(c,1);
大阴线:=c<0.96*o or c<=rc1*0.96 or c>1000 and c<=rc1*0.98;
大阴t:=barslast(filter(大阴线,3));{调整显示密度}
大阴实顶: ref(o,大阴t),colorligreen,pointdot;{显示大阴k线的开盘价o};
大阴二一: ref((l+h)/2,大阴t),nodraw;
drawtext_fix(islastbar,0,0,0,hyblock);{在屏幕左上角显示所属行业板块}
drawtext_fix(islastbar,0.05,0,0,dyblock);{在屏幕左上角显示所属地域板块}
drawtext_fix(islastbar,0.1,0,0,gnblock);{在屏幕左上角显示所属概念板块};
aa:=(c-ref(c,1))/ref(c,1)*100;
zs:=(namelike('st') or namelike('*st') ornamelike('s')) and aa>=4.945;
ds:=(namelike('st') or namelike('*st') ornamelike('s')) and aa<=-4.945;
涨停价:if(zs,ref(c,1)*1.05,ref(c,1)*1.1),nodraw;
跌停价:if(ds,ref(c,1)*0.95,ref(c,1)*0.9),nodraw;
{元帅主图}
比系数:=1.3;
金线:=1;
临界点:=0;
ma5:=ma(c,5);
ma10:=ma(c,10);
ma20:=ma(c,20);
均线:=ma5>ref(ma5,1) and ma10<ref(ma10,1) and ma20<ref(ma20,1);
rv1:=ref(v,1);
rv2:=ref(v,2);
rv3:=ref(v,3);
rc2:=ref(c,2);
rc3:=ref(c,3);
rc4:=ref(c,4);
ro1:=ref(o,1);
ro2:=ref(o,2);
ro3:=ref(o,3);
ro4:=ref(o,4);
不破价顶:=c>=rc3 and rc1>=rc3 and rc2>=rc3;
不破价底:=l>ro3 and ref(l,1)>ro3 and ref(l,2)>ro3;
均价:=amount/vol/100;
rj1:=ref(均价,1);
rj2:=ref(均价,2);
阳柱:=c>=o or (c<o and 均价>rc1);
三日二阳:=count(阳柱,3)>=2;
基价柱阳:=rc3>ro3;
价渐升:=(均价>=rj1 or c>rc1) and (rj1>=rj2 or rc1>=rc2);
均价升:=(c+rc1+rc2)/3>rc3;
量渐升:=v>rv1 and rv1>rv2 ;
量渐减:=v<=rv1 and rv1<=rv2 ;
均量减:=(v+rv1+rv2)/3<=rv3 and not(量渐升);
日价量比:=c/v;
日价量比升:=日价量比>=ref(日价量比,1) and ref(日价量比,1)>=ref(日价量比,2);
均价升幅:=(c+rc1+rc2)/3/rc3;
均量升幅:=(v+rv1+rv2)/3/rv3;
价量比:=比系数*均价升幅/均量升幅>1;
基前跳空:=ro3>rc4 and rc4>ro4;
黄金柱1t:=基价柱阳 and 价渐升 and 量渐减 and 不破价顶 and 不破价底 and 基前跳空;
backset101t:=backset(黄金柱1t,5);
filter101t:=filter(backset101t,4);
黄金柱1:=基价柱阳 and 价渐升 and 量渐减 and 不破价顶 and 不破价底 ;
backset101:=backset(黄金柱1,4);
filter101:=filter(backset101,3);
黄金柱11:=黄金柱1 and ref(黄金柱1,1);
backset1011:=backset(黄金柱11,4);
filter1011:=filter(backset1011,3);
黄金柱12:=黄金柱1 and ref(黄金柱1,2);
backset1012:=backset(黄金柱12,4);
filter1012:=filter(backset1012,3);
黄金柱13:=黄金柱1 and ref(黄金柱1,3);
backset1013:=backset(黄金柱13,4);
filter1013:=filter(backset1013,3);
黄金柱2t:=基价柱阳 and 价渐升 and 均量减 and not(量渐升) and 不破价顶 and 不破价底 and 基前跳空 and not(黄金柱1) and not(黄金柱1t);
backset201t:=backset(黄金柱2t,5);
filter201t:=filter(backset201t,4);
黄金柱2:=基价柱阳 and 价渐升 and 均量减 and not(量渐升) and 不破价顶 and 不破价底 and not(黄金柱1) and not(黄金柱1t);
backset201:=backset(黄金柱2,4);
filter201:=filter(backset201,3);
黄金柱21:=黄金柱2 and ref(黄金柱2,1);
backset2011:=backset(黄金柱21,4);
filter2011:=filter(backset2011,3);
黄金柱22:=黄金柱2 and ref(黄金柱2,2);
backset2012:=backset(黄金柱22,4);
filter2012:=filter(backset2012,3);
黄金柱23:=黄金柱2 and ref(黄金柱2,3);
backset2013:=backset(黄金柱23,4);
filter2013:=filter(backset2013,3);
黄金柱3t:=基价柱阳and 均价升 and 量渐减 and 不破价顶 and 不破价底 and 基前跳空 and not(黄金柱1) and not(黄金柱2) and not(黄金柱1t)and not(黄金柱2t);
backset301t:=backset(黄金柱3t,5);
filter301t:=filter(backset301t,4);
黄金柱3:=基价柱阳and 均价升 and 量渐减 and 不破价顶 and 不破价底 and not(黄金柱1) and not(黄金柱2) and not(黄金柱1t) and not(黄金柱2t);
backset301:=backset(黄金柱3,4);
filter301:=filter(backset301,3);
黄金柱31:=黄金柱3 and ref(黄金柱3,1);
backset3011:=backset(黄金柱31,4);
filter3011:=filter(backset3011,3);
黄金柱32:=黄金柱3 and ref(黄金柱3,2);
backset3012:=backset(黄金柱32,4);
filter3012:=filter(backset3012,3);
黄金柱33:=黄金柱3 and ref(黄金柱3,3);
backset3013:=backset(黄金柱33,4);
filter3013:=filter(backset3013,3);
黄金柱4t:=基价柱阳and 均价升 and 均量减 and 不破价顶 and 不破价底 and 基前跳空 and not(黄金柱1) and not(黄金柱1t) and not(黄金柱2) and not(黄金柱2t) and not(黄金柱3) and not(黄金柱3t);
backset401t:=backset(黄金柱4t,5);
filter401t:=filter(backset401t,4);
黄金柱4:=基价柱阳and 均价升 and 均量减 and 不破价顶 and 不破价底 and not(黄金柱1) and not(黄金柱2) and not(黄金柱3) and not(黄金柱1t) and not(黄金柱2t) and not(黄金柱3t);
backset401:=backset(黄金柱4,4);
filter401:=filter(backset401,3);
黄金柱41:=黄金柱4 and ref(黄金柱4,1);
backset4011:=backset(黄金柱41,4);
filter4011:=filter(backset4011,3);
黄金柱42:=黄金柱4 and ref(黄金柱4,2);
backset4012:=backset(黄金柱42,4);
filter4012:=filter(backset4012,3);
黄金柱43:=黄金柱4 and ref(黄金柱4,3);
backset4013:=backset(黄金柱43,4);
filter4013:=filter(backset4013,3);
黄金柱5t:=基价柱阳and 均价升 and 价量比 and 不破价顶 and 不破价底 and 基前跳空 and not(黄金柱1) and not(黄金柱2) and not(黄金柱3) and not(黄金柱4) and not(黄金柱1t) and not(黄金柱2t) and not(黄金柱3t) and not(黄金柱4t);
backset501t:=backset(黄金柱5t,5);
filter501t:=filter(backset501t,4);
黄金柱5:=基价柱阳and 均价升 and 价量比 and 不破价顶 and 不破价底 and not(黄金柱1) and not(黄金柱2) and not(黄金柱3) and not(黄金柱4) and not(黄金柱1t) and not(黄金柱2t) and not(黄金柱3t) and not(黄金柱4t);
backset501:=backset(黄金柱5,4);
filter501:=filter(backset501,3);
黄金柱51:=黄金柱5 and ref(黄金柱5,1);
backset5011:=backset(黄金柱51,4);
filter5011:=filter(backset5011,3);
黄金柱52:=黄金柱5 and ref(黄金柱5,2);
backset5012:=backset(黄金柱52,4);
filter5012:=filter(backset5012,3);
黄金柱53:=黄金柱5 and ref(黄金柱5,3);
backset5013:=backset(黄金柱53,4);
filter5013:=filter(backset5013,3);
黄金柱6t:=基价柱阳and 均价升 and 日价量比升 and 不破价顶 and 不破价底 and 基前跳空 and not(黄金柱1) and not(黄金柱2) and not(黄金柱3) and not(黄金柱4) and not(黄金柱5) and not(黄金柱1t) and not(黄金柱2t) and not(黄金柱3t) and not(黄金柱4t) and not(黄金柱5t);
backset601t:=backset(黄金柱6t,5);
filter601t:=filter(backset601t,4);
黄金柱6:=基价柱阳and 均价升 and 日价量比升 and 不破价顶 and 不破价底 and not(黄金柱1) and not(黄金柱2) and not(黄金柱3) and not(黄金柱4) and not(黄金柱5) and not(黄金柱1t) and not(黄金柱2t) and not(黄金柱3t) and not(黄金柱4t) and not(黄金柱5t);
backset601:=backset(黄金柱6,4);
filter601:=filter(backset601,3);
黄金柱61:=黄金柱6 and ref(黄金柱6,1);
backset6011:=backset(黄金柱61,4);
filter6011:=filter(backset6011,3);
黄金柱62:=黄金柱6 and ref(黄金柱6,2);
backset6012:=backset(黄金柱62,4);
filter6012:=filter(backset6012,3);
黄金柱63:=黄金柱6 and ref(黄金柱6,3);
backset6013:=backset(黄金柱63,4);
filter6013:=filter(backset6013,3);
fil1:=(filter101 and not(ref(filter101,4))) or (filter1011 and not(ref(filter1011,4))) or (filter1012 and not(ref(filter1012,4))) or (filter1013 and not(ref(filter1013,4)));
fil2:=(filter201 and not(ref(filter201,4))) or (filter2011 and not(ref(filter2011,4))) or (filter2012 and not(ref(filter2012,4))) or (filter2013 and not(ref(filter2013,4)));
fil3:=(filter301 and not(ref(filter301,4))) or (filter3011 and not(ref(filter3011,4))) or (filter3012 and not(ref(filter3012,4))) or (filter3013 and not(ref(filter3013,4)));
fil4:=(filter401 and not(ref(filter401,4))) or (filter4011 and not(ref(filter4011,4))) or (filter4012 and not(ref(filter4012,4))) or (filter4013 and not(ref(filter4013,4)));
fil5:=(filter501 and not(ref(filter501,4))) or (filter5011 and not(ref(filter5011,4))) or (filter5012 and not(ref(filter5012,4))) or (filter5013 and not(ref(filter5013,4)));
fil6:=(filter601 and not(ref(filter601,4))) or (filter6011 and not(ref(filter6011,4))) or (filter6012 and not(ref(filter6012,4))) or (filter6013 and not(ref(filter6013,4)));
fil:=fil1 or fil2 or fil3 or fil4 or fil5 or fil6;
stickline(fil and not(ref(fil,4)),open,close,3,0),color0099ff;
drawtext (fil and not(ref(fil,4)),low*0.986,'↖黄金柱'),color0099ff;
k1:=sumbars(fil,1);
stickline(k1 and 金线=1,ref(c,k1-1),ref(c,k1-1),10,0),color8822ff;
fil1t:=(filter101t and not(ref(filter101t,5)));
fil2t:=(filter201t and not(ref(filter201t,5)));
fil3t:=(filter301t and not(ref(filter301t,5)));
fil4t:=(filter401t and not(ref(filter401t,5)));
fil5t:=(filter501t and not(ref(filter501t,5)));
fil6t:=(filter601t and not(ref(filter601t,5)));
filt:=fil1t or fil2t or fil3t or fil4t or fil5t or fil6t;
stickline(filt and not(ref(filt,5)),open,close,3,0),color0000ff;
drawtext (filt and not(ref(filt,5)),low*0.978,'↖元帅柱'),color0000ff;
k2:=sumbars(filt,1);
stickline(k2 and 金线=1,ref(c,k2-1),ref(c,k2-1),10,0),color8822ff;
黄金柱lj:=(黄金柱1 or 黄金柱2 or 黄金柱3 or 黄金柱4 or 黄金柱5or 黄金柱6 ) and 均线and 临界点;
backset10lj:=backset(黄金柱lj ,4);
filter10lj:=filter(backset10lj,3);
stickline(filter10lj and not(ref(filter10lj,4)),open,close,3,0),color0099ff;
drawtext(filter10ljand not(ref(filter10lj,4)) ,low*0.958,'↖临界点'),color0099ff;
黄金柱ljt:=(黄金柱1t or 黄金柱2t or 黄金柱3t or 黄金柱4t or 黄金柱5t or 黄金柱6t) and 均线 and 临界点 ;
backset10ljt:=backset(黄金柱ljt ,5);
filter10ljt:=filter(backset10ljt,5);
stickline(filter10ljt and not(ref(filter10ljt,4)),open,close,3,0),color0099ff;
drawtext(filter10ljtand not(ref(filter10ljt,4)) ,low*0.958,'↖临界点'),color0099ff;
{}
{};
c2:=ref(c,1);
涨停:=if((c-c2)*100/c2>=(10-0.01*100/c2),1,0);
stickline(涨停,open,close,2,0),colorff00ff;
stickline(涨停,h,l,0,0),colorff00ff;
跌停:=if((c2-c)*100/c2>=(10-0.01*100/c2),1,0);
stickline(跌停,open,close,2,0),colorgreen;
stickline(跌停,h,l,0,1),colorgreen;n:=10;
上一指标公式:线上双涨停 通达信线上
下一指标公式:犀牛王 副图/选股 没有未来函数 通达信函数选股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文黄金主图 通达信指标仅供学习研究。