{涨停板回马枪}
均价线:=amount/v/100;
c2:=ref(c,1);
涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);
stickline(涨停,open,close,4,0),colorred;
stickline(涨停,open,close,3,0),colorred;
stickline(涨停,h,l,0,0),colorred;
b1:='';
drawtext(均价线 and 涨停,均价线,b1),colorgreen;
b3:='';
drawtext((o+c)/2 and 涨停,(o+c)/2 ,b3),colormagenta;
b2:='';
drawtext(涨停,l,b2),colorgray;
ma13:ma(c,13),colorgray;
ma21:ma(c,21),colorwhite;
支撑线:(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4 colorred;
lc:=ref(close,1);
操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;
趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
pp2:=操作线<震仓线2 and ref(操作线,1)>震仓线2 ;
pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;
pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;
hh:=count(涨停,13)>=1;
stickline(pp2 and hh,open,close,0.8,0),colorblue;
stickline(pp and hh,open,close,0.8,0),colorblue;
stickline(pp3 and hh,open,close,0.8,0),colorblue;
a:=sma(l,4,3) ;
stickline(a and ref(pp,1) and hh ,a*0.9999,a*0.9979,5,0);
drawicon(a and ref(pp,1) and hh,l*0.98,1);
stickline(a and ref(pp3,1) and hh ,a*0.9999,a*0.9979,5,0);
drawicon(a and ref(pp3,1) and hh,l*0.98,1);
stickline(涨停,open,close,4,0),colorred;
stickline(涨停,open,close,3,0),colorred;
drawtext(涨停,l-0.1,'涨停'),colorred;
c3:=ref(c,1);
跌停:=if((c3-c)*100/c3>=(10-0.01*100/c3),1,0);
stickline(跌停,open,close,4,0),colorblue;
stickline(跌停,open,close,3,0),colorblue;
drawtext(跌停,h+0.3,'跌停'),colorblue;
xa_1:=ma(close,5);{}
侯涨停:=close>ref(close,1)*1.04 and close<xa_1;
drawicon(侯涨停,high*1.02,25);
{有风险}
lc5:=ref(close,1);
rsi5:=sma(max(close-lc5,0),6,1)/sma(abs(close-lc5),6,1)*100;
rr:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
aa:=sma(rr,3,1);
bb:=sma(aa,3,1);
ccc:=(bb/2+40)*1.100;
da:=sma(ccc,3,1);
短逃:=drawicon(cross(da,rsi5),high*1.010,37);
drawicon(短逃,high*1.02,2);
{}
超b:=l2_amo(0,2)/10000.0;
大b:=l2_amo(1,2)/10000.0;
中b:=l2_amo(2,2)/10000.0;
小b:=l2_amo(3,2)/10000.0;
超s:=l2_amo(0,3)/10000.0;
大s:=l2_amo(1,3)/10000.0;
中s:=l2_amo(2,3)/10000.0;
小s:=l2_amo(3,3)/10000.0;
testskip(not(超b or 大b or 中b or 小b or 超s or 大s or 中s or 小s)!=0);
大宗进:=(超b)+(大b),nodraw;
大宗出:=(超s)+(大s),nodraw;
非大宗进:=(中b)+(小b),nodraw;
非大宗出:=(中s)+(小s),nodraw;
大宗进限制:=if((超b+大b)=0,0,大宗进);
大宗出限制:=if((超s+大s)=0,0,大宗出);
非大宗进限制:=if(中b+小b=0,0,非大宗进);
非大宗出限制:=if(中s+小s=0,0,非大宗出);
主力净流入:=(超b+大b)-(超s+大s),colorred,nodraw;
散户净流入:=(中b+小b)-(中s+小s),colorred,nodraw;
净流入:=(超b+大b+中b+小b)-(超s+大s+中s+小s),colorred,nodraw;
大单流入:=(超b+大b)/(超b+大b+超s+大s)*100,nodraw;
大单流入限制:=if((超b+大b+超s+大s)=0,0,大单流入);
大单流出比:=(超s+大s)/(超b+大b+超s+大s)*100,nodraw;
大单流出限制:=if((超b+大b+超s+大s)=0,0,大单流出比);
总流入比:=(超b+大b+中b+小b)/(超b+大b+中b+小b+超s+大s+中s+小s)*100,nodraw;
总流出比:=(超s+大s+中s+小s)/(超b+大b+中b+小b+超s+大s+中s+小s)*100,nodraw;
成交总量:=(超b+大b+中b+小b+超s+大s+中s+小s),nodraw;
机构参与度:=(超b+超s+大b+大s)/成交总量*100,coloryellow,nodraw;
大单强度:=(超b+大b-超s-大s)/成交总量*100,coloryellow,nodraw;
大单强度限制:=if(大单强度=0,-100,大单强度);{}
大单强度比:=if(大单强度>=0,(大单强度限制+100)/2,100-abs((大单强度限制-100)/2)),nodraw;
超单强度:=(超b-超s)/(超b+超s)*100,coloryellow,nodraw;
超单强度限制:=if(超单强度=0,-100,超单强度);
超单强度比:=if(超单强度>0,(超单强度限制+100)/2,if(超单强度<0,100-abs((超单强度限制-100)/2),0)),nodraw;
dazhiv:=const(max(abs(大宗进),max(abs(大宗出),max(abs(非大宗进),abs(非大宗出))))),nodraw;
drawrectrel(0,const(930-(abs(大宗进)*250/dazhiv)),35,950,if(const(大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(37,const(930-(abs(大宗出)*250/dazhiv)),72,950,if(const(大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawrectrel(75,const(930-(abs(非大宗进)*250/dazhiv)),110,950,if(const(非大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(112,const(930-(abs(非大宗出)*250/dazhiv)),147,950,if(const(非大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawrectrel(150,const(940-(abs(净流入)*250/dazhiv))-20,190,950,if(const(净流入>0),rgb(200,0,0),rgb(0,125,50)));
drawtext_fix(currbarscount=1,0.0001,0.9,0,strcat('',con2str(大宗进/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.036,0.9,0,strcat('',con2str(大宗出/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.074,0.9,0,strcat('',con2str(非大宗进/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.111,0.9,0,strcat('',con2str(非大宗出/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.150,0.9,0,strcat('',con2str(净流入/1,0))),coloryellow;
drawtext_fix(1,0.000,0.99,0,strcat(strcat('主力 ',con2str(主力净流入,0)),'万')),colormagenta;
drawtext_fix(1,0.078,0.99,0,strcat(strcat('散户 ',con2str(散户净流入,0)),'万')),colorcyan;
drawtext_fix(currbarscount=1,0.145,0.99,0,'净流入:(万)'),coloryellow;
主力买力度:=largeintrdvol*1000/vol;
主力卖力度:=largeouttrdvol*1000/vol;
aad:=const(max(abs(主力买力度),abs(主力卖力度)))*4,nodraw;
drawrectrel(0,515,const(abs(主力买力度)*560/aad),568,if(const(主力买力度)>0,rgb(255,0,0),rgb(0,50,0)));
drawrectrel(0,570,const(abs(主力卖力度)*560/aad),623,if(const(主力卖力度)>0,rgb(0,50,0),rgb(255,0,0)));
drawtext_fix(1,0,0.524,0,strcat('主买力度:',con2str(主力买力度,0))),coloryellow;
drawtext_fix(1,0,0.576,0,strcat('主卖力度:',con2str(主力卖力度,0))),coloryellow;
{涨停板回马枪副图}
均价线:=amount/v/100;
c2:=ref(c,1);
涨停:=if(ref(c,1)*1.1-c<0.01 ,1,0);
stickline(涨停,0,5,6,0),coloryellow;
drawtext(涨停,8,'涨停'),coloryellow;
ma13:=ma(c,13),colorgray;
ma21:=ma(c,21),colorwhite;
支撑线:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
lc:=ref(close,1);
操作线:=sma(max(close-lc,0),2,1)/sma(abs(close-lc),2,1)*100;
趋势线:=sma(max(close-lc,0),14,1)/sma(abs(close-lc),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
pp2:=操作线<震仓线2 and ref(操作线,1)>震仓线2 ;
pp:=操作线<震仓线 and ref(操作线,1)>震仓线 ;
pp3:=操作线<抄底线 and ref(操作线,1)>抄底线;
hh:=count(涨停,13)>=1;
stickline(pp2 and hh,0,5,3,0),colorred;
stickline(pp and hh,0,5,3,0),colorred;
stickline(pp3 and hh,0,5,3,0),colorred;
drawtext(pp2 and hh,8,'预警'),colorred;
drawtext(pp and hh,8,'预警'),colorred;
drawtext(pp3 and hh,8,'预警'),colorred;
a:=sma(l,4,3) ;{}
绿色买入:if (((a and ref(pp,1) and hh) or (a and ref(pp3,1) and hh)),1,0 );
stickline(a and ref(pp,1) and hh ,0,10,1,0),colorgreen;
drawicon(a and ref(pp,1) and hh,12,1);
stickline(a and ref(pp3,1) and hh ,0,10,1,0)colorgreen;
drawicon(a and ref(pp3,1) and hh,12,1);
每股总价值:if(finance(3),finance(18)+finance(32)+finance(33)+finance(34)+(finance(13)+finance(22)+finance(25))/finance(1),drawnull),colorgreen,nodraw;
静值:if(finance(3),finance(18)+finance(32)+finance(33)+finance(34){+finance(38)},drawnull),coloryellow,nodraw;
应收款:if(finance(3),finance(22)/finance(1),drawnull),colorwhite,nodraw;
现金流:if(finance(3),finance(25)/finance(1),drawnull),colormagenta,nodraw;
无形资:if(finance(3),finance(13)/finance(1),drawnull),colorwhite,nodraw;
上一指标公式:短线红柱量转载和谐完全加密指标详解 通达信指标和谐
下一指标公式:我5小V副图详解 通达信
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文涨停板回马枪副图主图转载和谐完全加密指标详解 通达信涨停板加密仅供学习研究。