当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:共振指标,多指标共振原理(通达信公式 副图 源码 测试图)
软件名称:[B]共振指标,多指标共振原理(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2023-07-22 06:02:40
软件简介:
共振指标,多指标共振原理
SHORT:=6;
LONG:=13;
MID:=4;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2,COLORSTICK;
MACDJC:CROSS(DIF,DEA);
STICKLINE(MACDJC,-100,-80,4,1),COLORWHITE;
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;
KDJC:CROSS(K,D);
STICKLINE(KDJC,-60,-40,4,1),COLORYELLOW;
N1:=5;
N2:=10;
N3:=20;
N4:=30;
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4,COLORRED,LINETHICK1;
BBIJC:CROSS(C,BBI),COLORRED;
STICKLINE(BBIJC,-30,-10,4,1),COLORRED;
N5:=6;
LC:=REF(CLOSE,1);
AA:=ABS(HIGH-LC);
BB:=ABS(LOW-LC);
CC:=ABS(HIGH-REF(LOW,1));
DD:=ABS(LC-REF(OPEN,1));
R:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI:=16*X/R*MAX(AA,BB);
ASI:=SUM(SI,0);
MASI:=(ASI,N5);
ASIJC:CROSS(ASI,MASI),COLORBLUE;
STICKLINE(ASIJC,20,40,4,1),COLORBLUE;
MTM:=CLOSE-REF(CLOSE,12);
MTMJC:CROSS(MTM,0),COLORBROWN;
STICKLINE(MTMJC,50,70,4,1),COLORBROWN;
XG:=MACDJC AND KDJC AND BBIJC AND ASIJC AND MTMJC;
STICKLINE(XG,-100,100,1,0);
三指标共振:=MACDJC+KDJC+BBIJC+ASIJC+MTMJC=3;
四指标共振:=MACDJC+KDJC+BBIJC+ASIJC+MTMJC=4;
五指标共振:=MACDJC+KDJC+BBIJC+ASIJC+MTMJC=5;
DRAWTEXT(三指标共振,85,'三指标共振');
DRAWTEXT(四指标共振,0,'四指标共振');
DRAWTEXT(五指标共振,0,'五指标共振');
四指标共振选股公式如下:
SHORT:=6;
LONG:=13;
MID:=4;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACDJC:=CROSS(DIF,DEA);
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);
KDJC:=CROSS(K,D);
N1:=5;
N2:=10;
N3:=20;
N4:=30;
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
BBIJC:=CROSS(C,BBI);
N5:=6;
LC:=REF(CLOSE,1);
AA:=ABS(HIGH-LC);
BB:=ABS(LOW-LC);
CC:=ABS(HIGH-REF(LOW,1));
DD:=ABS(LC-REF(OPEN,1));
R:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI:=16*X/R*MAX(AA,BB);
ASI:=SUM(SI,0);
MASI:=(ASI,N5);
ASIJC:=CROSS(ASI,MASI);
MTM:=CLOSE-REF(CLOSE,12);
MTMJC:=CROSS(MTM,0);
选股:MACDJC+KDJC+BBIJC+ASIJC+MTMJC=4;
[url=http://www.70822.com/soft/sort013/sort05/down-168528.html]共振指标,多指标共振原理(通达信公式 副图 源码 测试图)[/url]