当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:CCI修改(同花顺 副图 源码 测试图)
软件名称:[B]CCI修改(同花顺 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-02-07 00:12:36
软件简介:
LC := REF(CLOSE,1);
R101:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;//RSI$1:R101
R201:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;//RSI$2:R201
R301:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100; //RSI$3:R301
R10101:=REF(R101,1);
R10102:=REF(R101,2);
R10103:=REF(R101,3);
R10104:=REF(R101,4);
R10105:=REF(R101,5);
R10106:=REF(R101,6);
R10107:=REF(R101,7);
R10108:=REF(R101,8);
R10109:=REF(R101,9);
R10110:=REF(R101,10);
R10111:=REF(R101,11);
R10112:=REF(R101,12);
R10113:=REF(R101,13);
R10114:=REF(R101,14);
R10115:=REF(R101,15);
R10116:=REF(R101,16);
R10117:=REF(R101,17);
R10118:=REF(R101,18);
R10119:=REF(R101,19);
R10120:=REF(R101,20);
R10121:=REF(R101,21);
R10122:=REF(R101,22);
R10123:=REF(R101,23);
R10124:=REF(R101,24);
R10125:=REF(R101,25);
R10126:=REF(R101,26);
R10127:=REF(R101,27);
R10128:=REF(R101,28);
R10129:=REF(R101,29);
R10130:=REF(R101,30);
//RSI2$1:(R10101+R10102)/2,colorwhite;
RSI3$1:=(R10101+R10102+R10103)/3,colorwhite;
RSI5$1:=(R10101+R10102+R10103+R10104+R10105)/5,colorblue;
RSI10$1:=(R10101+R10102+R10103+R10104+R10105+R10106+R10107+R10108+R10109+R10110)/10,colorred;
RSI20$1:=(R10101+R10102+R10103+R10104+R10105+R10106+R10107+R10108+R10109+R10110+R10111+R10112+R10113+R10114+R10115+R10116+R10117+R10118+R10119+R10120)/20,coloryellow;
RSI参数:IF ( (RSI10$1>40 AND RSI3$1>50 AND RSI5$1>50) OR (RSI20$1>60 OR(RSI20$1>40 AND RSI3$1>30 AND RSI5$1>30 AND RSI3$1>REF(RSI3$1,1) AND RSI5$1>REF(RSI5$1,1))),1,0 );
能量:=SQRT(VOL)*(((C-(H+L)/2))/((H+L)/2));
平滑能量:=EMA(能量,10);
人气:EMA(平滑能量,10),colorwhite;
A:=VOL*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,20);
主力0:(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);
//操盘:(3*VAR300-2*VAR400)*100;
//A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
//底部:A1 AND 主力<0 AND VR4>=VR5;
主力1:IF( ( 主力0 <REF(主力0,1)) AND (REF(主力0,1)- 主力0 ) >10 AND ( 主力0 <REF(主力0,2)) ,0,1);
人气0:IF(人气 <REF(人气,1) AND (REF(人气,1)- 人气 ) >0.5 AND ( 人气 <REF(人气,2)) ,0,1);
关注:IF( (主力1>-5 OR ( 主力1>-20 AND ( 主力1 >REF(主力1,1)))) AND (人气>-2 OR ( 人气>-6 AND ( 人气 >REF(人气,1)))) OR (主力1>0 AND 人气 >REF(人气,1)),66,0 );//AND CCI15>REF(CCI15,5);AND ( 主力 >REF(主力,1))
//关注:IF((主力>-5 AND 人气>-15 AND 主力0=1 AND 人气0=1 ),66,0);//AND CCI15>REF(CCI15,5)
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
CCI0:=((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)));
CCI001:=REF(CCI0,1);
CCI002:=REF(CCI0,2);
CCI003:=REF(CCI0,3);
CCI004:=REF(CCI0,4);
CCI005:=REF(CCI0,5);
CCI006:=REF(CCI0,6);
CCI007:=REF(CCI0,7);
CCI008:=REF(CCI0,8);
CCI009:=REF(CCI0,9);
CCI010:=REF(CCI0,10);
CCI011:=REF(CCI0,11);
CCI012:=REF(CCI0,12);
CCI013:=REF(CCI0,13);
CCI014:=REF(CCI0,14);
CCI015:=REF(CCI0,15);
CCI016:=REF(CCI0,16);
CCI017:=REF(CCI0,17);
CCI018:=REF(CCI0,18);
CCI019:=REF(CCI0,19);
CCI020:=REF(CCI0,20);
CCI021:=REF(CCI0,21);
CCI022:=REF(CCI0,22);
CCI023:=REF(CCI0,23);
CCI024:=REF(CCI0,24);
CCI025:=REF(CCI0,25);
CCI026:=REF(CCI0,26);
CCI027:=REF(CCI0,27);
CCI028:=REF(CCI0,28);
CCI029:=REF(CCI0,29);
CCI030:=REF(CCI0,30);
CCI3:(CCI001+CCI002+CCI003)/3;
CCI5:=(CCI001+CCI002+CCI003+CCI004+CCI005)/5,colorred;
CCI10:=(CCI001+CCI002+CCI003+CCI004+CCI005+CCI006+CCI007+CCI008+CCI009+CCI010)/10;
CCI15:=(CCI001+CCI002+CCI003+CCI004+CCI005+CCI006+CCI007+CCI008+CCI009+CCI010+CCI011+CCI012+CCI013+CCI014+CCI015)/15;
CCI20:=(CCI001+CCI002+CCI003+CCI004+CCI005+CCI006+CCI007+CCI008+CCI009+CCI010+CCI011+CCI012+CCI013+CCI014+CCI015+CCI016+CCI017+CCI018+CCI019+CCI020)/20,colorgreen;
//CCI30:=(CCI001+CCI002+CCI003+CCI004+CCI005+CCI006+CCI007+CCI008+CCI009+CCI010+CCI011+CCI012+CCI013+CCI014+CCI015+CCI016+CCI017+CCI018+CCI019+CCI020+CCI021+CCI022+CCI023+CCI024+CCI025+CCI026+CCI027+CCI028+CCI029+CCI030)/30,colorliblue;
买入3:=IF (CCI0>CCI3,30,0);
买入5:=IF (CCI0>CCI5,50,0);
买入10:=IF (CCI0>CCI10,100,0);
买入15:=IF (CCI0>CCI15,150,0);
买入20:=IF (CCI0>CCI20,200,0);
//买入30:=IF (CCI0>CCI30,300,0);
买:=IF(CCI0>CCI3 AND CCI0>CCI5 AND CCI0>CCI10,300,0 );
CCI参数:IF (CCI3>30 OR (CCI3>-100 AND CCI3>REF(CCI3,1) AND CCI0>0),1,0);
//YY:0;
可买入:IF((关注=66 AND 主力1=1 AND 人气0=1 AND RSI参数=1 AND CCI参数=1),88,0);//AND CCI15>REF(CCI15,5);
值:主力1+人气0+RSI参数+CCI参数;
[url=http://www.70822.com/soft/sort013/sort036/down-153999.html]CCI修改(同花顺 副图 源码 测试图)[/url]