通达信重心价差指标公式

K:=10;
XJ:FORCAST(EMA((2*C+H+L)/4+(2*C-H-L),2),K);
LLX:=LLV(XJ,2);
重心:FORCAST(EMA(AMOUNT/vol/100,2),K);
STICKLINE(XJ>REF(XJ,1) AND 重心>REF(重心,1),REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR003303; {-------波段背景------};
C,DOTLINE,COLOR00FFFF;
FORCAST(EMA((2*C+H+L)/4+(2*C-H-L),2),K),COLOR00FF00,LINETHICK2;
IF(XJ>REF(XJ,1),XJ,DRAWNULL),COLOR0000FF,LINETHICK2;
WINN:=(XJ-REF(XJ,1));
STICKLINE(WINN>=0,XJ,XJ+WINN,3,0),COLOR000088;
STICKLINE(WINN>=0,XJ,XJ+WINN,2,0),COLOR0000AA;
STICKLINE(WINN>=0,XJ,XJ+WINN,1,0),COLOR0000DD;
STICKLINE(WINN>=0,XJ,XJ+WINN,0,0),COLOR0000FF;
STICKLINE(WINN<0,XJ,XJ+WINN,3,0),COLOR008800;
STICKLINE(WINN<0,XJ,XJ+WINN,2,0),COLOR00AA00;
STICKLINE(WINN<0,XJ,XJ+WINN,1,0),COLOR00DD00;
STICKLINE(WINN<0,XJ,XJ+WINN,0,0),COLOR00FF00;
FORCAST(EMA(AMOUNT/VOL/100,2),K),COLOR0099FF,DOTLINE;
FORCAST(EMA(AMOUNT/VOL/100,2),K),COLORFF9900,POINTDOT,LINETHICK7;
IF(重心>REF(重心,1),重心,DRAWNULL),COLOR00FFFF,POINTDOT,LINETHICK7;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图