横盘上突
{横盘上突}
ddx:="ddx.ddx#day";
ddy:="ddy.ddy#day";
ddz:="wdddz.ddz#day";
drawtextrel(60,680,'ddx:'+ numtostrn(ddx,3)+' ddy:'+ numtostrn(ddy,3)+' ddz:'+ numtostrn(ddz,3)),colorccff99;
{横盘上突}
tt:=barscount(c);
cc:=close;
zz:=sum(amount,tt)/sum(vol*100,tt);
zz1:=between(c/zz,1.05,0.95);
均线:=if(zz1=0,ma(c,tt),zz);
上均:=均线 + avedev(c,tt)*2;
时长:=if(hour>=10.5 and hour<15 ,1,0);
涨幅:=(close/dynainfo(3))>=1.03;
跌幅:=(close/dynainfo(3))<=0.97;
涨跌幅:=涨幅 or 跌幅;
yy:=sma(vol,30,1);
放量:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30))>0;
横盘:=((hhv(close,tt)-llv(close,tt))/close)<=0.05;
横涨:=涨跌幅=0 and 横盘 and 时长 and 放量 and cross(cc,上均) and dynainfo(22)<dynainfo(23) ;
上突:=filter(横涨,100) ;
drawtext(上突,上均,'★横盘上突'),color0080ff;
{主力扫盘}
var23:=hhv(close,90);
var24:=llv(close,90);
var25:=var23-var24;
var26:=ema((close-var24)/var25-0.5,14);
zlsp:=var26*20;
var27:=ref(hhv(close,66),2);
var28:=cross(close,var27) and (hhv(close,110)/llv(close,110)-1)*100<45 and zlsp<5.666;
var31:=15*filter(var28,41)>10;
主力扫盘:=var31;
drawtext(var31,c*1.001,'主力扫盘'),colormagenta;
vertline( var31,1),colormagenta;
kp30:=time0<36000;
kpgd:=h=hhv(h,0) and kp30;
gdsj:=barslast(kpgd);
hh:ref(h,gdsj),color00ff00,pointdot,linethick1;
过顶:=if(cross(c,hh),1,0);
冲高:=if(filter(cross(c,hh*1.01),15),1,0);
drawtext(过顶,hh,'♂过顶'),color0080ff,align1;
drawtext(冲高,c,'♂冲高'),colorred,align1;
{主力扫盘+突破}
aa:=(close-ma(close,21))/ma(close,21)*100;
ab:=hhv(c,10)/llv(c,10)<1.50 and count(c>o,10)>=1 and count(c<o,10)>=1 and count(l>ref(l,1),10)<=3;
突破:=ref(aa,1) and c>o and (c-o)>ref(hhv(abs(c-o),10),1)*1.3 and c>ref(hhv(h,10),1);
var32:=var31 and 突破 ;
vertline( var32,1),color008cff;
{量价新高}
t:=barscount(c);
分钟数:=if(time0/60-570<=130,time0/60-570,time0/60-660);
aa:=vol/((high-low)*2-abs(close-open));
主买a:=if(close>open,aa*(high-low),if(close<open,aa*((high-open)+(close-low)),vol/2));
主卖a:=if(close>open,0-aa*((high-close)+(open-low)),if(close<open,0-aa*(high-low),0-vol/2));
量:=vol;
额:=amount/100000000;
流入额:=ma(主买a,4)/100000;
流出额:=ma((0-主卖a),4)/100000;
净流入:=sum(流入额-流出额,0);
价新高:=count(h=hhv(h,分钟数),30);
量新高:=count(v=hhv(v,分钟数) ,30);
量价新高:=价新高=量新高 and 价新高>0 and 价新高>ref(价新高,1) and 量新高>ref(量新高,1) and 净流入>0;
drawtext(量价新高,c,'★量价新高'),colorred,align1;
{进场}
varf:=(2*close+high+low)/4;
var10:=llv(low,34);
var11:=hhv(high,34);
var12:=ema((varf-var10)/(var11-var10)*100,6);
var13:=ema(0.667*ref(var12,1)+0.333*var12,4);
var14:=llv(low,120);
var15:=hhv(high,120);
var16:=var15-var14;
drawtext(if(count(close<ref(close,1),8)/8>0.3 and count
(var12>var13,3) and ref(low,1)=llv(low,120) and
close>open,1,0),low,'☆进场'),color00ffff;
{分时线}
最新:c,colorwhite,linethick2,precis2,layer0;
{条件}
特大:=(bigorder(1,3)-bigorder(2,3))*dynainfo(10)/10000;
大单:=((bigorder(1,2)-bigorder(1,3))-(bigorder(2,2)-bigorder(2,3)))*dynainfo(10)/10000;
中单:=((bigorder(1,1)-bigorder(1,2))-(bigorder(2,1)-bigorder(2,2)))*dynainfo(10)/10000;
小单:=((1-bigorder(1,1))-(1-bigorder(2,1)))*dynainfo(10)/10000;
drawtextrel(875,20,'特净额:'),color0000ff;
drawtextrel(875,90,'大净额:'),color1e90ff;
drawtextrel(875,160,'中净额:'),colorff850b;
drawtextrel(875,230,'小净额:'),color00ff00;
drawtextrel(935,20,numtostrn(特大,2)),color0000ff;
drawtextrel(935,90,numtostrn(大单,2)),color1e90ff;
drawtextrel(935,160,numtostrn(中单,2)),colorff850b;
drawtextrel(935,230,numtostrn(小单,2)),color00ff00;
{画柱图}
最大值:=250/(max(特大,大单,中单,小单));
特净:=600-(特大*最大值);
大净:=600-(大单*最大值);
中净:=600-(中单*最大值);
小净:=600-(小单*最大值);
drawrectrel(900,特净,920,670,rgb(200,0,0)),color0000ff,layer5;
drawrectrel(925,大净,945,670,rgb(255,144,30)),color1e90ff,layer5;
drawrectrel(950,中净,970,670,rgb(11,133,255)),colorff850b,layer5;
drawrectrel(975,小净,995,670,rgb(0,200,0)),color00ff00,layer5;
drawtextrel(905,660,'特'),colorffffcc;
drawtextrel(930,660,'大'),colorffffcc;
drawtextrel(955,660,'中'),colorffffcc;
drawtextrel(980,660,'小'),colorffffcc;
{主力线}
bbd1:=特大+大单;
ee:=if(bbd1=0,ref(bbd1,barslast(bbd1)),bbd1);
bbd:=ee;
gqc:=dynainfo(3);
gh:=dynainfo(5);
gl:=dynainfo(6);
当前波幅:=max(gh-gqc,gqc-gl);
gf:=当前波幅/gqc;
最低位置:=gqc-当前波幅;
bbd(万元):bbd,linethick0,coloryellow;
zjc:=bbd;
zjcbf:=max(hhvall(zjc),0-llvall(zjc));
p1:=zjc*gf/zjcbf;
zjcx:=(p1+1)*gqc;
zjcx1:=ma(zjcx,3);
zjcx2:=ref(zjcx1,1);
partline(zjcx1,zjcx1>=zjcx2,rgb(255,0,0),zjcx1<zjcx2,rgb(0,255,0)),linethick1;
drawflagtext(1,c,'<*t=80ff00*><*c=0000ff*><*p=95*>'+datestr(date)+' '+hour+':'+minute+'\n'+'<*t=e7ffff*><*c=111100*><*p=95*>'+'【现价】 '+numtostrn(c,2)+'<*t=e7ffff*><*c=0000ff*><*p=95*>'+' 【涨幅】'+numtostrn(100*(c/dynainfo(3)-1),2)+'%');
这是游客老师数据的效果
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文横盘上突(分时图)公式附实测图下载 大智慧指标源码仅供学习研究。