XA_1:=MA(CLOSE,1);
DIF:EMA(XA_1,6)-EMA(XA_1,13),COLORWHITE;
DEA:EMA(DIF,4),COLORWHITE;
MACD:(DIF-DEA)*2,COLORSTICK;
IF(DIF =REF(DIF,1),DIF,DRAWNULL),COLORRED;
IF(DEA =REF(DEA,1),DEA,DRAWNULL),COLORRED;
IF(DIF =REF(DIF,1) AND DIF 0 AND DIF MACD AND MACD =REF(MACD,1),DIF,DRAWNULL),COLORYELLOW;
散户出逃系数:IF(DEA =REF(DEA,1) AND DEA 0,DEA,DRAWNULL),COLORGREEN,LINETHICK2;
XA_2:=MA(CLOSE,1);{www.9m8.cn 九毛八公式指标网}
XA_3:=EMA(XA_2,12)-EMA(XA_2,26)-0.01;
XA_4:=EMA(XA_3,9);
XA_5:=(XA_3-XA_4)*2;
XA_6:=MA(CLOSE,5);
XA_7:=MA(CLOSE,13);
XA_8:=MA(CLOSE,21);
机构抢筹系数:IF(CLOSE XA_8 AND XA_3 XA_5,DIF,DRAWNULL),COLORYELLOW,LINETHICK2;