攻击线:0;
KJ:=MA(能量,21);
K:=SMA(能量,21,1);
D:=SMA(K,7,1);
J:=3*K-2*D;
MACD:=J*0.5,COLORSTICK;
趋势线:EMA(MACD,1),COLORWHITE;
STICKLINE(MACD>=0,0,MACD,2.5,0),COLORRED;
STICKLINE(MACD<0,0,MACD,2.5,0),COLORFFFF00;
攻击线:0;
KJ:=MA(能量,21);
K:=SMA(能量,21,1);
D:=SMA(K,7,1);
J:=3*K-2*D;
MACD:=J*0.5,COLORSTICK;
趋势线:EMA(MACD,1),COLORWHITE;
STICKLINE(MACD>=0,0,MACD,2.5,0),COLORRED;
STICKLINE(MACD<0,0,MACD,2.5,0),COLORFFFF00;