分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]CPX评定(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-03-02 00:10:24
软件简介:

 cpx评定

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI0:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI值:((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)))/100,colorwhite;
DIFF : =EMA(CLOSE,12) - EMA(CLOSE,26);//MACD中DIFF的计算
DEA  : =EMA(DIFF,9);//MACD中DEA的计算
MACD1 :=2*(DIFF-DEA);//计算MACD的值(当前周期的值)
MACD2:=REF(MACD1,1);
MACD3:=IF((((MACD1/CLOSE)>-0.012)AND ((MACD1/CLOSE)<0.02)),1,0);
MACD4:=IF((MACD1>MACD2),1,0);
MACD6:=IF((MACD3=1AND MACD4=1),1,0);
ZF:=(C-(REF(C,1)))/(REF(C,1))*100;//计算当日涨幅
T0:=VOL/SHGZG*100;//计算当日换手率,SHGZG:流通股
HS:-VOL/SHGZG*10;
H3:(MA(T0,3))/10;
Y1:=REF(T0,1);//计算前一日的换手率
BZ:=(T0/Y1);//换手率的比值
JX20:=IF(C>MA(C,20) AND MA(C,20) >=REF(MA(C,20) ,1),1,0);
JX30:=IF(C>MA(C,30) AND MA(C,30) >=REF(MA(C,30) ,1),1,0);
RJX20:=IF(C>MA(C,20),1,0);
RJX5:=IF(C>MA(C,5),1,0);//股价在5日均线之上
RJX10:=IF(C>MA(C,10),1,0);
RJX05:=IF((C>MA(C,5))>(C>MA(C,10))AND(C>MA(C,5))>(C>MA(C,20))AND(C>MA(C,5))>(C>MA(C,30))AND(C>MA(C,5))>(C>MA(C,40)),1,0);
MAVOL$3:=MA(VOL,3);//成交量
MAVOL$5:=MA(VOL,5);
MAVOL$10:=MA(VOL,10);
MAVOL$20:=MA(VOL,20);
MAVOL$40:=MA(VOL,40);
MA5:=MA(AMOUNT,5);//成交额
MA10:=MA(AMOUNT,10);
MA20:=MA(AMOUNT,20);
MA60:=MA(AMOUNT,60);
CJ1:=IF ((MA10>MA20),1,0);//如果近10日平均成交额大于近20日平均成交额,则输出1
CJ2:=IF((MA5<MA20 AND MA5>REF(MA5,1)),0.5,0);
CJ3:=IF((MAVOL$5>REF(MAVOL$5,1)AND (MAVOL$3>MAVOL$5)AND ZF>1),1,0);
CJ6:=CJ1+CJ2+CJ3;
WR1=10*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3)),;//WR指标又叫威廉超买超卖指标,简称威廉指标
WR2=10*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)),;
CS=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
主力线:=(EMA(CS,3)-50)*2;
JC1:=IF((CCI0>200 AND ZF<9 AND CCI0<300),0.8,0);
JC2:=IF((BZ>1.8AND CCI0>150 AND ZF<9 AND BZ<2.5),0.8,0);
JC3:=IF((BZ<1 AND ZF<2AND 主力线<REF(主力线,1)AND CCI0<150 ),0.5,0);
JC4:=IF((BZ>1AND (CLOSE<OPEN) OR ((HIGH-CLOSE)/PRE)>0.02),0.9,0);
JC5:=IF((BZ<1.2AND (CLOSE<OPEN) AND CCI0>100 AND ZF>0),0.6,0);
JC6:=IF((主力线>80 AND (CLOSE<OPEN) AND CCI0>100 AND ZF>0),0.8,0);
JC7:=IF(BZ>3,0.8,0);
减仓:=-(JC1+JC2+JC3+JC4+JC5+JC6+JC7);
STICKLINE((CROSS(主力线,80)AND (WR1<10AND WR2<10)),0,-2,10,0),colorred;//OK
STICKLINE(CCI0>200,0-2,0-3,8,0),colorred;//OK
STICKLINE(   ((CROSS(MAVOL$3 ,MAVOL$10)AND MACD>0 AND (CCI0>REF(CCI0,1))AND(主力线>REF(主力线,1))AND BZ<1.8) AND 减仓=0 AND 主力线<70 AND (CROSS(DIFF,DEA)) ),0+0,0-2,8,0),coloryellow;
JX20:=IF(C>MA(C,20) AND MA(C,20) >=REF(MA(C,20) ,1),1,0);
JX30:=IF(C>MA(C,30) AND MA(C,30) >=REF(MA(C,30) ,1),1,0);
RJX20:=IF(C>MA(C,20),1,0);
RJX5:=IF(C>MA(C,5),1,0);//股价在5日均线之上
RJX5R:=MA(C,5);
RJX10:=IF(C>MA(C,10),1,0);
RJX10R:=MA(C,10);
RJX05:=IF((C>MA(C,5))>(C>MA(C,10))AND(C>MA(C,5))>(C>MA(C,20))AND(C>MA(C,5))>(C>MA(C,30))AND(C>MA(C,5))>(C>MA(C,40)),1,0);
LC := REF(CLOSE,1);
能量:=SQRT(VOL)*(((C-(H+L)/2))/((H+L)/2));
平滑能量:=EMA(能量,10);
人气:=EMA(平滑能量,10);
A:=VOL*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,20);
主力Z:=(B-B1)*500/B;
VR3:=(CLOSE+HIGH+LOW)/3;
VR4:=EMA(VR3,10);
VR5:=REF(VR4,1);
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
主力1:=IF(   ( 主力Z <REF(主力Z,1)) AND (REF(主力Z,1)- 主力Z ) >10 AND ( 主力Z <REF(主力Z,2)) ,0,1);
人气0:=IF(人气 <REF(人气,1) AND (REF(人气,1)- 人气 ) >0.5  AND ( 人气 <REF(人气,2))  ,0,1);
ZF005:=(C-(REF(C,5)))/(REF(C,5))*100;//计算近5日涨幅
ZF010:=(C-(REF(C,10)))/(REF(C,10))*100;
ZF020:=(C-(REF(C,20)))/(REF(C,20))*100;
ZF030:=(C-(REF(C,30)))/(REF(C,30))*100;
ZF040:=(C-(REF(C,40)))/(REF(C,40))*100;
ZF060:=(C-(REF(C,60)))/(REF(C,60))*100;
ZF099:=(C-(REF(C,99)))/(REF(C,99))*100;
ZF5D:=IF(ZF005>-3 AND ZF005<10 ,5,0);
ZF10D:=IF(ZF010>-6 AND ZF010<10 ,10,0);
ZF20D:=IF(ZF020>-5 AND ZF020<15 ,20,0);
ZF30D:=IF(ZF030>0 AND ZF030<20 ,30,0);
ZF99D:=IF(ZF099>10 ,0.99,0);
ZF值:=(ZF5D+ZF10D+ZF20D+ZF30D+ZF99D);
CCI001:=REF(CCI0,1);
CCI002:=REF(CCI0,2);
CCI003:=REF(CCI0,3);
CCI004:=REF(CCI0,4);
CCI005:=REF(CCI0,5);
CCI3:=MA(CCI001,3);
CCI参数:=IF (CCI3>30 OR (CCI3>-100 AND CCI3>REF(CCI3,1) AND CCI0>-10),1,0);
十倍值:=(主力1+人气0+CCI参数+减仓)*10;
上影线:=((HIGH-CLOSE)/PRE)*10;
RQZB:=IF(人气>REF(人气,1),0,1);
ZLZZB:=IF(主力Z>REF(主力Z,1),0,1);
CCIZB:=IF(CCI0>REF(CCI0,1),0,1);
SBZZB:=IF(十倍值>REF(十倍值,1),0,1);
DJZB:=IF(RQZB=1 AND ZLZZB=1 AND CCIZB=1 AND SBZZB=1 ,0,1);
关注:=IF( DJZB=1 AND((ZF值>35.9 AND(ZF值>REF(ZF值,1)))OR ZF值>45.9) AND((主力Z>-5 OR ( 主力Z>-20 AND ( 主力Z >REF(主力Z,1)))) AND (人气>-2 OR ( 人气>-6 AND ( 人气 >REF(人气,1)))) OR (主力Z>0  AND 人气 >REF(人气,1))),-80,0);
加仓:=IF((关注=-80 AND 主力1=1 AND 人气0=1 AND CCI参数=1),-100,0);
STICKLINE(((CCI001<-100 OR CCI002<-100 OR CCI003<-100 OR CCI004<-100 OR CCI005<-100)AND 关注=-80 AND CCI0>0 AND CCI0<100 AND ZF<8 AND REF(ZF,1)<8 AND CCI0>REF(CCI0,1)
AND CLOSE>OPEN AND REF(ZF,2)>-6 AND REF(ZF,3)>-6AND REF(ZF,4)>-6AND REF(ZF,5)>-6AND REF(ZF,6)>-6AND REF(ZF,7)>-6AND REF(ZF,8)>-6AND REF(ZF,9)>-6AND REF(ZF,10)>-6 AND C>MA(C,60) ),0,2,10,0),colorgreen;
STICKLINE(((CCI001<0 OR CCI002<0 OR CCI003<0 OR CCI004<0 OR CCI005<0)AND 关注=-80 AND CCI0>0 AND CCI0<100AND ZF<8AND REF(ZF,1)<8 AND CCI0>REF(CCI0,1)
AND CLOSE>OPEN AND REF(ZF,2)>-6 AND REF(ZF,3)>-6AND REF(ZF,4)>-6AND REF(ZF,5)>-6AND REF(ZF,6)>-6AND REF(ZF,7)>-6AND REF(ZF,8)>-6AND REF(ZF,9)>-6AND REF(ZF,10)>-6 AND C>MA(C,60)),2+0,2+1,6,0),colorligreen;
强势:IF((((CCI0>REF(CCI0,2)AND CCI0>REF(CCI0,3) AND CCI0>REF(CCI0,4)AND CCI0>REF(CCI0,5)) OR CCI0>80)  AND CCI0>50
AND ((上影线<0.6 AND ZF<1 AND ZF>-3) OR 上影线<0.3) AND (JX20=1 OR (MA(C,5))>(MA(C,20) ))AND (人气>-2 OR 人气>REF(人气,1)) AND (主力线>0 OR 主力线>REF(主力线,1) )AND(主力Z>0 OR 主力Z>REF(主力Z,1) )  AND ZF040>2 AND C>MA(C,60)AND MA(C,5)>MA(C,60) ),3,0),colorcyan;
RJX010:=IF(RJX5=0 AND RJX10=0,4,0);//分析家公式网www.70822.com
弱:IF ( (RJX010=4 OR REF(RJX010,3)=4 OR REF(RJX010,5)=4) OR RJX5R<RJX10R,-3,0),coloryellow;
RDB:IF((BZ<1) AND (CCI0>REF(CCI0,1)OR CCI0>0)AND((MACD1>REF(MACD1,1)AND MACD1>-0.3 AND DIFF>-0.1) OR (MACD1>0 AND((MACD1>REF(MACD1,1) OR ZF>2))) OR (DEA-REF(DEA,1)>-0.03 AND DIFF&
[url=http://www.70822.com/soft/sort013/sort036/down-154501.html]CPX评定(同花顺公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒