大智慧公式源码 大智慧量价MACD公式源码
2015-1-31 10:46:41 股票入门 http://rumen.southmoney.com
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),COLORred;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。