標(biāo)簽: 股票 | 分類: 通達(dá)信指標(biāo) |
{M:1,10,1;N:1,500,1}
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*M;
DEA:=EMA(DIFF,9),COLORFFFF00;
DRAWBAND(DIFF,RGB(150,0,150),DEA,RGB(0,150,0));
MACD:(DIFF-DEA)*2,COLORSTICK;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLORRED;
STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),0,MACD,0,0),COLORYELLOW;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLORYELLOW;
STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),0,MACD,0,0),COLORGREEN;
RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))-0.5)*N;
K:SMA(RSV,3,1),COLORYELLOW;
D:SMA(K,3,1),COLORWHITE;
J:3*K-2*D,COLORFF00FF;
聯(lián)系客服