通達信主力軌跡指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 超買超賣
- 畫線方法: 副圖
- 日期:2019-01-30 來源:互聯(lián)網(wǎng)
通達信主力軌跡指標公式:
N:=5;{可調}
BB:=REF(CLOSE,N);
CC:=SMA(MAX(CLOSE-BB,0),2,1)/SMA(ABS(CLOSE-BB),2,1)*100-50;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);
DRAWBAND(-40,RGB(5,100,50),CC,0);
{以下為顯示}
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,0,2,0),COLORDDDD00;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,0,2,0)COLOR00DD00;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,0,2,0),COLOR00DDEE;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,0,2,0),COLOR0000DD;
線:CC,COLORBLUE;
藍天:STICKLINE(C,40,40,0.5,0.5),COLOREEEE00;
綠地:STICKLINE(C,-40,-40,0.5,0.5),COLOR00EE00;
漲家數(shù):INDEXADV,COLOR0000EE,NODRAW;
跌家數(shù):INDEXDEC,COLOR00EE00,NODRAW;
大盤成交:INDEXV,COLOR00EEEE,NODRAW;
MTM:=C-REF(C,1);
ZLGJ:100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),9),LINETHICK2,COLORRED;
MAZL:MA(ZLGJ,5),COLORYELLOW;
通達信主力軌跡指標公式實例圖解:
通達信主力軌跡指標公式