X_1:=ma(CLOSE,1);
dif:ema(X_1,6)-EMA(X_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
散户出逃系数:IF(DEA>=REF(DEA,1) AND DEA>0,DEA,DRAWNULL),COLORGREEN,LINETHICK2;
X_2:=MA(CLOSE,1);
X_3:=EMA(X_2,12)-EMA(X_2,26)-0.01;
X_4:=EMA(X_3,9);
X_5:=(X_3-X_4)*2;
X_6:=MA(CLOSE,5);
X_7:=MA(CLOSE,13);
X_8:=MA(CLOSE,21);
机构抢筹系数:IF(CLOSE>X_8 AND X_3