{
n1 80 120 102
m1 2 20 7
}
n1:=102;m1:=7;
aa:=ma((2*close+high+low)/4,5);
通道1:aa*n1/100;
通道2:aa*(200-n1)/100;
cc:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
dd:=dma(close,cc);
通道3:(1+m1/100)*dd;
通道4:(1-m1/100)*dd;
通道金叉:=cross(通道2,通道4);
drawtext(通道金叉,l*0.98,'通道金叉'),color00ffff;
tj:=vol>=ref(v,1)*1.91 and c>ref(c,1)*1.01;
drawtext(tj,low*0.986,'↖高量柱'),coloryellow;
stickline(tj,open,close,1.5,0),coloryellow;
k1:=sumbars(tj,1);
stickline(k1,ref(c,k1-1),ref(c,k1-1),10,0),coloryellow;
drawtext_fix(c>0,0.004,1,0,dyblock),coloryellow,linethick2;
drawtext_fix(c>0,0.06,1,0,hyblock),colorred,linethick2;
drawtext_fix(c>0,0.12,1,0,externstr(0,1)),colorwhite,linethick2;
drawtext(high>=ref(close,1)*1.095,high,'涨停'),colormagenta;
stickline(v/ref(v,1)>2,open,close,1,0),colorgreen;
drawtext(ref(close,1)>=low*1.095,low,'跌停'),colorgreen;
drawtext(ref(close,1)>=low*1.095,low,'跌停'),colorgreen;
{单阳不破}
阳涨幅:=4;
阳倍量:=2;
单阳:=c>o*(1+阳涨幅/100) and vol>ref(vol,1)*阳倍量;
drawtext(currbarscount<90 and 单阳,l*0.98,'阳'),color00ffff;
高不破价:=ref(c,barslast(单阳));
中不破价:=ref((c+l)/2,barslast(单阳));
低不破价:=ref(l,barslast(单阳));
单阳不破:=currbarscount<90 and barslast(单阳)<11 and (llv(l,barslast(单阳))>低不破价 or llv(l,barslast(单阳))=低不破价);
stickline(单阳不破,低不破价-低不破价*0.003,低不破价,4,0),colorred;
drawtext(barslast(单阳)=1 and 单阳不破,低不破价*0.98,'1'),colorgreen;
drawtext(barslast(单阳)=2 and 单阳不破,低不破价*0.98,'2'),colorgreen;
drawtext(barslast(单阳)=3 and 单阳不破,低不破价*0.98,'3'),colorgreen;
drawtext(barslast(单阳)=4 and 单阳不破,低不破价*0.98,'4'),colorgreen;
drawtext(barslast(单阳)=5 and 单阳不破,低不破价*0.98,'5'),colorgreen;
drawtext(barslast(单阳)=6 and 单阳不破,低不破价*0.98,'6'),colorgreen;
drawtext(barslast(单阳)=7 and 单阳不破,低不破价*0.98,'7'),colorgreen;
drawtext(barslast(单阳)=8 and 单阳不破,低不破价*0.98,'8'),colorgreen;
drawtext(barslast(单阳)=9 and 单阳不破,低不破价*0.98,'9'),colorgreen;
drawtext(barslast(单阳)=10 and 单阳不破,低不破价*0.98,'10'),colorgreen;
两天:=llv(l,barslast(单阳))>低不破价 or llv(l,barslast(单阳))=低不破价;
一般:=llv(l,barslast(单阳)-2)>低不破价 or llv(l,barslast(单阳)-2)=低不破价;
一般选股:stickline(currbarscount<90 and barslast(单阳)<9 and 两天 and 一般,低不破价,低不破价,2,0),color88ff00;
较强:=llv(l,barslast(单阳)-2)>中不破价 or llv(l,barslast(单阳)-2)=中不破价;
较强选股:stickline(currbarscount<90 and barslast(单阳)<9 and 两天 and 较强,中不破价,中不破价,2,0),color0088ff;
最强:=llv(l,barslast(单阳)-3)>高不破价 or llv(l,barslast(单阳)-2)=高不破价;
最强选股:stickline(currbarscount<90 and barslast(单阳)<9 and 两天 and 最强,高不破价,高不破价,2,0),color00ffff;
drawtext_fix(c>0,0.004,1,0,dyblock),coloryellow,linethick2;
drawtext_fix(c>0,0.06,1,0,hyblock),colorred,linethick2;
drawtext_fix(c>0,0.12,1,0,externstr(0,1)),colorwhite,linethick2;
zt:=(c-ref(c,1))/ref(c,1)*100>9.5 and c=h;
drawline(zt,h,ref(zt,1),ref(h,1),1);
{通用条件}
last3k:=currbarscount>4;
上涨:=ref(close,3)>ref(close,4);
未跌破:=ref(close,2)>ref(low,3) and ref(close,1)>ref(low,3) and close>ref(low,3);
缩量:=ref(vol,3)>0.35*(ref(vol,1)+ref(vol,2)+vol) and ref(vol,3)>ref(vol,2);{1.05/3,5%}
逐级缩量:=ref(vol,3)>=ref(vol,2) and ref(vol,2)>=ref(vol,1) and ref(vol,1)>=vol;{平量也看成缩量}
逐级价升:=ref(close,3)<ref(close,2) and ref(close,2)<=ref(close,1) and ref(close,1)<=close;
{倍量柱}
倍量柱1:=(ref(vol,3)>=ref(vol,4)*1.8),nodraw;{实际给1.8倍}
倍量柱:vol>ref(vol,1)*1.8,nodraw,colorwhite;
{高量柱}
高量柱1:=ref(vol,3)>0.25*(ref(sum(vol,3),4)+sum(vol,3)) and ref(vol,3)>ref(vol,4) and ref(vol,3)>ref(vol,2),nodraw,colorwhite;{1.5/6,1.5倍}
temp1:=backset(高量柱1,4);
高量柱:filter(temp1,3),nodraw,colorwhite;
{平量柱}
平量柱1:=ref(vol,3)>ref(vol,2)*0.97 and ref(vol,3)<ref(vol,2)*1.03 and ref(vol,3)>=1.5*ref(vol,4),nodraw,colorwhite;{平量柱取前一k线,到底是取前还是取后,你自己选}
temp2:=backset(平量柱1,4);
平量柱:filter(temp2,3),nodraw,colorwhite;
{梯量柱}
梯量柱1:=ref(vol,3)>ref(vol,4) and ref(vol,4)>ref(vol,5) and ref(close,3)>=ref(close,4) and ref(close,4)>=ref(close,5),nodraw,colorwhite;{虽然是梯量柱,但也不能太小}
梯量柱:vol>ref(vol,1) and ref(vol,1)>=ref(vol,2) and close>ref(close,1),nodraw,colorwhite;
{将军柱}
将军柱1:=上涨 and 未跌破 and (倍量柱1 or 高量柱1 or 平量柱1 or 梯量柱1),nodraw,coloryellow;
{黄金柱}
黄金柱1:=将军柱1 and 缩量,nodraw,coloryellow;
{标准黄金柱}
标准黄金柱1:=黄金柱1 and 逐级缩量 and 逐级价升,nodraw,colorred;
将军柱2:=将军柱1 and 黄金柱1=0 and barslast(ref(将军柱1,1))>1;
黄金柱2:=黄金柱1 and 标准黄金柱1=0 and barslast(ref(将军柱1,1))>1;
将军柱3:=backset(将军柱2,4);
将军柱:filter(将军柱3,3),nodraw,colorwhite;
黄金柱3:=backset(黄金柱2,4);
黄金柱:filter(黄金柱3,3),nodraw,coloryellow;
标准黄金柱2:=backset(标准黄金柱1,4);
标准黄金柱:filter(标准黄金柱2,3),nodraw,colorred;
{输出,规则是连续都满足条件则取第一个}
drawicon(last3k and 将军柱,high*1.01,24),colorred;
drawicon(last3k and 标准黄金柱,high*1.01,26),colorred;
drawicon(last3k and 黄金柱,high*1.01,25),colorred;
n:=3;
bl:=4;
bn:=20;
c2:=ref(c,1);
l0:=0.00;
l1:=abs(l-ref(l,1))<=l0;
l2:=abs(l-ref(l,2))<=l0;
l3:=abs(l-ref(l,3))<=l0;
l4:=abs(l-ref(l,4))<=l0;
l5:=abs(l-ref(l,5))<=l0;
首次:=l1 or l2 or l3 {or l4 or l5};
中点:=(h+l)/2;
本日跌率:=(o-c)*100/o;
比前跌率:=(ref(c,1)-c)*100/ref(c,1);
左大阴k:=filter(比前跌率>bl,n) ;
天数:=barslast(左大阴k);
jc:=ref(c,天数);
下:=hhv(中点,天数)<ref(中点,天数);
mavol1:=ma(v,5);
jj:=(3*c+h+l+o)/6;
var1:=(8*jj+7*ref(jj,1)+6*ref(jj,2)+5*ref(jj,3)+4*ref(jj,4)+3*ref(jj,5)+2*ref(jj,6)+ref(jj,8))/36;
tj1:=vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var1 and c>ref(c,1);
ljl:=filter(tj1,5);
tj2:=if(barslast(ljl)=1 and close>ref(high,1),1,if(barslast(ljl)=2 and close>ref(high,2),1,if(barslast(ljl)=3 and close>ref(high,3),1,0)));
tp:=tj2=1;
stickline(close,ref(low,barslast(ljl)),ref(low,barslast(ljl)),6,0),coloryellow;
tj3:=if(barslast(ljl)=1 and close>ref(low,1),1,if(barslast(ljl)=2 and close>ref(low,2),1,if(barslast(ljl)=3 and close>ref(low,3),1,0)));
stfz:=tj3=1;
cl:=stfz and tp;
tjcl:=filter(cl,3);
stickline(ljl,open,close,5,0),coloryellow;
drawtext(ljl,l*0.99,'黄金柱'),colorf00ff0;
涨停:=if((c-c2)*100/c2>=(10-0.01*100/c2),1,0);
stickline(涨停,open,close,3,0),colorred;
跌停:=if((c2-c)*100/c2>=(10-0.01*100/c2),1,0);
stickline(跌停,open,close,2,0),colorgreen;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文单阳不破高量柱薛斯通道2金叉组合主图主图附图指标下载 通达信组合附图仅供学习研究。