MACD SHORT 2 200 12 LONG 2 200 26 MID 2 200 9 DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIF,MID); MACD:(DIF-DEA)*2,COLORSTICK; 慢KD N 2 90 9 M 2 30 3 LOWV:=LLV(LOW,N); HIGHV:=HHV(HIGH,N); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M); K:EMA(RSV,M); D:MA(K,M);
爱约股解答:
DIF:EMA(CLOSE,12)/EMA(CLOSE,26)*100-100,NODRAW;
DEA:EMA(DIF,9),NODRAW;
MACD:(DIF-DEA)*2,NODRAW;
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:EMA(RSV,3),COLORGREEN;
D:MA(K,3),COLORGRAY;
STICKLINE(MACD>0,50,MACD*3+50,0,0),COLOR3232FF;
STICKLINE(MACD<0,50,MACD*3+50,0,0),COLORFFFF54;
NOTEXT1:DIF*3+50,COLORWHITE;
NOTEXT2:DEA*3+50,COLORYELLOW;