您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

通达信重心价差指标公式

2014-07-21 16:02    股票知识   zhishi.southmoney.com
    

  通达信重心价差指标公式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

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号