MACD零上粘合 主图 选股 幅图 思路 源码
大道至简,取MACD中的红柱长期不放量,且黄 白两线粘合没创新高,这种形态如胶似漆形成一段时间后,只要5日均线没有拐头向下出票。很简单。出票情况三月出票25张四月出票72张五月零张。你可以做短线也可以中线持有。最好是分批建仓,遇到拉升你可以收获涨停,遇到盘整,你可以慢慢吸筹降低成本,满仓等待涨停
主图
M:=MACD.MACD;
M5:=MA(C,5);
F:=MACD.DIF;
D:=MACD.DEA;
TJF:=EVERY(BETWEEN(F,0,0.35),18);
TJD:=EVERY(BETWEEN(D,0,0.30),18);
TJM:=M5 REF(M5,1);
XG:=EVERY(BETWEEN(M,0,0.23),30) AND TJF AND TJD AND TJM;
XG1:=CROSS(XG,0.5);
STICKLINE(XG1,L,H,0,0),COLOR0088EE;
STICKLINE(XG1,CLOSE,OPEN,3,0),COLOR0055AA;
STICKLINE(XG1,CLOSE,OPEN,2.8,0),COLOR0066BB;
STICKLINE(XG1,CLOSE,OPEN,2.5,0),COLOR0077CC;
STICKLINE(XG1,CLOSE,OPEN,2.2,0),COLOR0088DD;
STICKLINE(XG1,CLOSE,OPEN,1.7,0),COLOR0099EE;
STICKLINE(XG1,CLOSE,OPEN,1.2,0),COLOR00AAFF;
STICKLINE(XG1,CLOSE,OPEN,0.7,0),COLOR00CCFF;
STICKLINE(XG1,CLOSE,OPEN,0.2,0),COLOR00FFFF;
DRAWICON(XG1,L*0.95,1);
幅图
M:=MACD.MACD;
M5:=MA(C,5);
F:=MACD.DIF;
D:=MACD.DEA;
TJF:=EVERY(BETWEEN(F,0,0.35),18);
TJD:=EVERY(BETWEEN(D,0,0.30),18);
TJM:=M5 REF(M5,1);
XG:=EVERY(BETWEEN(M,0,0.23),30) AND TJF AND TJD AND TJM;
XG1:=CROSS(XG,0.5);
STICKLINE(XG1,0,8,3,0),COLOR0055AA;
STICKLINE(XG1,0,8,2.8,0),COLOR0066BB;
STICKLINE(XG1,0,8,2.5,0),COLOR0077CC;
STICKLINE(XG1,0,8,2.2,0),COLOR0088DD;
STICKLINE(XG1,0,8,1.7,0),COLOR0099EE;
STICKLINE(XG1,0,8,1.2,0),COLOR00AAFF;
STICKLINE(XG1,0,8,0.7,0),COLOR00CCFF;
STICKLINE(XG1,0,8,0.2,0),COLOR00FFFF;
选股
M:=MACD.MACD;
M5:=MA(C,5);
F:=MACD.DIF;
D:=MACD.DEA;
TJF:=EVERY(BETWEEN(F,0,0.35),18);
TJD:=EVERY(BETWEEN(D,0,0.30),18);
TJM:=M5 REF(M5,1);
XG:EVERY(BETWEEN(M,0,0.23),30) AND TJF AND TJD AND TJM;