一个很基础性的指标。可以用来过滤。
JINCHA1:=CROSS(C,MA(C,5));
FANGLIANG:=V>REF(V,1);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
T2:=REF(T1,1);
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);
MACD:=2*(DIF-DEA);
JINCHA2:=CROSS(DIF,DEA);
STICKLINE(量价MACD金叉,0,3,1,0),COLORRED;
金叉选股如下:
JINCHA1:=CROSS(C,MA(C,5));
FANGLIANG:=V>REF(V,1);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
T2:=REF(T1,1);
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);
MACD:=2*(DIF-DEA);
JINCHA2:=CROSS(DIF,DEA);