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

通达信突破监控指标公式

2014-03-26 09:52    股票知识   zhishi.southmoney.com
    

  DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));

  DEA:=EMA(DIFF,9);

  MACD2:=(2 * (DIFF - DEA));

  VA:=IF(CLOSE》REF(CLOSE,1),VOL,-VOL);

  OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);

  MAOBV:=MA(OBV,20);

  MACG:=(C》MA(C,5));

  TYP:=(HIGH+LOW+CLOSE)/3;

  CCI:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));

  RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

  K:=SMA(RSV,3,1);

  D:=SMA(K,3,1);

  KDJ:=3*K-2*D;

  预操作:((CLOSE》SAR(4,2,20)),0,2,8,0),COLORYELLOW;

  操作区:((MACD2》0)AND(MACG)AND((CLOSE》SAR(4,2,20)))),COLORGREEN;

  休息区:(MACD2《0)OR(CLOSE《SAR(4,2,20))OR(-MACG),COLORRED;

  主行情:(CCI》100),COLORMAGENTA;

  {拉升行情:((MACD2》0)AND(DIFF》0)),COLORYELLOW;}

  {小心回调:((KDJ》=100)AND(CCI》=220)),COLORYELLOW;}

  STICKLINE((MACD2《0),0,2,8,0),COLORRED,LINETHICK2;

  STICKLINE((CLOSE《SAR(4,2,20))OR(-MACG),0,2,8,0),COLORRED,LINETHICK2;

  STICKLINE(((CLOSE》SAR(4,2,20))),0,2,8,0),COLORYELLOW,LINETHICK2;

  STICKLINE(((MACD2》0)AND(MACG)AND((CLOSE》SAR(4,2,20)))),0,2,8,0),COLORGREEN,LINETHICK2;

  STICKLINE((CCI》100)AND((CLOSE》SAR(4,2,20))),0,2,8,0),COLORMAGENTA,LINETHICK2;

  {STICKLINE((OBV《REF(OBV,1))AND(MACD2《0),0,2,8,0),COLORRED,LINETHICK2;}

  {STICKLINE(((MACD2》0) AND (DIFF》0)),0,2,8,0),COLORGREEN,LINETHICK2;}

  {STICKLINE(((MACD2》0) ),0,2,8,0),COLORGREEN,LINETHICK2;}

  {STICKLINE(MACD2《0,0,2,8,0),COLORRED,LINETHICK2;

  STICKLINE(CLOSE》SAR(4,2,20),0,2,8,0),COLORGREEN,LINETHICK2;}

  {持仓:IF(CLOSE》SAR(4,2,20),SAR(4,2,20),CLOSE),CIRCLEDOT,COLOR9955FF;

  空仓:IF(CLOSE《SAR(4,2,20),SAR(4,2,20),CLOSE),CIRCLEDOT,COLORDDFF00;

  CLOSE,CIRCLEDOT,COLOR8877FF;}

  {IF(CLOSE》SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORRED;

  IF(CLOSE《SAR(4,2,20),SAR(4,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN;}

  {STICKLINE(CLOSE》OPEN,LOW,HIGH,0,1),COLORRED;

  STICKLINE(CLOSE《=OPEN,LOW,HIGH ,0,1),COLORCYAN;};

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

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