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

通达信MACD超跌主图股票指标公式

2013-11-22 15:37    股票知识   zhishi.southmoney.com
    

  通达信MACD超跌主图股票指标公式

  {MACD}

  RC:=DYNAINFO(3)*1.1;

  DK:=“MACD.MACD”(60,130,45)*2;

  控盘:=DK;

  STICKLINE(控盘《0 AND 控盘

  STICKLINE(控盘《0 AND 控盘》REF(控盘,1),控盘+RC,RC,0.05,0),COLORWHITE;

  STICKLINE(控盘》REF(控盘,1) AND 控盘》0,控盘+RC,RC,0.05,0),COLORRED;

  STICKLINE(控盘0,控盘+RC,RC,0.05,0),COLOR00FF00;

  {超跌反弹原码}{加在主图即可}

  KS:=(C-MA(C,13))/MA(C,13)*(-100);

  RKS:=REF(KS,1);

  MLS:=RKS/KS》=1.23 AND RKS》=8 AND C/REF(C,1)》=1.02;

  超跌:STICKLINE(KS》=8,H,L,0,1),COLORWHITE,LINETHICK1;

  STICKLINE(KS》=8,O,C,7,1),COLORWHITE,LINETHICK1;

  反弹:STICKLINE(MLS=1,H,L,0,1),COLORMAGENTA,LINETHICK1;

  STICKLINE(MLS=1,O,C,7,1),COLORMAGENTA,LINETHICK1;

  MA5:EMA(C,5),COLORWHITE LINETHICK1;

  IF(MA5》=REF(MA5,1),MA5,DRAWNULL),LINETHICK2,COLORRED;

  IF(MA5《=REF(MA5,1),MA5,DRAWNULL),LINETHICK1,COLORGREEN;

  MA10:EMA(C,10),COLORWHITE LINETHICK1;

  IF(MA10》=REF(MA10,1),MA10,DRAWNULL),LINETHICK2,COLORRED;

  IF(MA10《=REF(MA10,1),MA10,DRAWNULL),LINETHICK1,COLORGREEN;

  MA20:EMA(C,20),COLORWHITE LINETHICK1;

  IF(MA20》=REF(MA20,1),MA20,DRAWNULL),LINETHICK2,COLORRED;

  IF(MA20《=REF(MA20,1),MA20,DRAWNULL),LINETHICK1,COLORGREEN;

  M30:EMA(C,30),COLORWHITE POINTDOT;

  IF(M30》=REF(M30,1),M30,DRAWNULL),LINETHICK2,COLOR0066FF;

  IF(M30《=REF(M30,1),M30,DRAWNULL),LINETHICK1,COLORCYAN;

  M60:EMA(C,60),COLORWHITE POINTDOT;

  IF(M60》=REF(M60,1),M60,DRAWNULL),LINETHICK2,COLORYELLOW;

  IF(M60《=REF(M60,1),M60,DRAWNULL),LINETHICK1,COLORCC9900;

  M120:EMA(C,120),COLORWHITE POINTDOT;

  IF(M120》=REF(M120,1),M120,DRAWNULL),LINETHICK1,COLOR0066FF POINTDOT;

  IF(M120《=REF(M120,1),M120,DRAWNULL),LINETHICK1,COLORWHITE POINTDOT;

  M240:EMA(C,240),COLORWHITE POINTDOT;

  IF(M240》=REF(M240,1),M240,DRAWNULL),LINETHICK1,COLOR0066FF POINTDOT;

  IF(M240《=REF(M240,1),M240,DRAWNULL),LINETHICK1,COLORMAGENTA POINTDOT;

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

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