本帖最后由 大地 于 2012-7-19 08:47 编辑
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),DOTLINE;
DEA:EMA(DIF,9),DOTLINE;
MACDDIF-DEA)*2,COLORSTICK;
STICKLINE(MACD>0,0,MACD,1,1),COLORRED;
STICKLINE(MACD<0,0,MACD,1,1),COLORBLACK;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),0,MACD,1,1),COLORBLACK;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,1),COLORRED;
DRAWBAND(DEA,RGB(0,224,224),DIF,RGB(255,96,96));
OP:0,DOTLINE;
AB13:=DRAWLINE(DIF>=HHV(DIF,13),DIF,C<=LLV(C,13),DIF,0);
P13:=(AB13-DIF);
STICKLINE(P13=0,0,AB13,1,1),COLORLIMAGENTA;
DIP:EMA(CLOSE,n)-EMA(CLOSE,m),COLORWHITE;
DD:MA(DIP,3),COLORYELLOW; |