【通达信免费源码】五指标共振指标 副图 选股 波段 短线 买卖点

通达信免费指标 02-13 阅读:584 评论:0

30-1P625140343.png30-1P625140343-50.png

去除ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);

去除停牌:=DYNAINFO(4)>0; {通达信:今开大于零}

去除大盘股:=CAPITAL/1000000<12;

{去除ST AND 去除停牌 AND 去除大盘股;}

SHORT:=5;

LONG:=26;

MID:=50;

DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);

DEA:=EMA(DIF,MID);

MACD:=(DIF-DEA)*2;

MACDJC:=CROSS(DIF,DEA);

{MACD金叉}

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:=3K-2D;

KDJC:=CROSS(K,D);

{KDJ金叉}

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;

{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:=16X/RMAX(AA,BB);

ASI:=SUM(SI,0);

MASI:=(ASI,N5);

ASIJC:=CROSS(ASI,MASI),COLORBLUE;

{ASI金叉};

MTM:=CLOSE-REF(CLOSE,12);

MTMJC:=CROSS(MTM,0),COLORBROWN;

三指标共振:=MACDJC+KDJC+BBIJC+ASIJC+MTMJC=3;

四指标共振:=MACDJC+KDJC+BBIJC+ASIJC+MTMJC=4;

五指标共振:=MACDJC+KDJC+BBIJC+ASIJC+MTMJC=5;

XG:三指标共振 OR 四指标共振 OR 五指标共振 AND 去除ST AND 去除停牌 AND 去除大盘股;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服