VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
红箭头:crOSS(K,D) AND macd.DIF>MacD.DEA AND MACD.DIF>0 AND MACD.DIF>REF(MACD.DIF,1) AND MACD.DEA>0;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
D:=MA(J,3);
K:=MA(J,1);
红箭头:crOSS(K,D) AND macd.DIF>MacD.DEA AND MACD.DIF>0 AND MACD.DIF>REF(MACD.DIF,1) AND MACD.DEA>0;