五指标共振指标 通达信 副图 选股 波段 短线 买卖点
(在公众号下面随意打赏后,在公众号上聊天对话框回复“cci主升浪”下载源码)
公式源码:由彩虹桥投资充电站(www.xuexi199.com)整理
去除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:=3*K-2*D;
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:=16*X/R*MAX(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 去除大盘股;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信订阅号:彩虹桥投资学习),COLOR556699;
沙发!沙发! 多谢分享! 小手一抖,花花到手! 找了很久的东西! 顶贴光荣! 感谢分享好资源 多多点赞好好学习 好贴不能沉! 多多点赞好好学习
页:
[1]
2