wx:=ma(c,0);
m1:ma(close,p1);
m2:ma(close,p2)*if(n<2,wx,1);
m3:ma(close,p3)*if(n<3,wx,1);
m4:ma(close,p4)*if(n<4,wx,1);
m5:ma(close,p5)*if(n<5,wx,1);
m6:ma(close,p6)*if(n<6,wx,1);
m7:ma(close,p7)*if(n<7,wx,1);
m8:ma(close,p8)*if(n<8,wx,1);
二分位:(h+l)/2 ,linethick6,coloryellow,pointdot;
drawtextex(c,1,5,5,'所属板块:' + blkname+' 发行价'+numtostr(finance(51),2)+'元'+' 发行量'+numtostr(finance(52),2)+ '万股'),align4,colorred;
dd:=finance( 1);
ss:=finance( 7);
bl:=ss/dd*100;
gg:=finance(33);
th:=dynainfo(39);
jz:=finance(34);
drawtextex(c,1,5,55,'总股本:'+numtostr(dd,0)+'万股' +' 流通a股:'
+numtostr(ss,0)+'万股'+' 流通比例:'+numtostr(bl,3)+'%'+' 市盈率:'
+numtostr(th,2)+' 倍'+' 收益:'+numtostr(gg,3)+' 元'+' 净资产:'
+numtostr(jz,3)+' 元'+' 每股未分配'+numtostr(finance(32),2)+' 元'+' 发行价'+numtostr(finance(51),2)+'元'),colorgreen;
rsv:=(close-llv(low,10))/(hhv(high,10)-llv(low,10))*100;
k:=sma(rsv,5,1);
d:=sma(k,5,1);
j:=3*k-2*d;
x:=ref(j,1)<10 and h>ref(h,1) and c>ref(c,1) and c>ref(o,1) and l>ref(l,1);
stickline(x,l ,l,20,0),color008888;
stickline(x,l ,h,0,0),colorff00ff;
stickline(x,c ,o,5,0),colorff00ff;
天量:=vol=hhv(vol,0);
drawtext(天量,c,'-------高位天量卖'),coloryellow;
bias1:=(c-ma(c,6))/ma(c,6)*100;
bias2:=(c-ma(c,12))/ma(c,12)*100;
bias3:=(c-ma(c,24))/ma(c,24)*100;
bias:=(bias1+2*bias2+3*bias3)/6;
乖离:=ma(bias,3);
drawtext(cross(bias,乖离) and 乖离<-9,c,'---------二次bias乖离底买'),colorgreen;
换手率1:if(capital=0,indexv/estdata(12),vol/finance(7)),precision2,linethick0;
a:=ma(换手率1,2);
x0:=llv(a,20),linethick0;
x1:=(a-llv(a,20))=0;
换手最小:=if(all (a>0,5) and filterx(x1,5),x1,0),colorred;
小天:barslast(换手最小),linethick,color008888;
x2:=hhv(a,20);
x3:=(a-x2)=0;
换手最大:=if(all(ref(a,1)<x2,5) and filterx(x3,5),1,0),colorgreen;
drawtext(all (a>0,5)and filterx(x1,5),o,'-----------换手最小'),linethick3,colorred;
drawtext(all(ref(a,1)<x2,5)and filterx(x3,5),c,'-------换手最大'),linethick3,colorwhite;
hl1:winner(c)*100,colorred,linethick0;
突破:if(cross(hl1,30),100,0),colorred,linethick0;
drawtext(突破,o,'-------反弹'),coloryellow;
aa:=close > ref(close, 1) and ref(close, 1) > ref(close, 2) and ref(close, 1) < ref(close, 3) and if(ref(close, 3) < ref(close, 4), 1, if(ref(close, 4) < ref(close, 5),ref(close, 1) < ref(close, 4) or( ref(close, 2) < ref(close, 4) and ref(close, 3) >= ref(close, 5) ),if(ref(close, 5) < ref(close, 6), 1,ref(close, 6) < ref(close, 7))));
bb:=close < ref(close, 1) and ref(close, 1) < ref(close, 2) and ref(close, 1) > ref(close, 3) and if(ref(close, 3) > ref(close, 4), 1, if(ref(close, 4) > ref(close, 5),ref(close, 1) > ref(close, 4) or( ref(close, 2) > ref(close, 4) and ref(close, 3) <= ref(close, 5) ),if(ref(close, 5) > ref(close, 6), 1,ref(close, 6) > ref(close, 7))));
drawtext(aa and close>ref(open,2),low*0.995,'三平底翻红'),color,colorff00ff;
drawtext(bb and close<ref(close,2),high*1.01,'三平顶翻绿'),color00ff00;
drawicon(aa and close>ref(open,2),low,1);
drawicon(bb and close<ref(close,2),high*1.01,2);
var1:md(close,1)linethick0,colorblue;
partline(var1>ref(var1,1),var1),linethick0,colorred;
partline(var1=ref(var1,2),var1),linethick0,coloryellow;
partline(var1<ref(var1,1),var1),linethick0,colorblue;
s下:=hhv(ma(high,2),2),colorgreen,linethick0;
s上:=llv(ma(high,2),1),colorred,linethick0;
sppp:=-(s上-s下)/ref(c,1)*100;
sptem1:=(min(o,c)-l)/(h-l)*100;
sptem2:=(h-max(o,c))/(h-l)*100;
sptem3:=(c-o)/(h-l)*100;
skj1:=(sptem3>49 and sptem1>0.3*sptem2) or sptem3>80;
skj2:=(sptem3<=49 and sptem3>20 and sptem1>sptem2);
skj3:=(sptem3<=20 and sptem3>-20 and sptem1>1.2*sptem2);
skj4:=(sptem3<-20 and sptem3>-40 and sptem1>2*sptem2);
skj:=(skj1 or skj2 or skj3 or skj4) and (sppp>2 or ref(sppp,1)>2 );
短买:=if(sum(sppp>0,5)=5 and sum(skj>0,5)=0,5*(skj1 or skj2 or skj3 or skj4),5*skj),colorred;
drawtext(短买,l,'↖短买'),colorwhite;
v2:=if(barstatus=1,vol*240/minute/ref(vol,1)-1,vol/ref(vol,1)-1);
stickline(v2>=1 and c>o,o,c,3,0),coloryellow;
stickline(v2>=1 and c<o,o,c,3,0),colorblue;
drawtext(v2 and c>o,c,'--升量'),coloryellow;
drawtext(v2 and c<o,c,'--跌量'),coloryellow;
aa0:=sumbars(vol,capital),linethick0;
地量1:if(capital=0,amount=llv(amount,34),vol<ma(vol,aa0)/3) ,linethick0;
stickline(地量1,c,o,3,0),colorgreen;
drawtext(地量1 and c<o,o,'↖缩量'),colorgreen;
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠45'),colorwhite;
stickline(c>=cost(50)and c<=cost(58)and c>o,o,c,5,0),colorred;
stickline(c>=cost(97)and c<=cost(100)and c>o,o,c,5,0),colorwhite;
drawtext(c>=cost(97)and c<=cost(100) and c>o,c,'--获利大于97%'),colorred;
drawtext(c>=cost(50)and c<=cost(58) and c>o,c,'--获利50%'),coloryellow;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
买入线:=if(cross(k,15),100,0);
drawtext(买入线,l*0.99,'←kd底'),colorff00ff;
买出线:=if(cross(k,80),100,0);
drawtext(买出线,h*1.02,'←kd顶'), colorwhite ;
lc := ref(close,1);
rsi1:=sma(max(close-lc,0),8,1)/sma(abs(close-lc),8,1)*100;
买入线:=if(cross(rsi1,20),100,0);
drawtext(买入线,l*0.99,'←rsi底'), colorred ;
买出线:=if(cross(rsi1,80),100,0);
drawtext(买出线,h*1.02,'←rsi顶'),colorcyan;
wr:="w&r"(14);
drawicon(filter(cross(wr,(0 - 81)),10),l,4);//威廉买点↑ ↓
drawicon(filter(cross((0 -19),wr),10),h*1.01,5);//威廉卖点
drawtext(filter(cross(wr,(0 - 81)),21),l*0.99,'威廉买'),align0,colorred;//威廉买点
drawtext(filter(cross(0 -19,wr),21),h*1.01,'威廉卖'),align2,colorgreen;//威廉卖点
typ := (high + low + close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
买入线:=if(cross(cci,-160),100,0);
drawtext(买入线,l*0.99,'←cci底'),color0099ff ;
买出线:=if(cross(cci,200),100,0);
drawtext(买出线,h*1.02,'←cci顶'),coloryellow ;
var3:=llv(low,5)=llv(low,45) and close>=open*1.04;
var4:=close>(ref(high,1)+ref(low,1))/2;
var5:=var3 and var4;
drawtext(var5,low,'★ '),coloryellow , ;
极品底:=if((ma(c,5)-c)/c>0.04 and (ma(c,10)-ma(c,5))/ma(c,5)>0.04,50,0),colorwhite;
drawtext(极品底=50,low,'★ ');
input:n1(21,1,300);
ttj:=barslast((vol = hhv(vol,n1)));
drawsl((ttj = 0),close,0,30,0),linethick2,color0099ff ,pointdot;
ty:=dynainfo(8)>0;
gg:=v=llv(v,90) and ty;
drawicon(gg,low*0.96,10);
drawicon(gg,low*0.955,8);
drawtext(sysparam(2)=barpos,close,'《南北山头多墓田,清明祭扫各纷然;
纸灰飞作白蝴蝶,泪血染成红杜鹃。以祭祀为解放献身的先烈们及我的先祖。》证券代码:'+stklabel),align5,pxup4,coloryellow;
阳长下影线:=(o-l)/o>0.06 and c>o;
阴长下影线:=(c-l)/c>0.06 and c<o;
阳长上影线:=(h-c)/c>0.06 and c>o;
阴长上影线:=(h-o)/o>0.06 and c<o;
光头阳长下影线:=c=h and (o-l)/o>0.06 and c>o;
光脚阴长上影线:=c=l and (h-o)/o>0.06 and c<o;
白色十字星:=c=o and h>c and c>l;
drawtext(阳长下影线,h*1.01,'阳长下影线'),colorcyan;
drawtext(阴长下影线,h*1.04,'阴长下影线'),colorwhite;
drawtext(阳长上影线,h*1.06,'阳长上影线'),colorred;
drawtext(光头阳长下影线,h*1.07,'光头阳长下影线'),colorcyan;
drawtext(光脚阴长上影线,h*1.08,'光脚阴长上影线'),coloryellow;
drawtext(白色十字星,h*1.02,'白色十字星'),colorwhite;
a1:=(c+c-l);
drawicon(阴长下影线,a1,10);
a2:=(c+o-l);
drawicon(阳长下影线,a2,10);
上一指标公式:手动时间尺公式 飞狐源码指标 源码
下一指标公式:qkdx乾坤短线副图公式 飞狐源码qkdx指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用MA公式 飞狐指标MA指标 源码仅供学习研究。