{牛魔王}
input:bn(3),牛(3),短线(9),中线(9);
{bn:1,100,3;牛:1,100,3;短线:1,20,9;中线:1,30,9;}
maxcyc:=dma((c+o)/2,v/capital);
mav:=(((close)*(2)+high+low)/(4))*(10);
sk:=ema(mav,13)-ema(mav,34);
sd:=ema(sk,5);
b:=((2)*(sk-sd))*(5.5);
拉升资金:if((if((b>=0),b,(-18))>120),120,if((b>=0) and (date<=1080531),b,(-18))),linethick2,colorff00ff;
var96:=((close-llv(low,28))/(hhv(high,28)-llv(low,28)))*(100);
var97:=sma(var96,4,1);
var98:=sma(var97,2,1);
var99:=dma(((amount)/(vol))/(100),(vol)/(capital));
var100:=low;
var101:=ref(low,1);
var102:=((sma(abs(var100-var101),3,1))/(sma(max(var100-var101,0),牛,1)))*(100);
var103:=ma(if(((close)*(1.68)<=maxcyc),(var102)*(10),(var102)/(10)),牛);
var104:=llv(low,30);
var105:=hhv(var103,30);
魔王:=ma(if((low<=var104),(var103+(var105)*(2))/(2),0),牛);
牛魔王:if(魔王>10000,100,0),linethick2,color00ffff;
var106:=ma(close,5);
var107:=ma(close,10);
var108:=ma(close,30);
var109:=(sum(((close)*(vol))*(100),4))/(sum((vol)*(100),4));
var110:=(sum(((close)*(vol))*(100),7))/(sum((vol)*(100),7));
var111:=(sum(((close)*(vol))*(100),28))/(sum((vol)*(100),28));
var112:=(intpart((var111)*(100)))/(100);
短线趋势:=ema(close,5)-ema(close,10);
中线趋势:=ema(短线趋势,中线);
var113:=ref(中线趋势,1);
var114:=中线趋势;
var115:=var114-var113;
var116:=ref(短线趋势,1);
var119:=短线趋势;
var120:=var119-var116;
var117:=open;
var118:=close;
小牛魔王:if((var117<=var106) and (var117<=var107) and (var117<=var108) and (var118>=var106) and (var118>=var112) and (var115>0) and (var120>0) ,80,0),linethick2,colorffffff;
主力建仓:if((var98<8.5) and (var97<11),120,(-18)),linethick2,color0000ff;
var84:=((close-ma(close,13))/(ma(close,13)))*(100);
var85:=100-abs(var84);
var86:=(3)*(sma(((close-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1))-(2)*(sma(sma(((close-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1),15,1));
var87:=(3)*(sma(((open-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1))-(2)*(sma(sma(((open-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1),15,1));
var88:=100-var87;
var89:=100-var86;
var92:=ma(((100)*(close-llv(close,34)))/(hhv(high,34)-llv(low,34)),5)-20;
var93:=100-(3)*(sma(((close-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1))+(2)*(sma(sma(((close-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1),15,1));
var94:=100-(3)*(sma(((open-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1))+(2)*(sma(sma(((open-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1),15,1));
var95:=(var93<ref(var94,1)) and (vol>ref(vol,1)) and (close>ref(close,1));
a11:=(3)*(sma(((close-llv(low,55))/(hhv(high,55)-llv(low,55)))*(100),5,1))-(2)*(sma(((close-llv(low,55))/(hhv(high,55)-llv(low,55)))*(100),5,1));
黑马线:=ema(a11,5);
a12:=((黑马线-ref(黑马线,1))/(ref(黑马线,1)))*(100);
a4:=((close-llv(low,21))/(hhv(high,21)-llv(low,21)))*(100);
趋势线3:=ma((3)*(sma(a4,6,1))-(2)*(sma(sma(a4,5,1),5,1)),2);
n:=3;
var1:=ref((low+open+close+high)/(4),1);
var2:=(sma(abs(low-var1),13,1))/(sma(max(low-var1,0),10,1));
var3:=ema(var2,10);
var4:=llv(low,33);
var5:=ema(if((low<=var4),var3,0),5);
var6:=ref(close,1);
var7:=((sma(max(close-var6,0),6,1))/(sma(abs(close-var6),6,1)))*(100);
var8:=(llv(low,5)=llv(low,45)) and (close>=(open)*(1.04));
var9:=(close>(ref(high,1)+ref(low,1))/(2));
var10:=var8 and var9;
var11:=((2)*(close)+high+low)/(4);
var12:=llv(low,13);
var13:=hhv(high,13);
var14:=(llv(low,1)=llv(low,35)) and (close>=(open)*(1.04));
var15:=(close>(ref(high,1)+ref(low,1))/(2));
var16:=ema(((var11-var12)/(var13-var12))*(100),13);
var17:=(((close-ma(close,6))/(ma(close,6)))*(100)+((close-ma(close,24))/(ma(close,24)))*(100)+((close-ma(close,32))/(ma(close,32)))*(100))/(3);
var19:=ma(close,13);
var20:=100-abs(((close-var19)/(var19))*(100));
var21:=llv(low,75);
var22:=hhv(high,75);
var23:=(var22-var21)/(100);
var24:=sma((close-var21)/(var23),20,1);
var25:=sma((open-var21)/(var23),20,1);
var26:=(3)*(var24)-(2)*(sma(var24,15,1));
var27:=ma(hhv(high,485),17);
var28:=ma(hhv(high,222),17);
var29:=ma(hhv(high,96),17);
var30:=ma(llv(low,485),17);
var31:=ma(llv(low,222),17);
var32:=ma(llv(low,96),17);
var33:=ma(((var30)*(0.96)+(var31)*(0.96)+(var32)*(0.96)+(var27)*(0.558)+(var28)*(0.558)+(var29)*(0.558))/(6),17);
var34:=ma(((var30)*(1.25)+(var31)*(1.23)+(var32)*(1.2)+(var27)*(0.55)+(var28)*(0.55)+(var29)*(0.65))/(6),17);
var35:=ma(((var30)*(1.3)+(var31)*(1.3)+(var32)*(1.3)+(var27)*(0.68)+(var28)*(0.68)+(var29)*(0.68))/(6),17);
var36:=llv(low,30);
var37:=ma((((var33)*(3)+(var34)*(2)+var35)/(6))*(1.738),17);
var38:=var37;
var39:=low;
var40:=ref(low,1);
var41:=((sma(abs(var39-var40),3,1))/(sma(max(var39-var40,0),n,1)))*(100);
var42:=ma(if(((close)*(1.35)<=var38),(var41)*(10),(var41)/(10)),n);
var43:=hhv(var42,30);
var44:=1080531;
var45:=(3)*(var25)-(2)*(sma(var25,15,1));
var46:=100-var45;
var47:=1;
var49:=(ref(low,1))*(0.9);
var50:=(low)*(0.9);
var51:=((var50)*(vol)+(var49)*(capital-vol))/(capital);
var52:=ema(var51,30);
var53:=close-ref(close,1);
var54:=max(var53,0);
var55:=abs(var53);
var56:=((sma(var54,7,1))/(sma(var55,7,1)))*(100);
var57:=((sma(var54,13,1))/(sma(var55,13,1)))*(100);
var58:=barscount(close);
var59:=((sma(max(var53,0),6,1))/(sma(abs(var53),6,1)))*(100);
var60:=(((-200))*(hhv(high,60)-close))/(hhv(high,60)-llv(low,60))+100;
var61:=((close-llv(low,15))/(hhv(high,15)-llv(low,15)))*(100);
var62:=sma((sma(var61,4,1)-50)*(2),3,1);
var63:=((indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14)))*(100);
var64:=sma(var63,4,1);
var65:=sma(var64,3,1);
var66:=((hhv(high,30)-close)/(close))*(100);
var67:=(var59<=25) and (var60<(-95)) and (var66>20) and (var62<(-30)) and (var65<30) and (var52-close>=(-0.25)) and (var56<22) and (var57<28) and (var58>50);
var68:=(high+low+close)/(3);
var69:=(var68-ma(var68,14))/((0.015)*(avedev(var68,14)));
var70:=(var68-ma(var68,70))/((0.015)*(avedev(var68,70)));
var71:=if((var69>=150) and (var69<200) and (var70>=150) and (var70<200),10,0);
var72:=if((var69<=(-150)) and (var69>(-200)) and (var70<=(-150)) and (var70>(-200)),(-10),var71);
var73:=((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100);
var74:=reverse(var73);
var75:=sma(var73,3,1);
绝佳买点:=ma(if((low<=var36),(var42+(var43)*(2))/(2),0),n);
跑:=filter((ref(黑马线,1)>90) and (a12<0) ,7);
买线:=ema(close,2);
卖线:=ema((slope(close,21))*(20)+close,42);
指數位置:=(3)*(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1))-(2)*(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1),3,1));
抄底:=cross(指數位置,10);
a1:=(vol=hhv(vol,120));
a2:=((close)/(open)>1.05);
tj:=a1 and a2;
龙:=var10;
买4:=var14;
aa1:=(amount)/(vol);
bb1:=(low<(aa1)*(0.9));
cc1:=(((close-ref(close,1))/(ref(close,1)))*(100)>1.2);
dd1:=(low<(ma(close,5))*(0.921));
ee1:=(vol<(ma(vol,5))*(1.5));
ff1:=bb1 and cc1 and dd1 and ee1;
买3:=filter(ff1,3);
二十天最低跌幅:=(hhv(close,20))/(llv(close,20));
rsv:=((close-llv(low,9))/(hhv(high,9)-llv(low,9)))*(100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=(3)*(k)-(2)*(d);
x:=(llv(j,2)=llv(j,8));
买1:=cross(j,ref(j+0.01,1)) and x and (j<20) and (二十天最低跌幅>=1.3);
长期底部:=llv(high,30);
上:=(sma(low,5,2))*(0.96);
短期底部:=(llv(high,30))*(0.93);
lc:=ref(close,1);
rsi:=((sma(max(close-lc,0),6,1))/(sma(abs(close-lc),6,1)))*(100);
大顶:=filter((var17>20) and filter((var17<ref(var17,1)),5),5);
var76:=(open+low+high+close)/(4);
man:=(sma(high,21,2))*(1.05);
短底2:=ema(var76,5);
支撑:=hhv(短底2,60);
var77:=((hhv(high,36)-close)/(hhv(high,36)-llv(low,36)))*(100);
var78:=sma(var77,5,1);
var79:=sma(var78,8,1);
var80:=cross(var78,var79) and (var79<5);
var81:=(close>llv(close,60)+(0.3)*(llv(close,60))) and var80;
var82:=if((close>1000),var80,var81);
黑马起步:=var82;
逃:=filter((high>支撑) and (close<支撑) and ((close)/(open)>0-1.06) and (close<open),5);
逃命:=(黑马起步>0);
选逃:=filter((((逃命 or 逃) or cross(84,rsi)) or 大顶),3) ;
ww:=1;
小股民:=((sma(var75,3,1))*(var47))*(ww);
新庄:=((sma(小股民,3,1))*(var47))*(ww);
高抛:=cross(新庄,小股民) and (新庄>75);
买:=cross(买线,卖线) ,color0000ff;
卖:=cross(卖线,买线) ,color008000;
大黑马:=cross(趋势线3,0) and (黑马线<40);
大买:=filter((绝佳买点>30000),5);
大资金进场:=var95 and (count(var95,30)=1);
做空:=高抛+选逃+(卖=1)+跑;
选拉升股:=(买 and (拉升资金>0) or (拉升资金>0) and (count(买,5)>=1) and (count(做空,barslast(买))=0) and (ref((拉升资金>0) and (count(买,5)>=1) and (count(做空,barslast(买))=0),1)=0));
选潜力股:=(count(做空,barslast(买))=0) and ((close)/(ref(close,barslast(买)))<=1.08) and ((主力建仓=120) or (拉升资金>0)) ;
选暴涨股:买 and ((count((主力建仓=120),barslast(做空))>=3) or (count(大黑马+大买+大资金进场,7)>=1)),colorff0000;
选暴涨潜力:((close)/(ref(close,barslast(选暴涨股)))<=1.1) and (count(做空,barslast(选暴涨股))=0),color000080;
选超级暴涨股:(选暴涨股 and (count((主力建仓=120),10)>=3) or 买 and (count(大黑马+大买+大资金进场,7)>=1) and (count(做空,barslast(((大黑马 or 大买) or 大资金进场)))=0)),color800080;
黄金暴涨股:买 and (count((主力建仓=120),barslast(做空))>=3) and (拉升资金>0) and (count(大黑马+大买+大资金进场,7)>=1) and (count(做空,barslast(((大黑马 or 大买) or 大资金进场)))=0),color00ffff;
坚决买进:(((买 and 选暴涨潜力 or 选暴涨股) or 选超级暴涨股) or 黄金暴涨股),colorff00ff;
坚决买进潜力股:(坚决买进 or ((close)/(ref(close,barslast(坚决买进)))<=1.1) and (count(做空,barslast(坚决买进))<=1)) and (count(做空,barslast(买))=0) and (做空=0),color00ff00;
黄金暴涨潜力股:(黄金暴涨股 or ((close)/(ref(close,barslast(黄金暴涨股)))<=1.1) and (count(做空,barslast(黄金暴涨股))=0)) and (count(做空,barslast(买))=0) and (做空=0),colorffffff;
选底:filter((low<=上) and (high>=短期底部) and (close>=长期底部) and ((close)/(open)>1.03),3) and (date<=1080531),colorffff00;
稳赚10买:filter((买3 or 选底),3) and (count(买1+买4+龙,3)>0),color0000ff;
选持股阶段股:(count(卖,barslast(买))=0),color008000;
stickline(黄金暴涨潜力股,50,40,7,0),colorff0000;
stickline((买=1),0,50,7,0),color102099;
stickline((买=1),0,50,6,0),color1020aa;
stickline((买=1),0,50,5,0),color1020bb;
stickline((买=1),0,50,4,0),color1020cc;
stickline((买=1),0,50,3,0),color1020dd;
stickline((买=1),0,50,2,0),color1020ee;
stickline((买=1),0,50,1,0),color1020ff;
stickline((卖=1),50,100,7,0),colorff7700;
stickline((卖=1),50,100,6,0),colorff8800;
stickline((卖=1),50,100,5,0),colorff9900;
stickline((卖=1),50,100,4,0),colorffaa00;
stickline((卖=1),50,100,3,0),colorffbb00;
stickline((卖=1),50,100,2,0),colorffcc00;
stickline((卖=1),50,100,1,0),colorffdd00;
stickline(var95 and (count(var95,30)=1),50,85,5,0),colorff0000;
stickline(大黑马,50,90,5,0),colorff0000;
stickline(大买,50,30,3,0),color0000ff;
stickline(选逃,50,65,3,0),colorff0000;
stickline((选底=1),50,80,3,0),color399c71;
stickline((稳赚10买=1),50,65,3,0),colorff0000;
stickline(高抛,50,75,3,0),colorff0000;
stickline(跑,50,65,3,0),colorff0000;
stickline(坚决买进潜力股,50,58,6,0),colorff0000;
stickline(选持股阶段股,70,50,0.1,0),color0000ff;
drawtext(选持股阶段股,75,'—'),color0000ff;
drawtext(坚决买进,13,'坚决买'),color00ffff;
drawtext(选拉升股,40,'▲'),color00ffff;
drawtext(选暴涨股,50,'★'),color00ffff;
drawtext(选超级暴涨股,60,'●'),color00ffff;
drawtext(黄金暴涨股,73,'■'),color00ffff;
drawtext(var95 and (count(var95,30)=1),110,'大资金'),colorffffff;
drawtext(var95 and (count(var95,30)=1),100,'进场'),colorffffff;
drawtext(跑,70,'跑'),color008000;
drawtext(大黑马,105,'大黑马'),colorffffff;
drawtext(cross(新庄,小股民) and (新庄>75),90,'抛'),color008000;
drawtext((稳赚10买=1),80,'赚10'),colorffffff;
drawtext((稳赚10买=1),67,'%买'),colorffffff;
drawtext(if((选底=1),100,0),92,'底'),colorffffff;
drawtext(选逃,80,'逃'),color008000;
drawtext(大买,30,'大买'),colorffffff;
drawtext((买=1),(-2),'买'),color0000ff;
drawtext((卖=1),117,'卖'),color00ffff;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文牛魔王-顾王常用-公式 飞狐牛魔王指标 源码仅供学习研究。