OBV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,1); OBVE:=EMA(OBV,3); DIFF : EMA(OBVE,12) - EMA(OBVE,26); BBDIFF:=DIFF-REF(DIFF,1); DEA : EMA(DIFF,9); BBDEA:=DEA-REF(DEA,1); MACD : 2*(DIFF-DEA), COLORSTICK; STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4,0),COLORGREEN; STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,4,0),COLORFFCC33; STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4,0),COLOR0099FF; STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,4,0),COLORYELLOW; IF(BBDEA>0,DEA,DRAWNULL),COLORRED,LINETHICK2; IF(BBDEA<0,DEA,DRAWNULL),COLORYELLOW,LINETHICK2; IF(BBDIFF>0,DIFF,DRAWNULL),COLORWHITE,LINETHICK2; IF(BBDIFF<0,DIFF,DRAWNULL),COLORBLUE,LINETHICK2; |
聯(lián)系客服