DIF:=EMA(CLOSE,9)-EMA(CLOSE,18);
DEA:EMA(DIF,7),LINETHICK1,COLORFFFFFF;
MACD:=2*(DIF-DEA);
QDIF:IF(DEA,DIF,0),COLORRED,LINETHICK2;
D:=BACKSET(DIF<REF(DIF,1),2);
RDIF:IF(D ,DIF,0),COLOR33FF33,LINETHICK2;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR0000FF;
STICKLINE(MACD>=0 AND MACD< REF(MACD,1),0,MACD,0,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLORFF99FF;
STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,0,0),COLORFFFF00;
金叉:=CROSS(DIF,DEA) AND DIF<0.3,COLOR0000FF;
DRAWICON((CROSS(DIF,DEA) AND DIF<0.3),0,1);
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。