这是个MACD修改的公式:
DIF:=EMA(C,5)-EMA(C,30),COLORSTICK;
DEA:=EMA(DIF,5);
DIF>0 AND CROSS(DIF,DEA);
上面的是0上金叉买,下面的0下金叉买,不过你要是按照这个指标买卖股票,估计损失会不小的!公式我没有测试,你看看吧!
DIF:=EMA(C,5)-EMA(C,30),COLORSTICK;
DEA:=EMA(DIF,5);
DIF<0 AND CROSS(DIF,DEA);
DIF:=EMA(C,5)-EMA(C,30),COLORSTICK;
DEA:=EMA(DIF,5);
DIF,COLORWHITE;
DEA,COLORYELLOW;
零上金叉买:0,COLORBLUE,CROSSDOT,LINETHICK2;
IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA;
IF(DIF>0 AND DIF>DEA,零上金叉买,DRAWNULL),COLORRED,LINETHICK2,CROSSDOT;
CROSS(DIF,DEA) and CROSS(DEA,DIF);
呵呵。。给20分就能得到这个???晕