霸王装-八线版(主图)
顶: cost(95)*1, linedot,colorred;
var11:=(2*close+high+low)/4;
底: ema(var11,99)*0.91,linedot,colorgreen ;
{霸王庄}
主力持仓:=ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3);
指数趋势:=ema(100*(indexc-llv(indexl,34))/(hhv(indexh,34)-llv(indexl,34)),3);
强弱分界:=80;
主力筹码集中度:=winner(c)*100;
散筹筹码集中度:=(winner(c*1.1)-winner(c*0.9))*100;
qiang:=(主力持仓-散筹筹码集中度)>20 and (主力筹码集中度-散筹筹码集中度)>0 and 主力持仓>50;
强庄坐镇:if(qiang,1,0),colorred,linethick0;
drawtext(强庄坐镇,(底 * 0.99),'●'),coloryellow;
●霸王庄●:if(qiang and 主力筹码集中度-散筹筹码集中度>20,1,0),colorff80ff,linethick0;;
drawtext(●霸王庄●,(底 * 0.98),'●'),colorred;
{八线}
七天线:ema(c,7);
持股线:ema(c,15),colorred,linethick2;
生命线:ema(c,25),colorgreen;
初月线:ema(c,34),coloryellow;
双月线:ema(c,56),color0099ff;
长牛线:ema(c,235);
牛熊线:ema(c,453),colorwhite;
stickline(c<持股线,h,l,0.4,2),colorgreen;
stickline(c<持股线,o,c,8,2),colorgreen;
stickline(c>持股线,h,l,0.4,0),colorred;
stickline(c>持股线,o,c,8,0),colorred;
macd力道(副图)
input : m(9),long(26),short(12);
diff : ema(close,short) - ema(close,long);
dea: ema(diff,m);
macd : 2*(diff-dea), colorstick;
macd2:=macd;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,2,0 ),color00aaff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,1.8,0 ),color00bbff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,1.3,0 ),color00ccff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,1.2,0 ),color00ddff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,1,0 ),color00eeff;
stickline(macd2<=ref(macd2,1)and macd2>0,0,macd2,0.5,0 ),color00ffff;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,5,0 ),color0000aa;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,4 ,0 ),color0011bb;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,3,0 ),color0022cc;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,2,0 ),color0033dd;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,1,0 ),color0044ee;
stickline(macd2>ref(macd2,1)and macd2>0,0,macd2,0.5 ,0 ),color0055ff;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,5,0 ),coloraa00bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,4 ,0 ),colorbb11bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,3,0 ),colorcc22bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,2,0 ),colordd33bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,1 ,0 ),coloree44bb;
stickline(macd2>ref(macd2,1)and macd2<=0,0,macd2,0.5,0 ),colorff55bb;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,2,0 ),colorff7700;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,1.5 ,0 ),colorff8811;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,1.2,0 ),colorffaa22;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,1.0 ,0 ),colorffbb33;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,0.8 ,0 ),colorffdd44;
stickline(macd2<=ref(macd2,1)and macd2<=0,0,macd2,0.5 ,0 ),colorffff55;
二线:c>ref(c,1) and cross(c,ma(c,5)) and cross(c,ma (c,10)) or cross(c,ma(c,20)) and cross(c,ma (c,10)),colorgreen;
三线:c>ref(c,1) and cross(c,ma(c,5)) and cross(c,ma (c,10)) and cross(c,ma(c,20)),colorgreen;
四线:c>ref(c,1) and cross(c,ma(c,5)) and cross(c,ma (c,10)) and cross(c,ma(c,20)) and cross(c,ma(c,30)),coloryellow;
五线:c>ref(c,1) and cross(c,ma(c,5)) and cross(c,ma (c,10)) and cross(c,ma(c,20)) and cross(c,ma(c,30)) and cross(c,ma(c,40)),colorred;
六线:c>o and cross(c,ma(c,5)) and cross(c,ma(c,10)) and cross(c,ma(c,20)) and cross(c,ma(c,30))and cross(c,ma(c,40)) and cross(c,ma(c,60)) and slope(ma(c,60),2)>0,colorffff00;
a:=if(cross(c,ma(c,5)),1,0);
b:=if(cross(c,ma(c,10)),1,0);
c1:=if(cross(c,ma(c,20)),1,0);
d:=if(cross(c,ma(c,30)),1,0);
e:=if(cross(c,ma(c,40)),1,0);
f:=if(cross(c,ma(c,50)),1,0);
g:=if(cross(c,ma(c,60)),1,0);
h1:=if(cross(c,ma(c,90)),1,0);
i:=if(cross(c,ma(c,100)),1,0);
l1:=if(cross(c,ma(c,120)),1,0);
o1:=if(cross(c,ma(c,150)),1,0);
p:=if(cross(c,ma(c,180)),1,0);
q:=if(cross(c,ma(c,200)),1,0);
r:=if(cross(c,ma(c,250)),1,0);
s:=if(cross(c,ma(c,70)),1,0);
t:=if(cross(c,ma(c,80)),1,0);
s:a+b+c1+d+e+f+g+h1+i+l1+o1+p+q+r+s+t,linethick0;
stickline(s<>0,diff,dea,3,0),colorff;
a1:=s;
b1:=('上穿过:' + numtostr(a1[sysparam(1)],2));{定义出b1价格=光标位置的a2值保留小数点后两位}
drawtext((barpos = sysparam(1)) ,macd*1.01,b1),colorffff,shift2;{在a1处写出b1价格} ;
explainex(barpos = sysparam(1) ,'上穿过:',a1,2,0),color5290ff;
drawicon(s,macd,10);
a2:=if(cross(ma(c,5),c),1,0);
b2:=if(cross(ma(c,10),c),1,0);
c2:=if(cross(ma(c,20),c),1,0);
d2:=if(cross(ma(c,30),c),1,0);
e2:=if(cross(ma(c,40),c),1,0);
f2:=if(cross(ma(c,50),c),1,0);
g2:=if(cross(ma(c,60),c),1,0);
h2:=if(cross(ma(c,90),c),1,0);
i2:=if(cross(ma(c,100),c),1,0);
l2:=if(cross(ma(c,120),c),1,0);
t2:=if(cross(c,ma(c,150)),1,0);
o2:=if(cross(ma(c,180),c),1,0);
p2:=if(cross(ma(c,200),c),1,0);
q2:=if(cross(ma(c,250),c),1,0);
r2:=if(cross(ma(c,70),c),1,0);
s2:=if(cross(ma(c,80),c),1,0);
s1:a2+b2+c2+d2+e2+f2+g2+h2+i2+l2+p2+q2+r2+s2+t2,linethick0;
stickline(s1<>0,diff,dea,3,0),colorff00;
a1:=s1;
b1:=('下穿过:' + numtostr(a1[sysparam(1)],2));{定义出b1价格=光标位置的a2值保留小数点后两位}
explainex(barpos = sysparam(1) ,'下穿过:',a1,2,0),color5290ff;
drawtext((barpos = sysparam(1)) ,0-macd*1.5,b1),colorffff00,shift2;{在a1处写出b1价格}
drawicon(s1,0,11);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文霸王装-八线版主图+MACD力道副图公式下载 飞狐霸王指标 源码仅供学习研究。