均:sum(close*vol,fromopen)/sum(vol,fromopen),coloryellow,dotline;
最新1:close,linethick2,colorwhite;
{能量竖线}
ma25:=ema(close,25);
强弱:ema(close,905);
if(ma25>强弱,ma25,drawnull),color0000ff;
if(ma25<强弱,ma25,drawnull),color00ff00;
stickline((ma25 >强弱),ma25,强弱,0,0),color0000ff;
stickline((ma25 >强弱)and ma25<ref(ma25,1),ma25,强弱,0,0),coloryellow;
stickline((ma25 >强弱)and 强弱<ref(强弱,1),ma25,强弱,0,0),colorcyan;
stickline((ma25 <强弱),ma25,强弱,0,0),color00ff00;
stickline((ma25 <强弱)and ma25>ref(ma25,1),ma25,强弱,0,0),colorcyan;
stickline((ma25 <强弱)and 强弱>ref(强弱,1),ma25,强弱,0,0),colorlired;
drawicon(cross(ma25,强弱),强弱*0.99,0);
{好公式网www.goodgongshi.com}
{区间线、买卖标志}
h1:=max(dynainfo(3),dynainfo(5));
l1:=min(dynainfo(3),dynainfo(6));
p1:=h1-l1;
t1:(l1+p1*8.5/9),colorffffff;{白色顶线}
阻力:(l1+p1*7/9),color00dd00;{绿色00dd00阻力线}
z:(l1+p1*4.5/9),colorwhite,linethick1,pointdot;{红000099中线}
b:(l1+p1*2.0/9),coloryellow;{支撑线}
支撑:(l1+p1*0.5/9),colorffffff;{白色ffffff底线}
现价:=close,coloryellow;
{drawtext( islastbarand 现价,现价,strcat('←',con2str(现价,2))),coloryellow;{分时线价格标注}
stickline(cross(支撑,现价),z,支撑,1,0),colormagenta;
drawtext(longcross(支撑,现价,2),支撑*1.001,'☆买'),colormagenta;{吸}
drawtext(longcross(现价,阻力,2),现价,'★卖'),colorgreen;{抛};
drawicon(cross(现价,t1),现价*0.999,8);
{drawtext(cross(现价,b),支撑,'买')colorwhite;}
stickline(filter(c,60)>0,t1,支撑,0.5,0),colorred;{时间分割线};
drawtext(currbarscount=8,t1+0.003,'顶'),colorgreen,linethick1;
drawtext(currbarscount=8,支撑-0.003,'底'),colorlired,linethick1;
drawtext(currbarscount=8,z,'中'),colorwhite,linethick1;
最新:close,linethick2,colorwhite;
aa:=sum(amount,barscount(c))/sum(vol*100,barscount(c));
bb:=between(c/aa,c+h,c-h);
drawtext( islastbarand 最新>ref(最新,1),最新,strcat(' 涨▲',con2str(最新,2))),colormagenta;
drawtext( islastbarand 最新<ref(最新,1),最新,strcat(' 跌▼',con2str(最新,2))),color00ff00;
均价:=sum(c*v,240)/sum(v,240),coloryellow,linethick2,dotline;
tt:=barscount(c);
前高:=ref(hhv(h,tt),1);
突破:=cross(c,ref(hhv(h,tt),1)){ and hhvbars(vol,tt)=0} and c/均价<1.09 and tt>1and tt<240;
drawtext(cross(c,ref(hhv(h,tt),1)) and {hhvbars(vol,tt)=0and} c/均价<1.09 and tt>=1 andtt<240 ,前高, '←突'),colorred;
主力扫盘:=count(突破,13)>=3 and cross(c,ref(hhv(h,tt),1)){ and hhvbars(vol,tt)=0};
drawtext(主力扫盘,前高, '←扫盘'),coloryellow;
{已主力扫盘:=barslast(主力扫盘)<13;
drawtext(barslast(主力扫盘)<8,(dynainfo(3))*9.5/10 , '↖已扫'),colorgreen;}
全仓买进:=cross(c,ref(hhv(h,tt),1)) and hhvbars(vol,tt)=0 and c/均价<1.09 and tt>1and tt<240and barslast(主力扫盘)>=21;
drawtext(全仓买进 ,前高, '←全仓'),colorcyan;
var1:=ema(ema(c,13),13);
控盘:=(var1-ref(var1,1))/ref(var1,1)*1000;
jj:=dynainfo(11);
p:=55;
s:=8;
m1:=3;
能量:=(ema(c,s)-ema(c,p))*10;
空头:=ema(能量,m1);
btj11:=(c-jj)/jj<-0.03;
btj2:=控盘>ref(控盘,1) and 控盘<-0.2;
btj3:=cross(能量,空头) and 能量<-0.3;
btj811:=filter(btj11 and btj2 and btj3,13);
有庄:=btj811;
drawtext(btj811,c*0.999,'←有庄'),colorred;
hhh1:=max(dynainfo(3),dynainfo(5));
lll1:=min(dynainfo(3),dynainfo(6));
ppp1:=hhh1-lll1;
阻力6:=lll1+ppp1*7/8,colorgreen;
支撑6:=lll1+ppp1*0.5/8,colormagenta;
{drawicon(longcross(支撑,c,2),c,5);
drawicon(longcross(c,阻力,2),c,6);}
{资金流入:=sum(if(c>ref(c,1),c*v,0),fromopen);
资金流出:=-sum(if(c<ref(c,1),c*v,0),fromopen);
净资金:=(资金流入+资金流出)/10000;
{drawtext_fix(1,0.700,1-0.15,0,strcat(strcat('【净买】',con2str(净资金,1)),'万')),colorred;}
kp:=dynainfo(4);
zx:=dynainfo(7);
分时顶:hhv(h,480),colorred,dotline;
分时底:llv(l,480),colorgreen,dotline;
{drawicon(filter(cross(c,dynainfo(3)*1.1-0.01),60),c,1);}
drawnumber(filter(cross(c,dynainfo(3)*1.1-0.01),60),c*0.99,time);
drawnumber(filter(cross(c,dynainfo(3)*1.1-0.01),60),c*0.98,c),coloryellow;
{乖离主图}
if(macd.dea<0,close,drawnull),coloryellow,linethick9;{画加仓黄线}
xa_1:=max(dynainfo(3),dynainfo(5));
xa_2:=min(dynainfo(3),dynainfo(6));
xa_3:=xa_1-xa_2;
xa_4:=xa_2+xa_3*7/8;
xa_5:=xa_2+xa_3*0.5/8;
drawicon(longcross(xa_5,close,2),close,1);
drawicon(longcross(close,xa_4,2),close,2);
xa_6:=dynainfo(4);
xa_7:=dynainfo(5);
xa_8:=dynainfo(6);
xa_9:=dynainfo(11);
xa_10:=close;
xa_11:=barscount(xa_10);
xa_12:=sum(vol*close,0)/sum(vol,0);
xa_13:=ma(xa_10,xa_11);
xa_14:=xa_13+2*std(xa_10,3);
xa_15:=xa_13-2*std(xa_10,3);
drawicon(cross(xa_12,xa_13),xa_12,38);
xa_16:=time>93000;
xa_17:=xa_10/ref(close,1)>1.02;
xa_18:=xa_10/ref(close,1)<0.98;
xa_19:=(hhv(xa_10,xa_11)-llv(xa_10,xa_11))/xa_10<0.05;
xa_20:=sma(vol,30,1);
xa_21:=(xa_20-llv(llv(xa_20,1),30))/(hhv(hhv(xa_20,1),30)-llv(llv(xa_20,1),30))>0.95;
xa_22:=xa_17 or xa_18;
xa_23:=xa_22=0 and xa_19 and xa_21 and cross(xa_12,xa_13);
drawtext(filter(xa_23,10),xa_12,506),coloryellow;
xa_24:=xa_22=0 and xa_19 and xa_21 and cross(close,xa_12) and cross(close,xa_13);
drawtext(filter(xa_24,10),xa_12*0.99,507),colorred;
攻击量:=((hsl*0.50+ref(hsl,1)*0.33)+(ref(hsl,2)*0.17))*sum(c,fromopen)/fromopen;
攻击量a:=sum(if(c>ref(c,1),攻击量*v,0),fromopen),color0000ff,linethick0;
攻击量b:=-sum(if(c<ref(c,1),攻击量*v,0),fromopen),color00ff00,linethick0;
攻击流量:=攻击量a+攻击量b,colorstick;
攻击比:=攻击流量/sum(v,fromopen)*100,colorred,linethick1;
资金攻击度:=if(攻击比>=0,(攻击比+50),100-abs((攻击比-50)));
资金流入:=sum(if(c>ref(c,1),v,0),fromopen),stick,colorred;
资金流出:=-sum(if(c<ref(c,1),v,0),fromopen),stick,color00ff00;
资金出入:=资金流入+资金流出,colorstick;
资金比:=资金出入/sum(v,fromopen)*100,color00ffff,linethick1;
资金流量比:=if(资金比>=0,(资金比+100)/2,100-abs((资金比-100)/2));
drawtext_fix(1,0.500,0.00,0,strcat(strcat('资金流量比',con2str(资金流量比,2)),'%买')),colorcyan;
drawtext_fix(1,0.280,0.00,0,strcat(strcat('资金攻击度',con2str(资金攻击度,2)),' %买')),colorcyan;
a1:=sum(if(close>ref(close,1),vol/capital*100,if(close<ref(close,1),-vol/capital*100,0)),0);
成交额:=v*c/100,nodraw;
a2:=sum((if(((成交额/8>20) and (close>(ref(close,1)))),成交额,0)),0);
a3:=sum((if(((成交额/8>20) and (close<(ref(close,1)))),成交额,0)),0);
a4:=sum((if(((成交额/8<20) and (close>(ref(close,1)))),成交额,0)),0);
a5:=sum((if(((成交额/8<20) and (close<(ref(close,1)))),成交额,0)),0);
a6:=((a2+a3)+a4)+a5;
a7:=if((islastbar),((100*a2)/a6),0);
a8:=if((islastbar),((100*a3)/a6),0);
a9:=if((islastbar),((100*a4)/a6),0);
a10:=if((islastbar),((100*a5)/a6),0);
dd1:=1;
aaa1:=strcat(strcat('机构买入',con2str((100*a2)/a6,0)),'%');
aaa2:=strcat(strcat('机构卖出',con2str((100*a3)/a6,0)),'%');
aaa0:=strcat(strcat('机构总买入',con2str((100*(a2-a3))/a6,0)),'%');
aaa3:=strcat(strcat('散户买入',con2str((100*a4)/a6,0)),'%');
aaa4:=strcat(strcat('散户卖出',con2str((100*a5)/a6,0)),'%');
aaa5:=strcat(strcat('散户总买入',con2str((100*(a4-a5))/a6,0)),'%');
drawtext_fix(dd1=1,0.100,1.00,0,aaa1),colorred;
drawtext_fix(dd1=1,0.230,1.00,0,aaa2),colorgreen;
drawtext_fix(dd1=1,0.360,1.00,0,aaa3),colorred;
drawtext_fix(dd1=1,0.490,1.00,0,aaa4),colorgreen;
drawtext_fix(dd1=1,0.620,1.00,0,aaa0),linethick5,coloryellow;
drawtext_fix(dd1=1,0.780,1.00,0,aaa5),linethick5,colorcyan;
上一指标公式:九散人主图波段王生命线优化精装版指标详解 通达信波段精装版
下一指标公式:守株待兔 通达信守株待兔
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分时图T+0 通达信分时图仅供学习研究。