当前位置:分析家公式网 → 股票公式 → 大智慧L2公式 → 一键转帖:整合的量指标(大智慧,副图,源码)
软件名称:[B]整合的量指标(大智慧,副图,源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2013-11-13 03:42:38
软件简介:
- 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;
[url=http://www.70822.com/soft/sort013/sort03/down-67345.html]整合的量指标(大智慧,副图,源码)[/url]