设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

大智慧指标公式 大智慧整合的量指标公式

2014-12-30 10:35:05 股票入门 http://rumen.southmoney.com

  南方财富网带来大智慧指标公式 大智慧整合的量指标公式:

  DRAWGBK(c》0),color000000;

  【换手率】:vol/capital*100,LINETHICK0,COLORDD00DD;

  【量比】:VOL/ref(MA(VOL,5),1),LINETHICK0,colorFF8800;

  【涨幅】:DYNAINFO(14)*100,LINETHICK0,COLORDDDDDD;

  【现价】:DYNAINFO(7),LINETHICK0,COLOR5050dd;

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

  K:SMA(RSV,3,1),LINETHICK0,COLORWHITE;

  D:SMA(K,3,1),LINETHICK1,COLOR00FF00,LAYER1;

  J:3*K-2*D,LINETHICK1,COLORFF00FF,LAYER0;

  DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),linethick0,COLORFFFFFF;

  DEA :EMA(DIFF,9),linethick0,COLOR00FFFF;

  MACD:2*(DIFF-DEA),COLORFF9999,linethick0;

  rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8))*101;

  kk:=sma(rsv1,3,1);

  dd:=sma(kk,3,1);

  jj:=3*kk-2*dd;

  买卖:=if(jj》=100,100,if(jj《=0,0,jj));

  if(买卖=100,0-10,0),color661100;

  if(买卖=0,90,100),color661100;

  KX:=250;

  KH:=HHV(K,KX);

  DH:=HHV(D,KX);

  JH:=HHV(J,KX);

  KL:=LLV(K,KX);

  DL:=LLV(D,KX);

  JL:=LLV(J,KX);

  HKMAX:=MAX(KH,MAX(DH,JH));

  LKMIN:=MIN(KL,MIN(DL,JL));

  KHLB:=(HKMAX+LKMIN)/2;

  KHLC:=HKMAX-LKMIN;

  MHF:=HHV(DIFF,KX);

  MHD:=HHV(DEA,KX);

  MHM:=HHV(MACD,KX);

  MLF:=LLV(DIFF,KX);

  MLD:=LLV(DEA,KX);

  MLM:=LLV(MACD,KX);

  HMAX:=MAX(MHF,MAX(MHD,MHM));

  LMIN:=MIN(MLF,MIN(MLD,MLM));

  FHLB:=(HMAX-LMIN)/100;

  FHLC:=HMAX-LMIN;

  SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;

  DIFFA:=(DIFF-FHLB)*(KHLC/FHLC)+KHLB;

  DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB;

  MACDA:=(macd-FHLB)*(KHLC/FHLC)+KHLB;

  CDA:=MACD《ref(MACD,1) and MACD》0;

  CDB:=MACD》=ref(MACD,1) and MACD》0;

  CDC:=MACD》ref(MACD,1) and MACD《0;

  CDD:=MACD《=ref(MACD,1) and MACD《0;

  STICKLINE(MACD》=0,SH,macda,1,0),COLOR5050FF,LAYER3;

  STICKLINE(MACD《0,SH,macda,1,0),COLORFFFF00,LAYER3;

  FILLRGN(DIFFA,DEAA,DIFF》=DEA),COLOR00FFFF,LAYER7;

  FILLRGN(DIFFA,DEAA,DIFF《DEA),COLORFF5500,LAYER7;

  DIFFA,COLORAAAAAA,LAYER2;DEAA,COLOR00AAAA,LAYER2;

  {1、叠加区域高度}

  khV:=0;

  klV:=-150;

  rhV:=hhvall(V);

  rlV:=llvall(V);

  {2、叠加比}

  brV:=(khV-klV)/(rhV-rlV);

  {3、叠加平移量}

  wkV:=(khV-klV);

  wrV:=(khV+klV-(rhV+rlV)*brV)/2;

  {以下画叠加线}

  量线:=(V*brV+wrV);

  {以下画叠加指标的横坐标线}

  STICKLINE(C《O,-150,量线,7.5,0),COLORFFFF00,LAYER3;

  STICKLINE(C》=O,-150,量线,7.5,1),COLOR5050FF,LAYER3;

  AAA0:=量线;

  VAR111:=(8*AAA0+7*REF(AAA0,1)+6*REF(AAA0,2)+5*REF(AAA0,3)+4*REF(AAA0,4)+3*REF(AAA0,5)+2*REF(AAA0,6)+REF(AAA0,7))/36;

  VAR21:=(HHV(VAR111,5)+HHV(VAR111,10)+HHV(VAR111,20))/3;

  主力线:(HHV(VAR21,5)+HHV(VAR21,10)+HHV(VAR21,20))/3,linethick1,color0000FF,LAYER1;

  STICKLINE(量线》=主力线,-150,量线,4,1),COLORFF00FF,LAYER7;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。