您现在的位置:  股票知识 > 股票公式 > 大智慧股票公式 > 正文
南财搜索

大智慧六箭齐发指标公式

2014-07-15 15:07    股票知识   zhishi.southmoney.com
    

  大智慧六箭齐发指标公式DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);

  DEA:=EMA(DIFF,5);

  DRAWICON(DIFF》DEA,1,1);

  DRAWICON(DIFF《DEA,1,2);

  {DRAWTEXTABS(0,70,‘.MACD’),COLORFFFFFF;}

  A1:=DIFF》DEA;

  MACDX:=IF(A1,1,0);

  RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

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

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

  DRAWICON(K》D,2,1);

  DRAWICON(K《D,2,2);

  {DRAWTEXTABS(0,59,‘.KDJ’),COLORFFFFFF;}

  A2:=K》D;

  KDJX:=IF(A2,2,0);

  LC:=REF(CLOSE,1);

  RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;

  RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;

  DRAWICON(RSI1》RSI2,3,1);

  DRAWICON(RSI1《RSI2,3,2);

  {DRAWTEXTABS(0,47,‘.RSI’),COLORFFFFFF;}

  A3:=RSI1》RSI2;

  RSIX:=IF(A3,3,0);

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

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

  LWR2:=SMA(LWR1,3,1);

  DRAWICON(LWR1》LWR2,4,1);

  DRAWICON(LWR1《LWR2,4,2);

  {DRAWTEXTABS(0,35,‘.LWR’),COLORFFFFFF;}

  A4:=LWR1》LWR2;

  LWRX:=IF(A4,4,0);

  BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

  DRAWICON(CLOSE》BBI,5,1);

  DRAWICON(CLOSE《BBI,5,2);

  {DRAWTEXTABS(0,23,‘.BBI’),COLORFFFFFF;}

  A5:=CLOSE》BBI;

  BBIX:=IF(A5,5,0);

  MTM:=CLOSE-REF(CLOSE,1);

  MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);

  MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);

  DRAWICON(MMS》MMM,6,1);

  DRAWICON(MMS《MMM,6,2);

  {DRAWTEXTABS(0,11,‘.MTM’),COLORFFFFFF;}

  A6:=MMS》MMM;

  MTMX:=IF(A6,6,0);

  六箭齐发:=A1+A2+A3+A4+A5+A6=6;

  STICKLINE(六箭齐发=1 AND REF(六箭齐发,1)=0,1,2,0,0);

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

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