更新时间2018-11-28 15:22:15
一.DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);{WWW.88GS.COM}
macD:2*(DIFF-DEA),LINETHICK0;
STICKLINE(macD>=0,MACD,0,2.5,1),COLORF00FF0;
二.顶部:=CLOSE=OPEN AND HIGH>LOW;
XG:ABS(C-O)<0.04;{K线实体小于0.04};
要求;1macd红柱2当天出顶部信号3合并选出当天macd红柱出现顶部信号的股票。麻烦老师了!
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);{WWW.88GS.COM}
MACD:=2*(DIFF-DEA),LINETHICK0;
顶部:=CLOSE=OPEN AND HIGH>LOW;
xg:MACD>0 and 顶部;
合并成一个公式如下: VAR1:=(C+H+O+L)/4;买入:=XMA(VAR1,32)*(1-100/1000);DRAWTEXT(CROSS(C,买入) OR (L<买入),LOW*0.95,'B'),COLORRED;XG:=((CROSS(C,...