当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:RXCZ副图(同花顺公式 副图 源码 测试图)
软件名称:[B]RXCZ副图(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-05-28 00:12:04
软件简介:
ZF:=(C-(REF(C,1)))/(REF(C,1))*100;
ZF002:=(C-(REF(C,2)))/(REF(C,2))*100;ZF003:=(C-(REF(C,3)))/(REF(C,3))*100;ZF005:=(C-(REF(C,5)))/(REF(C,5))*100;ZF010:=(C-(REF(C,10)))/(REF(C,10))*100;ZF012:=(C-(REF(C,12)))/(REF(C,12))*100;ZF020:=(C-(REF(C,20)))/(REF(C,20))*100;
ZF030:=(C-(REF(C,30)))/(REF(C,30))*100; RZF003:=(REF(C,1)-(REF(C,4)))/(REF(C,4))*100;
HS:=VOL/SHGZG*100;//换手率
MHS2:=MA(HS,2);MHS3:=MA(HS,3);MHS4:=MA(HS,4);MHS5:=MA(HS,5);MHS8:=MA(HS,8);MHS10:=MA(HS,10);MHS12:=EMA(HS,12);MHS20:=MA(HS,20);MHS30:=MA(HS,30);
HS1:=REF(HS,1);
BZ:=(HS/HS1);
BZ1:=MIN(((HS/HS1)-1)*100,250);
MAV1:=MA(AMOUNT,1)/SHGZG*10;//成交额
MAV3:=MA(AMOUNT,3)/SHGZG*10;MAV5:=MA(AMOUNT,5)/SHGZG*10;MAV10:=MA(AMOUNT,10);MAV12:=MA(AMOUNT,12)/SHGZG*10;MAV20:=MA(AMOUNT,20)/SHGZG*10;MAV60:=MA(AMOUNT,60);
额BZ:MIN(((MAV1/REF(MAV1,1))-1)*100,150);
R3:=MA(C,3);///分析家公式网
R5:=MA(C,5);R9:=MA(C,9);R10:=MA(C,10);R12:=MA(C,12);R20:=MA(C,20);R30:=MA(C,30);R36:=MA(C,36);R60:=MA(C,60);
XL3:=(R3-REF(R3,1))/R3*100;//股价下降&上升斜率
XL5:=(R5-REF(R5,1))/R5*100;XL9:=(R9-REF(R9,1))/R9*100;XL12:=(R12-REF(R12,1))/R12*100;XL20:=(R20-REF(R20,1))/R20*100;XL30:=(R30-REF(R30,1))/R30*100;XL60:=(R60-REF(R60,1))/R60*100;
XL3_20:=IF(XL3>0OR XL5>0OR XL9>0 OR XL12>0,1,0);
上影线:=(H/MAX(C,O)-1)*100;下影线:=((LOW-CLOSE)/PRE)*100;
ZF0:=((HIGH-LOW)/(REF(C,1)))*100;//振幅
LC := REF(CLOSE,1);
R$3:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;//RSI
R$5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
R$12:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
WR:-100*(HHV(HIGH,12)-CLOSE)/(HHV(HIGH,12)-LLV(LOW,12));//WR
PWR3:=MA(WR,3)*100;
RSV=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;//KDJ
K=SMA(RSV,5,1);D=SMA(K,5,1);
J:-(3*K-2*D);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);//MACD
DEA:=EMA(DIFF,9);
RMACD:=2*(DIFF-DEA);
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;//CCI
CCI0:=(TYP-MA(TYP,12))/(0.015*AVEDEV(TYP,12));
C12值0:=MAX((TYP-MA(TYP,12))/(0.015*AVEDEV(TYP,12)),0);C12值:=MIN(C12值0,180);C8_12:=MA(CCI0,8); C5_12:=MA(CCI0,5);C3_12_0:=MAX(MA(CCI0,3),-120);C3_12:MIN(C3_12_0,200);
C20Z:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
ZC40:=(HHV(C20Z,40)+LLV(C20Z,40))/2;
C20值0:=MAX((TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)),0); C20值:=MIN(C20值0,180);C5_20:=MA(C20值,5);
C72Z:=(TYP-MA(TYP,72))/(0.015*AVEDEV(TYP,72));ZC72:=(HHV(C72Z,72)+LLV(C72Z,72))/2;HC72:=MAX(ZC72,180);C72值0:=MAX(C72Z,-120);
C72值:=MIN(C72值0,HC72); C6_72:=MA(C72值,6);
C升Z:=MIN((CCI0-LLV(CCI0,3)),220);C降Z:=(HHV(CCI0,2)-CCI0)/1;
R00:=IF(DEA<0AND RMACD<0,-100,0);//弱势
Z00:=IF( (RMACD<0 AND DEA>0),20,0);//正常
Z11:=IF( (DIFF<0 AND RMACD>0),80,0);//正常
Z22:=IF( (DIFF>0AND RMACD>0 AND CCI0<0),80,0);//正常
Q00:=IF( (DIFF>0AND RMACD>0 AND CCI0>0),120,0);//强势
QR值:=R00+Z00+Z11+Z22+Q00;
YZL:=IF( (ZF<0 AND (ZF>REF(ZF,1)OR 额BZ<0 ) AND MAV1<MAV12 AND (MAV1<MAV20 OR MAV1<MAV3) AND (下影线<(ZF*0.618)OR ZF012<-50) AND CCI0<0 AND (CCI0>REF(CCI0,1)OR C8_12>0 )AND RMACD<0 AND (额BZ<-0.8 OR CCI0<-100 OR COUNT(ZF<0,4)>2 ) )
OR (ZF<0 AND 额BZ>0 AND MAV1>MAV3 AND MAV1>MAV12 AND C>R5 AND QR值=120 ) ,-20,0);//(YZ)月周【(T)条(J)件】(L)成交量
//TJ01:;
//参考别人设定指标=ZB5
CS=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
主力线:=(EMA(CS,3)-50)*2;
J2:MAX(主力线*2,-100);
//VR指标=ZB6
//其它方面指标=ZB7
主L:=(ZYYWLR/ZYYWSR*1);
净L:=(JLR/GDQYHJ*1);
//前提条件:
OKC3_12:=IF(C3_12>REF(C3_12,1),1,0); OKC6_72:=IF(C6_72>REF(C6_72,1),1,0);OKJ2:=IF(J2>REF(J2,1) OR J2>REF(J2,2)OR J2>REF(J2,3) ,1,0);
OK_J2:=IF(J2>REF(J2,1),1,0);OK_J:=IF(J<REF(J,1),1,0);
C升Z:=MIN((CCI0-LLV(CCI0,3)),220);
日C降:EMA((HHV(C3_12,20)-LLV(C3_12,1)),3);RC降0:=MAX(日C降,100);RC降:MIN(RC降0,200);
周C降:=(HHV(CCI0,2)-CCI0)/1;
R日:IF( OKJ2=1AND (XL5>0OR XL9>0OR XL12>0)AND WR<-20 AND (OKC6_72=1 OR C6_72<60 OR OKC3_12=1 )
AND ((日C降>80 AND 日C降<200 AND (REF(日C降,1)>日C降 OR OKJ2=1) ) OR (日C降>200AND REF(日C降,1)>日C降 AND ((额BZ<0AND ZF<0) OR (额BZ>0 AND ZF>0) ) )),-120,0);
R周:IF( OKJ2=1AND WR<-20 AND (OKC6_72=1 OR C6_72<60 OR OKC3_12=1 )
AND ((日C降>80 AND 日C降<200 AND (REF(日C降,1)>日C降 OR OKJ2=1) ) OR (日C降>200AND REF(日C降,1)>日C降 AND ((额BZ<0AND ZF<0) OR (额BZ>0 AND ZF>0) ) )),-80,0);
J00:=IF((日C降>20 OR J<-80)AND OKC3_12=0,-0.6,0);J10:=IF((日C降<20 OR J<-80)AND OKC3_12=1 AND CCI0<200 ,0.2,0);
J01:=IF((日C降>0 OR J<-80 )AND OK_J2=0 AND J2>0,-0.6,0);J11:=IF((日C降<20 OR J<-80)AND OK_J2=1AND CCI0<200,0.2,0);
J02:=IF((日C降>20 OR J<-80)AND OK_J=0,-0.6,0);J12:=IF((日C降<20 OR J<-80)AND OK_J=1AND CCI0<200,0.2,0);
J03:=IF(OKJ2=1 AND J2<0,0.5,0);
J1:(J00+J01+J02+J10+J11+J12+J03)*1;
//短线主力筛选条件
//买入
//STICKLINE( GZ00=80,-80,-60,10,0),colorblue;
STICKLINE( YZL=-20 AND XL3_20=1AND (RZF003<15 OR COUNT(ZF>5,4)<2)AND OKC3_12=1 AND C6_72>0 ,20,50,10,0),colorgreen;
STICKLINE(ZF<0 AND YZL=0 AND XL3_20=1 AND C<O AND C8_12>REF(C8_12,1)AND (额BZ<0 OR 额BZ>100)AND ((QR值=120 AND COUNT(CCI0>200,3)=0)OR(QR值<120 AND (COUNT(CCI0>100,3)=0 OR ZF>-10) ) )
AND (RZF003<15 OR COUNT(ZF>5,4)<2)AND OKC3_12=1 AND C12值>0 AND C6_72>0,30,0,10,0),colorgreen;
//卖出
STICKLINE( (额BZ>50) AND (OKC3_12=0 OR OKC6_72=0 OR OKJ2=0 OR OKJ2=0 OR C6_72<-20 ),150,170,10,0),colorliblue;//OK(较多)AND C6_72>0
STICKLINE( CCI0<-120,-100,-120,10,0),colorred;//OK(较多)
STICKLINE( (CCI0>100AND (C升Z<100 AND C8_12<80 AND COUNT(C升Z>100,3)=0)),-120,-80,8,0),colorred;//OK(很少)
STICKLINE( (CCI0>100 OR BZ>3) AND R00=-100,-80-120,8,0),colorred; //OK(很少)
STICKLINE( (CCI0>300 ) ,-120,-80,8,0),colorred;//OK(很少)
STICKLINE(ZF<0 AND YZL=0 AND C8_12<0 AND (C<R5 OR XL3<0 OR C<R3 OR XL12<0) AND C<O AND C8_12<REF(C8_12,1) ,-120,-100,10,0),colorred;//OK(较多)
STICKLINE(ZF<0 AND YZL=0 AND (C<R5 OR XL3<0 OR C<R3 OR XL12<0) AND C<O AND COUNT(QR值=120,12)>0AND (C5_12<100 OR J2<0) ,-100,-120,10,0),colorred;//OK(很多)
STICKLINE( ZF<0 AND CCI0>100 AND J<REF(J,1) AND R$3>70 AND CCI0<REF(CCI0,1) AND C<O AND BZ1>-20,-80,-120,8,0),colorred;//OK(很少)
STICKLINE( XL3_20=0,-100,-120,10,0),colorred;//OK(较多)
STICKLINE( ZF>0AND 额BZ<-20 AND CCI0<REF(CCI0,1) AND J>REF(J,1)AND CCI0<200 AND (C5_12<REF(C5_12,1) OR C8_12<REF(C8_12,1)),-80,-100,8,0),colorred;//OK(较少)
STICKLINE( ZF>0AND 额BZ>8 AND 1.2*ZF<REF(ZF,1) AND ( (CCI0>120 AND CCI0<200) OR (C8_12>100 AND CCI0<REF(CCI0,1))OR C8_12>C12值 ) AND PWR3>REF(PWR3,1) ,-80,-120,8,0),colorred;//OK(较少)
I:0;I1:100;I5:50;I0:-100;