您的位置:股票站 > 查股公式 > 沧涛绝世主升妖股猎杀系列C优化升级[查股公式]
股票行情消息数据:

沧涛绝世主升妖股猎杀系列C优化升级[查股公式]

2022/5/25 19:32:41

沧涛绝世主升妖股猎杀系列C优化升级

提供公式原文件,需要的下载附件

源码

{指标8 沧涛主升C}{注意下方7个指标都要导入文件名不能变 主升C图要调用全部文件}
调A:"均线切角.选股MA20";
调B:"游资资金1.进场";
调C:"超级资金.超资";
调D:="主散系数1.买";
调E:="山顶乖离.峰值顶";
调F:="长MACD.MO";
调G:="短MACD.MO";
主:=(调A>0 OR 调B>0 OR 调C>0) AND COUNT(调A>0,2)>=1 AND COUNT(调B>0,3)>=1
AND COUNT(调C>0,5)>=1 AND COUNT(调D>0,4)=1 AND 调F>0 AND 调G>0;
确定:IF(主>0 AND COUNT(主>0,10)=1 AND 调E<100 >=1 ,5,0);


{指标1 均线切角}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
V0:=MA(C,3)>REF(MA(C,3),1) AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,3)
AND MA(C,3)>MA(C,5) ; {均线C,MA3,MA5多头排列并向上;}
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
选股MA20:IF(角度MA5>45 AND 角度MA10>55 AND 角度MA20>30 ,
1,0),COLOR00FF00;


{指标2 超级资金}
涨幅:=9;高度:=20;跨度:=10;N4:=34;
 短线:=EMA(CLOSE,17);
 A:=(3*C+L+O+H)/6;
 X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
 +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
 REF(A,20))/210;
 中线:=EMA(X,13);
 KKA:=EMA(C,5);
 KKB:=EMA(KKA,8);
 KKC:=EMA(KKB,13);
 长线:=EMA(KKC,50);
 中期:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
 KDD:=REF(中期,1)<1 AND 中期>1;
 持股:=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);
 支撑:=LLV(持股,3);
 中期线:=MA(持股,12);
 VAR1:=1;
 VAR2:=LLV(LOW,10);
 VAR3:=HHV(HIGH,25);
 短期线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*VAR1*30;
 AAA:=(3*C+L+O+H)/6;
 C2:=EMA(AAA,6);
 C3:=EMA(AAA,5);
 SHORT:=12;
 LONG:=26;
 MID:=9;
 DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
 DEA:=EMA(DIF,MID);
 MACD:=(DIF-DEA)*2;
 N:=9;
 M1:=3;
 M2:=3;
 RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
 K:=SMA(RSV,M1,1);
 D:=SMA(K,M2,1);
 J:=3*K-2*D;
 KAAA1:=EXIST(KDD,3);
 KBBB1:=C/REF(C,1)>1+0.01*涨幅;
 KAAA2:=支撑>中期线 AND 持股=支撑;
 KBBB2:=CROSS(C2,C3);
 KCCC2:=EXIST(C/REF(C,1)>1+0.01*涨幅,跨度);
 KDDD2:=BARSLAST(中期线>短期线)<跨度;
 KAAA3:=REF(C,1)<REF(中线,1) AND C>中线;
 KBBB3:=C/REF(C,1)>1+0.01*涨幅;
 KCCC3:=中线/长线<1+0.01*高度;
超资: IF(KBBB1+KCCC2+KBBB3=3,1,0);


{指标3 游资资金1}
涨幅:=2;
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT>1,1,SAT)*100;
持股:=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);
支撑:=LLV(持股,3);
中期线:=MA(持股,12);
VAR1:=1;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
短期线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*VAR1*30;
KDDD:=饱和度>=90 AND CQ>80 AND 中期线<90;
KFFF:=BARSLAST(CROSS(短期线,中期线))<40 ;
KGGG:=C/REF(C,1)>1+0.01*涨幅;
进场:KDDD AND KFFF AND (C>O OR C/REF(C,1)>1.05) AND KGGG,LINETHICK2,COLORYELLOW;


{指标4 山顶乖离}
高:=EMA(C,50)>EMA(C,240);
底点:=BARSLAST(CROSS(EMA(C,240),EMA(C,50)));
时间:=IF(高>0,底点,50);
山顶:C/LLV(C,时间)*100-100;
峰值顶:HHV(山顶,283);
山底:C/HHV(C,250)*100-100;


{指标5 主散系数1}
ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}
ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);{//走牛天数}
ZSHJJ:=EMA(ZSHTL,89);{//散户警戒}
ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}
SH8:=EMA(ZSHTL,8);
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
{散户套牢筹码}
STICKLINE(C>0,ZSHTL,ZZLKP,0,0),COLOREEEEEE;
{散户筹码警戒}
STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,1,0),COLORAAAAAA;
{主力控盘筹码}
STICKLINE(C>0,ZZLKP,0,0,0),COLORBLUE;
{铸顶风险区}
STICKLINE(ZZLKP>75,ZZLKP,0,2,0),COLORFFFFFF;
{顶部:(ZZLKP>75),COLORFFFFFF;}
{主力筹码警戒}
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,4,0),COLORRED;
{筑底散兵坑}
STICKLINE(ZSHTL>=90,ZZLKP,0,5,0),COLOR66FFCC;
{底部:(ZSHTL>=90),COLOR66FFCC;}
{筹码总量上升}
IF(ZCMZL,ZCMZL>REF(ZCMZL,1),DRAWNULL),COLOR0066FF,LINETHICK1;
{增量资金};
{//------【数值显示】}
散户套牢系数:INTPART(ZSHTL),COLORYELLOW;
主力控盘系数:INTPART(ZZLKP),COLORCYAN;
买:IF(CROSS(主力控盘系数,散户套牢系数),120,0);


{指标6 长MACD}
P:=70;
S:=120;
N:=30;
DIF:=EMA(CLOSE,P)-EMA(CLOSE,S);
DEA:=EMA(DIF,N);
MACD:DIF,COLORSTICK;
DEA1:EMA(DIF,N),COLORBLUE,LINETHICK2;
MO:MACD>DEA1 AND (MACD>-0.27 OR BARSLAST(CROSS(0,MACD))>400 );


{指标7 短MACD}
P:=35;
S:=70;
N:=12;
DIF:=EMA(CLOSE,P)-EMA(CLOSE,S);
DEA:=EMA(DIF,N);
MACD:DIF,COLORSTICK;
DEA1:EMA(DIF,N),COLORBLUE,LINETHICK2;
MO:IF(MACD>DEA1 AND (MACD>-0.2 OR BARSLAST(CROSS(0,MACD))>=50)
 AND IF(MACD>0,(BARSLAST(CROSS(MACD,0))<25 OR MACD<1),1),1,0);

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
股票站免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29