牛魔王指标 公式 源码[其他软件公式]
指标公式分析及使用参考说明:
根据给定的指标和公式,我们可以得到以下分析总结思路和操作建议:
1. 拉升资金:这个指标用于确定资金的拉升情况。如果B大于等于0并且大于120,资金将被拉升至120;如果B小于0或者日期超过1080531,则资金降为-18。建议在资金拉升时考虑买入股票。
2. 牛魔王:牛魔王指标是一种对于股价上涨行情的判断指标,当魔王值大于10000时,预示着牛市的到来,建议关注买入机会。
3. 小牛魔王:这是一个更加细致的牛魔王指标,建议同时满足以下条件时考虑买入股票:开盘价小于或等于CXH106、CXH107、CXH108三个均线,收盘价大于等于CXH106、CXH112两个均线,并且中线趋势和短线趋势均为正值。
4. 主力建仓:当CXH98小于8.5并且CXH97小于11时,表示主力资金在建仓,可能是一个适合买入的时机。
5. 魔王和小牛魔王指标可以作为判断股价上涨行情的依据,当出现牛魔王或小牛魔王时,可适量增加仓位。
总的来说,以上指标和总结思路主要用于判断股价的上涨行情,建议在符合条件的情况下适时买入股票。然而,投资有风险,请在实际操作中结合其他技术指标和基本面因素进行综合分析,制定适合自己的投资策略。
源码:
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;
CXH96:=((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28)))*(100);
CXH97:=SMA(CXH96,4,1);
CXH98:=SMA(CXH97,2,1);
CXH99:=DMA(((AMOUNT)/(VOL))/(100),(VOL)/(CAPITAL));
CXH100:=LOW;
CXH101:=REF(LOW,1);
CXH102:=((SMA(ABS(CXH100-CXH101),3,1))/(SMA(MAX(CXH100-CXH101,0),牛,1)))*(100);
CXH103:=MA(IF(((CLOSE)*(1.68)<=MAXCYC),(CXH102)*(10),(CXH102)/(10)),牛);
CXH104:=LLV(LOW,30);
CXH105:=HHV(CXH103,30);
魔王:=MA(IF((LOW<=CXH104),(CXH103+(CXH105)*(2))/(2),0),牛);
牛魔王:IF(魔王>10000,100,0),Linethick2,CoLor00FFFF;
CXH106:=MA(CLOSE,5);
CXH107:=MA(CLOSE,10);
CXH108:=MA(CLOSE,30);
CXH109:=(SUM(((CLOSE)*(VOL))*(100),4))/(SUM((VOL)*(100),4));
CXH110:=(SUM(((CLOSE)*(VOL))*(100),7))/(SUM((VOL)*(100),7));
CXH111:=(SUM(((CLOSE)*(VOL))*(100),28))/(SUM((VOL)*(100),28));
CXH112:=(INTPART((CXH111)*(100)))/(100);
短线趋势:=EMA(CLOSE,5)-EMA(CLOSE,10);
中线趋势:=EMA(短线趋势,中线);
CXH113:=REF(中线趋势,1);
CXH114:=中线趋势;
CXH115:=CXH114-CXH113;
CXH116:=REF(短线趋势,1);
CXH119:=短线趋势;
CXH120:=CXH119-CXH116;
CXH117:=OPEN;
CXH118:=CLOSE;
小牛魔王:IF((CXH117<=CXH106) AND (CXH117<=CXH107) AND (CXH117<=CXH108) AND (CXH118>=CXH106) AND (CXH118>=CXH112) AND (CXH115>0) AND (CXH120>0) ,80,0),Linethick2,CoLorFFFFFF;
主力建仓:IF((CXH98<8.5) AND (CXH97<11),120,(-18)),Linethick2,CoLor0000FF;
CXH84:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100);
CXH85:=100-ABS(CXH84);
CXH86:=(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));
CXH87:=(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));
CXH88:=100-CXH87;
CXH89:=100-CXH86;
CXH92:=MA(((100)*(CLOSE-LLV(CLOSE,34)))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
CXH93:=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));
CXH94:=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));
CXH95:=(CXH93<REF(CXH94,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;
CXH1:=REF((LOW+OPEN+CLOSE+HIGH)/(4),1);
CXH2:=(SMA(ABS(LOW-CXH1),13,1))/(SMA(MAX(LOW-CXH1,0),10,1));
CXH3:=EMA(CXH2,10);
CXH4:=LLV(LOW,33);
CXH5:=EMA(IF((LOW<=CXH4),CXH3,0),5);
CXH6:=REF(CLOSE,1);
CXH7:=((SMA(MAX(CLOSE-CXH6,0),6,1))/(SMA(ABS(CLOSE-CXH6),6,1)))*(100);
CXH8:=(LLV(LOW,5)=LLV(LOW,45)) AND (CLOSE>=(OPEN)*(1.04));
CXH9:=(CLOSE>(REF(HIGH,1)+REF(LOW,1))/(2));
CXH10:=CXH8 AND CXH9;
CXH11:=((2)*(CLOSE)+HIGH+LOW)/(4);
CXH12:=LLV(LOW,13);
CXH13:=HHV(HIGH,13);
CXH14:=(LLV(LOW,1)=LLV(LOW,35)) AND (CLOSE>=(OPEN)*(1.04));
CXH15:=(CLOSE>(REF(HIGH,1)+REF(LOW,1))/(2));
CXH16:=EMA(((CXH11-CXH12)/(CXH13-CXH12))*(100),13);
CXH17:=(((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);
CXH19:=MA(CLOSE,13);
CXH20:=100-ABS(((CLOSE-CXH19)/(CXH19))*(100));
CXH21:=LLV(LOW,75);
CXH22:=HHV(HIGH,75);
CXH23:=(CXH22-CXH21)/(100);
CXH24:=SMA((CLOSE-CXH21)/(CXH23),20,1);
CXH25:=SMA((OPEN-CXH21)/(CXH23),20,1);
CXH26:=(3)*(CXH24)-(2)*(SMA(CXH24,15,1));
CXH27:=MA(HHV(HIGH,485),17);
CXH28:=MA(HHV(HIGH,222),17);
CXH29:=MA(HHV(HIGH,96),17);
CXH30:=MA(LLV(LOW,485),17);
CXH31:=MA(LLV(LOW,222),17);
CXH32:=MA(LLV(LOW,96),17);
CXH33:=MA(((CXH30)*(0.96)+(CXH31)*(0.96)+(CXH32)*(0.96)+(CXH27)*(0.558)+(CXH28)*(0.558)+(CXH29)*(0.558))/(6),17);
CXH34:=MA(((CXH30)*(1.25)+(CXH31)*(1.23)+(CXH32)*(1.2)+(CXH27)*(0.55)+(CXH28)*(0.55)+(CXH29)*(0.65))/(6),17);
CXH35:=MA(((CXH30)*(1.3)+(CXH31)*(1.3)+(CXH32)*(1.3)+(CXH27)*(0.68)+(CXH28)*(0.68)+(CXH29)*(0.68))/(6),17);
CXH36:=LLV(LOW,30);
CXH37:=MA((((CXH33)*(3)+(CXH34)*(2)+CXH35)/(6))*(1.738),17);
CXH38:=CXH37;
CXH39:=LOW;
CXH40:=REF(LOW,1);
CXH41:=((SMA(ABS(CXH39-CXH40),3,1))/(SMA(MAX(CXH39-CXH40,0),N,1)))*(100);
CXH42:=MA(IF(((CLOSE)*(1.35)<=CXH38),(CXH41)*(10),(CXH41)/(10)),N);
CXH43:=HHV(CXH42,30);
CXH44:=1080531;
CXH45:=(3)*(CXH25)-(2)*(SMA(CXH25,15,1));
CXH46:=100-CXH45;
CXH47:=1;
CXH49:=(REF(LOW,1))*(0.9);
CXH50:=(LOW)*(0.9);
CXH51:=((CXH50)*(VOL)+(CXH49)*(CAPITAL-VOL))/(CAPITAL);
CXH52:=EMA(CXH51,30);
CXH53:=CLOSE-REF(CLOSE,1);
CXH54:=MAX(CXH53,0);
CXH55:=ABS(CXH53);
CXH56:=((SMA(CXH54,7,1))/(SMA(CXH55,7,1)))*(100);
CXH57:=((SMA(CXH54,13,1))/(SMA(CXH55,13,1)))*(100);
CXH58:=BARSCOUNT(CLOSE);
CXH59:=((SMA(MAX(CXH53,0),6,1))/(SMA(ABS(CXH53),6,1)))*(100);
CXH60:=(((-200))*(HHV(HIGH,60)-CLOSE))/(HHV(HIGH,60)-LLV(LOW,60))+100;
CXH61:=((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100);
CXH62:=SMA((SMA(CXH61,4,1)-50)*(2),3,1);
CXH63:=((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14)))*(100);
CXH64:=SMA(CXH63,4,1);
CXH65:=SMA(CXH64,3,1);
CXH66:=((HHV(HIGH,30)-CLOSE)/(CLOSE))*(100);
CXH67:=(CXH59<=25) AND (CXH60<(-95)) AND (CXH66>20) AND (CXH62<(-30)) AND (CXH65<30) AND (CXH52-CLOSE>=(-0.25)) AND (CXH56<22) AND (CXH57<28) AND (CXH58>50);
CXH68:=(HIGH+LOW+CLOSE)/(3);
CXH69:=(CXH68-MA(CXH68,14))/((0.015)*(AVEDEV(CXH68,14)));
CXH70:=(CXH68-MA(CXH68,70))/((0.015)*(AVEDEV(CXH68,70)));
CXH71:=IF((CXH69>=150) AND (CXH69<200) AND (CXH70>=150) AND (CXH70<200),10,0);
CXH72:=IF((CXH69<=(-150)) AND (CXH69>(-200)) AND (CXH70<=(-150)) AND (CXH70>(-200)),(-10),CXH71);
CXH73:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
CXH74:=REVERSE(CXH73);
CXH75:=SMA(CXH73,3,1);
绝佳买点:=MA(IF((LOW<=CXH36),(CXH42+(CXH43)*(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;
龙:=CXH10;
买4:=CXH14;
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))
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容