平台突破
var1aa:=((2)*(close)+open+high+low)/(5);
var2aa:=vol;
上升价格线:(sum((var1aa)*(var2aa),8))/(sum(var2aa,8)),color0000ff;
下降价格线:llv(上升价格线,8),color00ff00;
var3aa:=if((close>ref(close,1)),88,0);
var4aa:=if(((close)/(ref(close,1))>1.05) and ((high)/(close)<1.01) and (var3aa>0),91,0);
drawtext(filter((var4aa>90),34),(low)*(0.94999998),'加仓'),color00ffff;
drawtext(filter((var4aa>90),34),(low)*(0.99000001),'★'),color00ffff;
a1aa:=9;{好公式网-最好的股票公式网站 www.goodgongshi.com}
a2aa:=(ref(close,a1aa+1)<close);
drawtext(filter((a2aa>0),34),(high)*(1.02),''),colorgreen;
var1:=ref(close,1);
var2:=ma(close,5);
var3:=sma(max(close-var1,0),6,1)/sma(abs(close-var1),6,1)*100;
var4:=sma(max(close-var1,0),12,1)/sma(abs(close-var1),12,1)*100;
var5:=sma(max(close-var1,0),24,1)/sma(abs(close-var1),24,1)*100;
var6:=if(cross(var3,var5),low,ref(low,barslast(cross(var3,var5))));
var7:=if(cross(var5,var3),high,ref(high,barslast(cross(var5,var3))));
var8:=if(close>=ma(close,20),80,50);
var9:=if(close>=ma(close,20),50,20);
vara:=if(var3<var8 and ref(var3,1)>=var8,hhv(ref(high,1),barslast(var3>=var8 and ref(var3,1)<var8)-1),ref(hhv(ref(high,1),barslast(var3>=var8 and ref(var3,1)<var8)-1),barslast(var3<var8 and ref(var3,1))));
varb:=if(high>vara,low,ref(low,barslast(high>vara)));
varc:=if(high>vara,var3,ref(var3,barslast(high>vara)));
vard:=if(high>varb and var3<varc and var3<var5,high,ref(high,barslast(high>varb and var3<varc and var3<var5)));
vare:=if(var3>var9 and ref(var3,1)<=var9,llv(ref(low,1),barslast(var3<=var9 and ref(var3,1)>var9)-1),ref(llv(ref(low,1),barslast(var3<=var9 and ref(var3,1)>var9)-1),barslast(var3>var9 and ref(var3,1))));
varf:=if(low<vare,high,ref(high,barslast(low<vare)));
var10:=if(low<vare,var3,ref(var3,barslast(low<vare)));
var11:=if(low<varf and var3>var10 and var3>var5,low,ref(low,barslast(low<varf and var3>var10 and var3>var5)));
支撑线: var11,colorff00ff ,linethick2 ;
压力线: vard, colorblue,linethick2 ;
ding:=max(o,c);{实顶}
di:=min(o,c);{实底}
yang:=(di>=ref(ding,1)) or (c>o and not(ding<=ref(di,1))) or (c>ref(c,1) and c=o) or (c=ref(c,1) and c=o and ref(ding,1)=c);{阳线}
yin:=not(yang);
{yin:=(c<o and not(di>=ref(ding,1))) or (c>o and ding<=ref(di,1)) or (c<ref(c,1) and c=o) or (c=ref(c,1) and c=o and ref(di,1)=c);{阴线}}
yangsheng:yang and c>=ref(ding,barslast(yin)) and (v>ref(v,barslast(yin)) or (between(v,ref(v,barslast(yin))*0.95,ref(v,barslast(yin))*1.05))),nodraw;
liangjiabi:v/c,nodraw;
maliangjiabi:ma(liangjiabi,3),nodraw;
liangjiabixishu:=1.5;
blz:=v>ref(v,1)*1.5;
{好公式网-最好的股票公式网站 www.goodgongshi.com}
plz:=between(v,ref(v,1)*0.95,ref(v,1)*1.05) or between(v,refx(v,1)*0.95,refx(v,1)*1.05) or
(between(v,ref(v,2)*0.95,ref(v,2)*1.05) and v>ref(v,1)*1.2) or
(between(v,ref(v,3)*0.95,ref(v,3)*1.05) and v>ref(ma(v,2),1)*1.2 and v>ref(hhv(v,2),1)) or
(between(v,ref(v,4)*0.95,ref(v,4)*1.05) and v>ref(ma(v,3),1)*1.2 and v>ref(hhv(v,3),1)) or
(between(v,ref(v,5)*0.95,ref(v,5)*1.05) and v>ref(ma(v,4),1)*1.2 and v>ref(hhv(v,4),1)) or
(between(v,ref(v,6)*0.95,ref(v,6)*1.05) and v>ref(ma(v,5),1)*1.2 and v>ref(hhv(v,5),1)) or
(between(v,ref(v,7)*0.95,ref(v,7)*1.05) and v>ref(ma(v,6),1)*1.2 and v>ref(hhv(v,6),1)) or
(between(v,ref(v,8)*0.95,ref(v,8)*1.05) and v>ref(ma(v,7),1)*1.2 and v>ref(hhv(v,7),1)) or
(between(v,ref(v,9)*0.95,ref(v,9)*1.05) and v>ref(ma(v,8),1)*1.2 and v>ref(hhv(v,8),1)) or
(between(v,ref(v,10)*0.95,ref(v,10)*1.05) and v>ref(ma(v,9),1)*1.2 and v>ref(hhv(v,9),1)) or
(between(v,ref(v,11)*0.95,ref(v,11)*1.05) and v>ref(ma(v,10),1)*1.2 and v>ref(hhv(v,10),1)) or
(between(v,ref(v,12)*0.95,ref(v,12)*1.05) and v>ref(ma(v,11),1)*1.2 and v>ref(hhv(v,11),1));
glz:=v=hhv(v,3) and v=refx(hhv(v,3),2);
tlz:=(v*1.1<refx(v,1) and refx(v,1)*1.1<refx(v,2)) or (v>ref(v,1)*1.1 and v*1.1<refx(v,1)) or (v>ref(v,1)*1.1 and ref(v,1)>ref(v,2)*1.1);
jsls:=c<=refx(c,1) and refx(c,1)<=refx(c,2) and liangjiabi>refx(liangjiabi,1) and refx(liangjiabi,1)>refx(liangjiabi,2);
jz:=blz or glz or plz or tlz,nodraw;
jjz:=currbarscount>=4 and yang and (yangsheng) and jz and refx(llv(di,3),3)>=di and (refx(ma(liangjiabi,3),3)<=liangjiabixishu*liangjiabi or refx(jsls,1)) and refx(c,3)>=ding,nodraw;
hjz1:=jjz and refx(ma(c,3),3)>=ding and refx(ma(liangjiabi,3),3)<=liangjiabi and refx(yang,3);
hjz2:=yang and yangsheng and jz and refx(di,1)>=di and refx(jjz,2) and refx(c,2)>ding and refx(liangjiabi,1)<liangjiabi;
hjz3:=yang and yangsheng and jz and refx(llv(di,2),2)>=di and refx(jjz,3) and refx(c,3)>ding and refx(ma(liangjiabi,2),2)<liangjiabi;
hjz4:=jjz and refx(llv(di,3),3)>=ding and refx(ma(liangjiabi,3),3)<=liangjiabi and refx(yang,3) and (refx(yang,1) or refx(yang,2));
wp:jjz or hjz1 or hjz4 or hjz2 or hjz3,nodraw;
condjjz:=jjz and ref(not(wp),1);
condhjz1:=(hjz1 or hjz2 or hjz3) and ref(not(wp),1);
stickline(condjjz,c,o,1,0),coloryellow;
stickline(condhjz1,c,o,1,0),colormagenta;
drawtext(hjz4 and ref(not(hjz4),1),l*0.98,'h'),colorred;
drawline(condjjz,ding,ref(condjjz,1),ref(ding,1),1),colorbrown;
drawline(condjjz,di,ref(condjjz,1),ref(di,1),1),colorbrown;
drawline(condhjz1,ding,ref(condhjz1,1),ref(ding,1),1),colorbrown;
drawline(condhjz1,di,ref(condhjz1,1),ref(di,1),1),colorbrown;
vol5:=ma(vol,5),colorwhite;
vol10:=ma(vol,10),coloryellow;
vol40:=ma(vol,40),colorff00ff ;
ma5:=ma(close,5),colorwhite;
ma10:=ma(close,10),coloryellow;
ma20:=ma(close,20),colormagenta;
ma60:=ma(close,60),colorgreen;
ma120:=ma(close,120),colorlimagenta;
ma240:=ma(close,240),colorblue,nodraw;
量托:=vol5>=vol40 and cross(vol10,vol40) and ref(vol10,1)<ref(vol40,1);
drawtext(量托,l-0.012,'量托'),colorwhite;
aa1:=barslast(ma60>ma20 and (ma20=ma10 or ma20>ma10));
bb1:=ref(count(c<ma60,aa1)=aa1,1);
cc1:=cross(c,ma60) and vol>ma(vol,5) and (c-ref(c,1))/ref(c,1)*100>3;
芙蓉出水:=bb and cc1,color00ff00;
drawtext(芙蓉出水,h+0.12,'芙蓉出水'),colorff00ff;
stickline(芙蓉出水,h,l,0.5,1),colorff00ff;
stickline(芙蓉出水,o,c,3,1),linethick2,colorff00ff;
ma1:=ma(close,14);
ma2:=ma(close,25);
ma3:=ma(close,99);
zj:=amount/10000;{资金}
tm:=v-ma(v,10);{量填满}
一穿三:=ma1>o and ma2>o and ma3>o and ma1<c and ma2<c and ma3<c and close>open ;
drawtext(一穿三,l-0.012,'穿'),colorff00ff;
ty:=c;
a1:=ref(ty,10)=hhv(ty,2*10+1); b1:=filter(a1,10); c1:=backset(b1,10+1); hd:=filter(c1,10);
a2:=ref(ty,10)=llv(ty,2*10+1); b2:=filter(a2,10); c2:=backset(b2,10+1); ld:=filter(c2,10);
前期高位:=ref(c,barslast(hd)),color00ff00,pointdot;
stickline(c,前期高位,前期高位,8,0),colorred;
stickline((high-max(close,open))/(high-low)>0.667,h,c,0.8,0),colorblue;
三日不破:=min(min(l,ref(l,1)),ref(l,2))>=ref(l,3);
三日量缩:=(max(max(v,ref(v,1)),ref(v,2))<ref(v,3));
三日价涨a:=c>=ref(c,1);
三日价涨b:=c<ref(c,1);
三日价涨c:=min(min(c,ref(c,1)),ref(c,2))>=ref(l,3);
tim:=if(date<1140214,1,0);
缩倍柱:=(vol*1.95<=ref(vol,1))*tim;
百日低量:=(vol=llv(vol,100))*tim;
倍量柱:=c>ref(c,1)*1.04 and (vol>=1.9*ref(vol,1))*tim;
四日前倍量柱:=(ref(vol,3)>1.9*ref(vol,4))*tim;
四日前高量柱:=(ref(vol,3)>=ref(vol,4) and ref(vol,3)<1.9*ref(vol,4) and 三日量缩)*tim;
前三引用不成立:=count(ref(四日前倍量柱,1) and (ref(三日不破,1) or ref(三日价涨c,1)),3)=0 and count(ref(四日前高量柱,1) and (ref(三日不破,1) or ref(三日价涨c,1)),3)=0;
倍量黄金柱:=四日前倍量柱 and 三日量缩 and 三日不破 and 三日价涨a and 前三引用不成立;
高量黄金柱:=四日前高量柱 and 三日量缩 and 三日不破 and 三日价涨a and 前三引用不成立;
黄金柱:=倍量黄金柱 or 高量黄金柱;{好公式网-最好的股票公式网站 www.goodgongshi.com}
次倍量黄金柱:=not(黄金柱) and 四日前倍量柱 and 三日量缩 and 三日不破 and 三日价涨b and 前三引用不成立;
次高量黄金柱:=not(黄金柱) and 四日前高量柱 and 三日量缩 and 三日不破 and 三日价涨b and 前三引用不成立;
次黄金柱:=次倍量黄金柱 or 次高量黄金柱;
准倍量黄金柱:=not(黄金柱 or 次黄金柱) and 四日前倍量柱 and ((三日量缩 and 三日价涨c) or (count(倍量柱,3)>=1 and 三日不破)) and 前三引用不成立;
准高量黄金柱:=not(黄金柱 or 次黄金柱) and 四日前高量柱 and (三日量缩 and 三日价涨c) and 前三引用不成立;
准黄金柱:=准倍量黄金柱 or 准高量黄金柱;
倍量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱) and 四日前倍量柱 and 三日不破 and 三日价涨a and 前三引用不成立;
高量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱) and 四日前高量柱 and 三日不破 and 三日价涨a and 前三引用不成立;
将军柱:=倍量将军柱 or 高量将军柱;
次倍量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱) and 四日前倍量柱 and 三日不破 and 三日价涨b and 前三引用不成立;
次高量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱) and 四日前高量柱 and 三日不破 and 三日价涨b and 前三引用不成立;
次将军柱:=次倍量将军柱 or 次高量将军柱;
准倍量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱 or 次将军柱) and 四日前倍量柱 and 三日价涨c and 前三引用不成立;
准高量将军柱:=not(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱 or 次将军柱) and 四日前高量柱 and 三日价涨c and 前三引用不成立;
准将军柱:=准倍量将军柱 or 准高量将军柱;
backset100:=backset(黄金柱 or 次黄金柱 or 准黄金柱 or 将军柱 or 次将军柱 or 准将军柱,4);
filter100:=filter(backset100,3),nodraw;
backset101:=backset(黄金柱,4);
filter101:=filter(backset101,3);
backset102:=backset(次黄金柱,4);
filter102:=filter(backset102,3);
backset103:=backset(准黄金柱,4);
filter103:=filter(backset103,3);
backset104:=backset(将军柱,4);
filter104:=filter(backset104,3);
backset105:=backset(次将军柱,4);
filter105:=filter(backset105,3);
backset106:=backset(准将军柱,4);
filter106:=filter(backset106,3);
黄金线下影线:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<=ref(l,3);
黄金线实体下端:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<=min(ref(c,3),ref(o,3)) and min(min(l,ref(l,1)),ref(l,2))>ref(l,3),linethick0;
黄金线上影线:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>=ref(h,3);
黄金线实体上端:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>=max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<ref(h,3);
黄金线实体中间:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>min(ref(c,3),ref(o,3));
黄金线实体中间1:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>min(ref(c,3),ref(o,3)) and ref(l,2)=min(min(l,ref(l,1)),ref(l,2));
黄金线实体中间2:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>min(ref(c,3),ref(o,3)) and ref(l,1)=min(min(l,ref(l,1)),ref(l,2));
黄金线实体中间3:=ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))<max(ref(c,3),ref(o,3)) and ref(filter100,3)=1 and min(min(l,ref(l,1)),ref(l,2))>min(ref(c,3),ref(o,3)) and l=min(min(l,ref(l,1)),ref(l,2));
backset201:=backset(黄金线下影线,4);
filter201:=filter(backset201,3),nodraw;
backset202:=backset(黄金线实体下端,4);
filter202:=filter(backset202,3),nodraw;
backset203:=backset(黄金线上影线,4);
filter203:=filter(backset203,3),nodraw;
backset204:=backset(黄金线实体上端,4);
filter204:=filter(backset204,3),nodraw;
backset205:=backset(黄金线实体中间,4);
filter205:=filter(backset205,3),nodraw;
backset2051:=backset(黄金线实体中间1,4);
filter2051:=filter(backset2051,3),nodraw;
backset2052:=backset(黄金线实体中间2,4);
filter2052:=filter(backset2052,3),nodraw;
backset2053:=backset(黄金线实体中间3,4);
filter2053:=filter(backset2053,3),nodraw;
bt201:=if(barslast(filter201)=drawnull,barscount(close),barslast(filter201));
bt202:=if(barslast(filter202)=drawnull,barscount(close),barslast(filter202));
bt203:=if(barslast(filter203)=drawnull,barscount(close),barslast(filter203));
bt204:=if(barslast(filter204)=drawnull,barscount(close),barslast(filter204));
bt205:=if(barslast(filter205)=drawnull,barscount(close),barslast(filter205));
bt2051:=if(barslast(filter2051)=drawnull,barscount(close),barslast(filter2051));
bt2052:=if(barslast(filter2052)=drawnull,barscount(close),barslast(filter2052));
bt2053:=if(barslast(filter2053)=drawnull,barscount(close),barslast(filter2053));
最近黄金线:=min(min(min(min(min(min(bt201,bt202),bt203),bt204),bt2051),bt2052),bt2053);
day1:=sumbars(filter100,1),nodraw;
hjx1_1:=if(sumbars(filter201,1)=day1,if(day1=1,low,ref(low,day1-1)),0),nodraw;
hjx1_2:=if(sumbars(filter202,1)=day1,if(day1=1,min(c,o),min(ref(c,day1-1),ref(open,day1-1))),0),nodraw;
hjx1_3:=if(sumbars(filter203,1)=day1,if(day1=1,high,ref(high,day1-1)),0),nodraw;
hjx1_4:=if(sumbars(filter204,1)=day1,if(day1=1,max(c,o),max(ref(c,day1-1),ref(open,day1-1))),0),nodraw;
hjx1_51:=if(sumbars(filter2051,1)=day1,if(day1=2,low,if(day1<2,drawnull,ref(low,day1-2))),0),nodraw;
hjx1_52:=if(sumbars(filter2052,1)=day1,if(day1=3,low,if(day1<3,drawnull,ref(low,day1-3))),0),nodraw;
hjx1_53:=if(sumbars(filter2053,1)=day1,if(day1=4,low,if(day1<4,drawnull,ref(low,day1-4))),0),nodraw;
黄金线:hjx1_1+hjx1_2+hjx1_3+hjx1_4+hjx1_51+hjx1_52+hjx1_53,coloryellow,nodraw;
立桩量:=vol=hhv(vol,40) and vol>1.9*ref(vol,1);
立桩量三日突破:=if(barslast(立桩量)=1 and close>ref(high,1),1,if(barslast(立桩量)=2 and close>ref(high,2),1,if(barslast(立桩量)=3 and close>ref(high,3),1,0)));
立桩量三日不破:=barslast(立桩量)=3 and ref(low,3)<=min(min(c,ref(c,1)),ref(c,2));
backset300:=backset(立桩量三日不破,4);
backset301:=backset(立桩量三日突破,4);
立桩量成立:=filter(backset300,3) and backset301 and 立桩量;
drawtext(立桩量成立,high*1.01,'↙立桩量'),colorred;
drawtext(filter101,low*0.986,'↖黄金柱'),coloryellow;
drawtext(filter102,low*0.986,'↖次黄金柱'),coloryellow;
drawtext(filter104,low*0.986,'↖将军柱'),coloryellow;
{stickline(close/ref(c,1)>=1.09,o,c,2.7,0),coloryellow;};
drawicon(cross(c,前期高位),前期高位,1);{突破前期高位};
n1:=20;
n2:=10;
n3:=5;
laa:=ref(h,n2)=hhv(h,2*n2+1);
lqy:=backset(laa,n2+1);
lcc:=filter(lqy,n2) and h=hhv(h,n2+1);
lddd:=barslast(lcc);
lgdts:=if(lcc,currbarscount,0);
ldingbu:=if(lddd,ref(h,lddd),h);{顶部}
ldingbuts:=if(lddd,ref(lgdts,lddd),lgdts);
ldingbu1:=ref(ldingbu,lddd+1);
lgdcs1:=const(ldingbuts);
ldingbuts1:=ref(ldingbuts,lddd+1);
lgdcs2:=const(ldingbuts1);
ldingbu2:=ref(ldingbu1,lddd+1);
lmm:=if(currbarscount>lgdcs2,0,1);
压力:drawline(currbarscount=lgdcs2,h,currbarscount=lgdcs1,h,1) colorwhite;
drawline(currbarscount=lgdcs2,h,islastbar,ref(h,lgdcs2-1),1),color0055ff,pointdot;
drawline(currbarscount=lgdcs1,h,islastbar,ref(h,lgdcs1-1),1),coloryellow,pointdot;
上一指标公式:强势选股 通达信选股
下一指标公式:量价控盘程度 通达信程度
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文平台突破 通达信突破仅供学习研究。