爆涨股可以这样捕捉,能否再加上个KDJ
-
相关简介:OBV:=MA(SUM(IF(CLOSEREF(CLOSE,1),VOL,IF(CLOSEREF(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(MACDr
-
文章来源:股海网作者:股海网发布时间:2014-11-28浏览次数:
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;
PARTLINE(bbDEA>0,DEA),color9966CC;
PARTLINE(bbDEA<0,DEA),color00ff33;
PARTLINE(bbDIFF>0,DIFF),colorwhite;
PARTLINE(bbDIFF<0,DIFF),colorblue;
RSV:=(obve-LLV(obve,9))/(HHV(obve,9)-LLV(obve,9))*2;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;