drawgbk(c>0,rgb(20,10,80),rgb(10,1,5),1,0,1);
z1:=strcat(hyblock,' ');
z2:=strcat(z1,dyblock);
z3:=strcat(z2,' ');
{蓝}
stickline(open>=close,h,l,0,0),colorffff00,linethick1;{此为日k线的竖细线}
stickline(open>=close,close,open,2.4,0),colorff8800;
stickline(open>=close,close,open,1.2,0),colorffbb00;
stickline(open>=close,close,open,0.6,0),colorffdd00;
stickline(open>=close,close,open,0,0),colorffff00;
{红}
stickline(close>open,h,l,0,0),colorred,linethick1;{此为日k线的竖细线}
stickline(close>open,close,open,2.4,0),color000088;
stickline(close>open,close,open,1.2,0),color0000bb;
stickline(close>open,close,open,0.6,0),color0000dd;
stickline(close>open,close,open,0,0),color0000ff;
a1:=ema(c,14)colorwhite,linethick1;
a1x:=(a1-ref(a1,1))/ref(a1,1)*100,nodraw;
看多做多:if(a1x>=0,ref(ema(c,14),barslast(cross(a1x,0))+1),drawnull),colorcyan,linethick1;
动态止损度:=3;
止损价:=const(hhv(c,5)*(100-动态止损度)/100);
止损:ployline(const(c)<=止损价,止损价),color008000;
熊五:=ma(close,5),colorwhite,linethick2;
牛十:=ma(close,10),colormagenta,linethick2;
工作线:=ema(close,34),color00ffff,linethick2;
生命线:=expma(expma(close,50),1),colorred,linethick2;
半:=ma(close,125),colorcyan,linethick1;
年:=ma(close,250),colorff7f00,linethick1;
lc:= ref(close,1);{}
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
逃顶:cross(80,rsi),coloryellow,pointdot;
drawicon(cross(80,rsi),high,2);
drawtext(filter(逃顶=1,1),high*1.02,'顶'),colorgray;
{追}
var112:=(100 - ((90 * (hhv(high,21) - close)) / (hhv(high,21) - llv(low,21))));
var113:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34));
drawtext(cross(var112,ma(var113,6)) and 熊五>ref(熊五,1),(low *0.98) ,'↖买'),colorliblue,linethick1;
em1:=ema(c,5);
{}
em2:=ema(c,7);
em3:=ema(c,11);
tj:=between(em2,em1,em3);
立桩量:=filter(tj=0,5);
突破买:ref(h,barslast(立桩量))colorred,nodraw;
tc1:=if(h=hhv(h,8*14),h,drawnull);
tc2:=const(barslast(tc1=h))+1;
upper:=const(if(tc2=1,h,ref(h,tc2-1)));
bc1:=if(l=llv(l,8*20),l,drawnull);
bc2:=const(barslast(bc1=l))+1;
lower:=const(if(bc2=1,l,ref(l,bc2-1)));
lp:=currbarscount<=bc2 and l=lower;{低点定位}
hp:=currbarscount<=tc2 and h=upper;{高点定位};
stickline(lp,l*0.992,l,13,0),colorff00ff;
stickline(hp,h,h*1.005,13,0),color00ff00;
if(a1x>=0,ref(ema(c,14),barslast(cross(a1x,0))+1),drawnull),colorlicyan,pointdot,linethick5;
drawtext(islastbar,看多做多*1.001,' 看多做多'),colorc0c0c0,linethick1;
ployline(const(c)<=止损价,止损价),color008000,pointdot,linethick4;
drawtext(dynainfo(7)<=止损价 and islastbar,止损价*1.02,'☆止损'),color008000,linethick1;
{企稳箭头}
mid:=(3*close+low+open+high)/6;
金牛线:=(20*mid+19*ref(mid,1)+18*ref(mid,2)+17*ref(mid,3)+16*ref(mid,4)+15
*ref(mid,5)+14*ref(mid,6)+13*ref(mid,7)+12*ref(mid,8)+11*ref(mid,9)+10
*ref(mid,10)+9*ref(mid,11)+8*ref(mid,12)+7*ref(mid,13)+6*ref(mid,14)+5
*ref(mid,15)+4*ref(mid,16)+3*ref(mid,17)+2*ref(mid,18)+ref(mid,20))/210,color999900,dotline;
金马线:=ma(金牛线,6),coloryellow;
drawicon(filter(cross(金牛线,金马线),20),金马线-0.2 ,25);
{}
a0:=(l+h+c*2)/4;
工作:=ema(a0,14)coloryellow,linethick1;
度假:=ema(a0,25)coloryellow,linethick2;
a1x1:=(工作-ref(工作,1))/ref(工作,1)*100;
a2x1:=(度假-ref(度假,1))/ref(度假,1)*100;
减:if(a2x1>=0,度假,drawnull),colorff8080,linethick2;
少:if(a1x1>=0,工作,drawnull),color00ff00,dotline;
var111:=zig(3,13);
stickline((ref(var111,2) < ref(var111,1)) and (var111 < ref(var111,1)),close,open,3,0),color66ff00;
drawtext_fix(stickline((ref(var111,2) < ref(var111,1)) and (var111 < ref(var111,1)),close,open,5,0),0.00,0.11,0,''),color00ff00,linethick1;
drawrectrel(0,500,147,999.4,if(120,rgb(10,0,0),0));
超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;
drawtext_fix(c>0,0.0,0.0,0,strcat('所属行业:',hyblock)),coloryellow;
drawtext_fix(c>0,0.10,0.0,0,strcat('所属地区:',dyblock)),coloryellow;
drawtext_fix(c>0,0.20,0.0,0,strcat('主营业务:',externstr(0,6))),coloryellow;
drawtext_fix(c>0,0.0,0.05,0,strcat('业绩预报:',externstr(0,3))),coloryellow;
drawtext_fix(c>0,0.00,0.10,0,strcat('主题投资:',externstr(0,7))),coloryellow;
drawtext_fix(c>0,0.0,0.15,0,strcat('解禁日期:',externstr(0,8))),coloryellow;
{drawtext_fix(c>0,0.00,0.20,0,strcat('千股千评:',externstr(0,1))),color00ffff;}
{drawtext_fix(c>0,0.00,0.25,0,strcat('智能诊股:',externstr(0,2))),color00ffff;};
上一指标公式:买入时机 副图 通达信时机源码
下一指标公式:一号十字副图 通达信十字副图
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文裸K4 通达信K4仅供学习研究。