量比選股公式_第1頁(yè)
量比選股公式_第2頁(yè)
量比選股公式_第3頁(yè)
量比選股公式_第4頁(yè)
量比選股公式_第5頁(yè)
已閱讀5頁(yè),還剩9頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、一、基本選股公式量比選股公式xg:ref(v/ref(ma(v,5),1),1)1;大、中、小盤(pán)選股finance(7)1000000000; 大盤(pán)股源碼;finance(7)100000000; 中盤(pán)股源碼;finance(7)=3;均線粘合突破預(yù)警選股公式參數(shù)m(10 60 12) n(20 50 30)x1:=min(min(ma(c,5),ma(c,10),min(ma(c,20),ma(c,30);x2:=min(x1,ma(c,40);x3:=max(max(ma(c,5),ma(c,10),max(ma(c,20),ma(c,30);x4:= max(x3,ma(c,40);x5

2、:=1000*(x4/x2-1)ref(ma(c,5),1) and x5 and cross(c,x4) and 10*dynainfo(17)m;多頭上攻形態(tài)五:=ma(c,5);十:=ma(c,10);月:=ma(c,20);二:=ma(c,40);三:=ma(c,60);c五 and 五十 and 十月 and 月二 and 二三;強(qiáng)勢(shì)牛股aa:=if(currbarscount=1 and period=5,vol*240/fromopen,drawnull);預(yù)測(cè):=aa/10000;指數(shù)百萬(wàn)個(gè)萬(wàn)手:=vol/10000;ty:=c;a11:=ref(ty,10)=hhv(ty,2

3、*10+1); b1:=filter(a11,10); c1:=backset(b1,10+1); hd:=filter(c1,10);前期高位:=ref(h,barslast(hd);x:=(atan(ma(c,5)/ref(ma(c,5),1)-1)*100)*180/3.14115926)60; 倍量:=預(yù)測(cè)=ref(指數(shù)百萬(wàn)個(gè)萬(wàn)手,1)*1.2;xg:=cross(c,前期高位) or c前期高位;var1:=(2*close+high+low+open)/5;a1:=(ema(var1,3)+ema(var1,6)+ema(var1,12)+ema(var1,24)/4;a2:=em

4、a(a1,2);a3:=ema(a2,2);a4:=ema(a3,2);a5:=ema(a4,2);a6:=ema(a5,2);a7:=ema(a6,2);a8:=ema(var1,2.78)*1.028,linethick3;a9:=ma(open,3.2)*1.028,linethick3;安全線:=ema(close,55);closeopen and a1a2 and a2a3 and a3a4 and a4a5 and a5a6 and a6a7 andxg and closeopen and x and 倍量 and cref(v1,1)*3;a2:=c/open1.0009;a3

5、:=c/ref(c,1)1.099;ff:=a1 and a2 and v15;fy:=ref(ff,1) and v/ref(v,1)=0.7 and a2;cc:=sum(fy,40)=1;a4:=v=llv(v,20);a5:=l=llv(l,20);地量見(jiàn)地價(jià):a4 and a5 and cc;5日中滿足100日內(nèi)成交量(手)的最低值近日地量:count(llv(v,100)=v,5)0;100日最低量v=llv(v,100),colorred;地量倍量選股ref(v,1)=llv(v,15) and v/ref(v,1)=2;60天內(nèi)地量倍量選股ref(v,1)=llv(v,60)

6、and v/ref(v,1)=2;地量陽(yáng)包陰aa1:=vref(o,1);ab1:=ref(c,1)o;地量陽(yáng)包陰:if(aa1 and ab1 and cc1 and ac,1,0)and barscount(close)60;三、漲?;蝾愡x股公式百日低量群,倍量就漲停1.百日低量群百日地量:= v=llv(v,100) and v0;倍量:= vol=ref(v,1)*1.9 and cref(c,1);地量又倍量:count(百日地量,10)=1 and count(倍量,5)=1;倍量過(guò)左峰 漲停急先鋒sr1:=ref(high,10)=hhv(high,2*10+1);sr2:=f

7、ilter(sr1,10);sr3:=backset(sr2,10+1);hd:=filter(sr3,10);前高:=ref(h,barslast(hd);倍量:=(vol/ref(vol,1)2 and count(closeopen,1) or (lowref(high,1) and count(openclose,1) and vol/ref(vol,1)2);突破前高:=cross(c,前高);倍量過(guò)左峰:= 突破前高 and 倍量;回踩黃金線,騰飛不眨眼3.回踩黃金線1.黃金柱jj:=(3*c+h+l+o)/6;var1:=dma(jj,0.2);var1:=(8*jj+7*ref

8、(jj,1)+6*ref(jj,2)+5*ref(jj,3) +4*ref(jj,4)+3*ref(jj,5)+2*ref(jj,6)+ref(jj,8)/36;tj1:=vol=hhv(vol,10) and vol2*ref(vol,1) and closevar1 and cref(c,1);ljl:=filter(tj1,3);黃金線:=ref(low,barslast(ljl);黃金柱:=filter(tj1,3);2.倍量過(guò)左峰sr1:=ref(high,10)=hhv(high,2*10+1); sr2:=filter(sr1,10); sr3:=backset(sr2,10+1

9、); hd:=filter(sr3,10); 前高:=ref(h,barslast(hd);倍量:=vol/ref(vol,1)=2 and count(closeopen,1) or lowref(high,1) and count(openclose,1) and vol/ref(vol,1)=2;突破前高:=cross(c,前高);倍量過(guò)左峰:= 突破前高 and 倍量;3.凹口起柱t7:=ref(vol,6)/ref(vol,7)=2;t6:=ref(vol,5)/ref(vol,6)=2;t5:=ref(vol,5)/ref(vol,4)=1.5;t4:=ref(vol,4)/ref

10、(vol,3)=1.5;t3:=ref(vol,2)/ref(vol,3)=1.5;t1:=v/ref(vol,1)2;t0:=co and cref(c,1);凹口起柱:= t7 and t1 and t0 or t6 and t1 and t0 or t5 and t1 and t0 or t4 and t1 and t0 or t3 and t1 and t0 ;凹口起柱akqz:= 黃金柱 and 凹口起柱;4.前高低位x:=21;tty:=h;aat:=ref(tty,x)=hhv(tty,2*x+1);bbt:=filter(aat,x);cct:=backset(bbt,x+1)

11、;hd10t:=filter(cct,x);前期高位:=ref(h,barslast(hd10t);突破前高tpqg:= 黃金柱 and 倍量過(guò)左峰 and c前期高位;選股選股: (count(tpqg,10) or count(akqz,10) and count(cross(黃金線*1.01,l),3)0 and l=黃金線 and cref(c,1) and ref(c,2)ref(c,1) and count(ljl,3)=0;u型量u形k線(凹口平量柱 騰飛起宏圖)u型量柱群n:=20;該值可調(diào)vv:=ma(v,n/4);縮量柱:=count(vv=n/2*0.9;梯量柱:=cou

12、nt(vvref(vv,1),n/2)=n/2*0.7;地量群:=count(v0,5)=1;并平 :=range(v/ref(v,1),0.97,1.03) and barscount(v)=2;凹平2:=range(v/ref(v,2),0.97,1.03) and ref( vol,1) v;凹平3:=range(v/ref(v,3),0.97,1.03) and ref(hhv(vol,2),1)v;凹平4:=range(v/ref(v,4),0.97,1.03) and ref(hhv(vol,3),1)v;凹平5:=range(v/ref(v,5),0.97,1.03) and r

13、ef(hhv(vol,4),1)v;凹平6:=range(v/ref(v,6),0.97,1.03) and ref(hhv(vol,5),1)v;凹平7:=range(v/ref(v,7),0.97,1.03) and ref(hhv(vol,6),1)v;凹平8:=range(v/ref(v,8),0.97,1.03) and ref(hhv(vol,7),1)0 and 梯量柱 and count(地量群,n)0 and count(平量,n)0 and hhv(v,n/2)=v; cc:=ma(c,n/4);價(jià)縮:=count(cc=n/2*0.9;價(jià)增:=count(ccref(cc

14、,1),n/2)=n/2*0.7;xg2:= count(ref(價(jià)縮,n/2),3)0 and 價(jià)增 and hhv(c,n/2)=c;xg: xg1 and xg2;u型量柱群n:=10;該值可調(diào),可設(shè)為參數(shù):n(10,60,20)地量群:=count(v0,n-5)=3 and barscount(v)=100;并平 :=range(v/ref(v,1),0.97,1.03) and barscount(v)=2;凹平2:=range(v/ref(v,2),0.97,1.03) and ref( vol,1) v;凹平3:=range(v/ref(v,3),0.97,1.03) and

15、ref(hhv(vol,2),1)v;凹平4:=range(v/ref(v,4),0.97,1.03) and ref(hhv(vol,3),1)v;凹平5:=range(v/ref(v,5),0.97,1.03) and ref(hhv(vol,4),1)v;凹平6:=range(v/ref(v,6),0.97,1.03) and ref(hhv(vol,5),1)v;凹平7:=range(v/ref(v,7),0.97,1.03) and ref(hhv(vol,6),1)v;凹平8:=range(v/ref(v,8),0.97,1.03) and ref(hhv(vol,7),1)=1.

16、3*ref(v,n-1) 比首量柱縮量30%以上 and hhv(v,n-1)=ref(v,n-1) and hhv(v,n-2)=ref(v,n-2) and hhv(v,n-3)=ref(v,n-3) and hhv(v,n-4)0含并平凹平 ;xg: count(u量群,10)0;5天前倍量ref(vol,4)/ref(vol,5)2;長(zhǎng)陰壓短柱,攻勢(shì)猛如虎選股: c/ref(c,1)0.95 and vhhv(v,30)/1.9;凹口淘金macd第二紅波diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-de

17、a);翻紅:range(ref(macd,2),ref(macd,1),ref(macd,3) and ref(macd,1)0.05;接力小雙陽(yáng)陰今陽(yáng):= ref(c=o and cref(o,1);陽(yáng)蓋陰?相對(duì)低位:=ref(kdj.k55,1) and co*1.04長(zhǎng)陽(yáng) and c=refx(ma(v,3),3) or refx(v,1)=refx(ma(v,3),3)量縮;陽(yáng)勝陰:= 昨陰今陽(yáng) and 價(jià)升量縮 and 相對(duì)低位 ;左柱距:=barslast(陽(yáng)勝陰);178448-wen98編寫(xiě);底精準(zhǔn):= abs(l-ref(ref(l,左柱距),1)=0.02 or abs(o

18、-ref(ref(o,左柱距),1)=0.02 or abs(o-ref(ref(l,左柱距),1)=0.02 or abs(l-ref(ref(o,左柱距),1)=4 and v=0.5*hhv(v,30);4%這個(gè)可自調(diào)長(zhǎng)陰k:=co and c0.03;長(zhǎng)腿:=長(zhǎng)陰k and (min(c,o)-l)/(h-l)=1/3 and 比前跌率=4 ;4%這個(gè)可自調(diào)l0:= const(ref(l,barslast(長(zhǎng)腿0);wc:=0.024;jzl:=abs(l0-l)=wc or abs(l0-min(o,c)=wc or abs(l0-h)=wc or abs(l0-max(o,c)=

19、2;60天內(nèi)至少2次精準(zhǔn)縮倍:= v=1;10天內(nèi)出現(xiàn)長(zhǎng)陰短柱xg: count(xg1,3)=1; 三天內(nèi)出現(xiàn)信號(hào)選出;黃金坑var8:=ma(close,27);var9:=(close-var8)/var8*100;vara:=ma(var9,2);varb:=barslast(cross(-10,vara)=1);varc:=barslast(cross(vara,10)=1);vard:=vara3;黃金坑: if(vard,vara,0);倍量左鋒+突破前高+凹口起柱+十日內(nèi)回踩黃金線回踩黃金線選股1.黃金柱jj:=(3*c+h+l+o)/6;var1:=(8*jj+7*ref(j

20、j,1)+6*ref(jj,2)+5*ref(jj,3)+4*ref(jj,4)+3*ref(jj,5)+2*ref(jj,6)+ref(jj,8)/36;tj1:=vol=hhv(vol,10) and vol2*ref(vol,1) and closevar1 and cref(c,1);ljl:=filter(tj1,3);黃金線:=ref(low,barslast(ljl);黃金柱:=filter(tj1,3);2.倍量過(guò)左峰sr1:=ref(high,10)=hhv(high,2*10+1);sr2:=filter(sr1,10);sr3:=backset(sr2,10+1);hd:

21、=filter(sr3,10);前高:=ref(h,barslast(hd);倍量:=(vol/ref(vol,1)2 and count(closeopen,1) or (lowref(high,1) and count(openclose,1) and vol/ref(vol,1)2);突破前高:=cross(c,前高);倍量過(guò)左峰:= 突破前高 and 倍量;3.凹口起柱t7:=ref(vol,6)/ref(vol,7)=2;t6:=ref(vol,5)/ref(vol,6)=2;t5:=ref(vol,5)/ref(vol,4)=1.5;t4:=ref(vol,4)/ref(vol,3

22、)=1.5;t3:=ref(vol,2)/ref(vol,3)=1.5;t1:=v/ref(vol,1)2;t0:=co and cref(c,1);凹口起柱:= t7 and t1 and t0 or t6 and t1 and t0 or t5 and t1 and t0 or t4 and t1 and t0or t3 and t1 and t0 ;凹口起柱akqz:= 黃金柱 and 凹口起柱;4.前高低位x:=21;tty:=h;aat:=ref(tty,x)=hhv(tty,2*x+1);bbt:=filter(aat,x);cct:=backset(bbt,x+1);hd10t:

23、=filter(cct,x);aa1t:=ref(tty,x)=llv(tty,2*x+1);bb1t:=filter(aa1t,x);cc1t:=backset(bb1t,x+1);ld10t:=filter(cc1t,x);前期高位:=ref(h,barslast(hd10t);前期低位:=ref(l,barslast(ld10t);突破前高tpqg:= 黃金柱 and 倍量過(guò)左峰 and c前期高位;選股xg: (count(tpqg,10) or count(akqz,10) and count(cross(黃金線*1.01,l),3)0 and l=黃金線 and cref(c,1)

24、 and ref(c,2)ref(c,1) and count(ljl,3)=0;四、黃金柱選股選一個(gè)黃金柱倍數(shù):=1.9;倍量1:=ref(vol,3)倍數(shù)*ref(vol,4) and ref(c,3)=ref(o,3);價(jià)升量縮:= llv(c,3)=ref(l,3) and hhv(vol,3)=o,4)=4;選股:倍量1 and 價(jià)升量縮 and 連陽(yáng);價(jià)升量縮 王子aa1:=ref(vol,4);aa2:=ref(vol,3);aa3:=ref(vol,2);aa4:=ref(vol,1);aa5:=vol;aa:=aa2aa1*1.9;bb:=aa5aa4 and aa4aa3

25、and aa3ref(close,1) and ref(close,1)ref(close,2) and ref(close,2)ref(close,3);價(jià)升量縮:=aa and bb and cc;選股:價(jià)升量縮;連續(xù)縮倍量 王子更可靠w1:=count(vol/ref(vol,1)0.5,1)=1;w2:=count(vol/ref(vol,2)0.3,1)=1;w3:=vol2 &ref(vol,2)/ref(vol,3)ref(vol,3)*0.9 &ref(vol,1)/ref(vol,2)ref(vol,2)*0.9 &vol/ref(vol,1)1.01 &ref(c,2)/r

26、ef(c,3)1.01 &ref(c,1)/ref(c,2)1.01 &c/ref(c,1)1.01;五、倍量選股小倍量選股tj1:=hhv(h,10)/llv(l,10)-1=1.9 and (cref(c,1) or c=o);tj3:=range(c/ref(c,1),0.99,1.031);xg:tj1 and tj2 and tj3;10日內(nèi)有2個(gè)以上倍量柱sum(vref(v,1)*2,10)=4;ab二個(gè)倍量柱倍量a:=barslast(c=o and v/ref(v,1)=2);倍量b:倍量a=0 and ref(倍量a,1)=5 and ref(倍量a,1)=10;小倍陽(yáng)過(guò)頂

27、選aa:=c=2*ref(v,1) and h-co,1) and o=ref(c,1)*0.97;選股:aa and bb;六、黃金線、精準(zhǔn)線、峰谷線、復(fù)合精準(zhǔn)線選股精準(zhǔn)峰谷線設(shè)立參數(shù):百分比(5,20,5), 右數(shù)峰序(2,20,2)百分比:=5;右數(shù)峰序:=2;波谷值:= const(trough(2,百分比,1);波峰值:= const(peak(1,百分比,右數(shù)峰序);xg: abs(波峰值-波谷值)60;谷底精準(zhǔn)百分比:=5;也可設(shè)立參數(shù):百分比(2,20,5)允許誤差:=0.004;也可設(shè)立參數(shù):允許誤差(0,0.02,0)波谷值1:= const(trough(2,百分比,1)

28、;波谷距離:= 1+const(troughbars(2,百分比,1);波谷值2:= const(trough(2,百分比,2);波谷值3:= const(trough(2,百分比,3);波谷值4:= const(trough(2,百分比,4);xg: 波谷距離=10 and(abs(波谷值1-波谷值2)=允許誤差 orabs(波谷值1-波谷值3)=允許誤差 orabs(波谷值1-波谷值4)=允許誤差);精準(zhǔn)線選股n:=3;l0:=0.00;l1:=abs(l-ref(l,1)=l0;l2:=abs(l-ref(l,2)=l0;l3:=abs(l-ref(l,3)=l0;l4:=abs(l-r

29、ef(l,4)=l0;l5:=abs(l-ref(l,5)=l0;精準(zhǔn)線首次:=l1 or l2 or l3 or l4 or l5; 精準(zhǔn)左:=filter(精準(zhǔn)線首次,n) ;天數(shù):=barslast(精準(zhǔn)左);lts:=ref(l,天數(shù));選股:abs(l-lts)2*ref(vol,1) and closevar1 and cref(c,1);ljl:=filter(tj1,3);黃金線:=ref(low,barslast(ljl);黃金柱:=filter(tj1,3);gt:count(cross(黃金線*1.01,l),3)0 and l=黃金線 and l-黃金線ref(c,1)

30、 and ref(c,2)ref(c,1) and count(ljl,3)=0;七、2560戰(zhàn)法選股公式2560macd選股dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;cross(ma(close,5),ma(close,25)and cross(ma(v,5),ma(v,60)and macd0;2560選股1、5線高于25線,5量大于60量,或者5線上叉25線,5量上叉60量2、10日和25日均線走平向上3、diffdea甲:=(ma(c,5)ma(c,25) and ma(v,5)ma(v,60)

31、or(cross(ma(c,5),ma(c,25) and cross(ma(v,5),ma(v,25);乙:=(ma(c,10)ref(ma(c,10),1)and ma(c,25)ref(ma(c,25),1);丙:=(ema(c,12)-ema(c,26)ema(ema(c,12)-ema(c,26),9);甲 and 乙 and 丙;5日穿60日均量cross(ma(v,5),ma(v,60) and v=hhv(v,20);5穿25均線ma5:=ma(c,5);ma25:=ma(c,25);a1:cross(ma5,ma25);15日內(nèi)曾經(jīng)5日均線上穿25日均線count(cross

32、(ma(c,5),ma(c,25),15)=1;5日均量線上穿60日均量線且在10日前ref(cross(ma(v,5),ma(v,60),10n-可調(diào));八、陰線戰(zhàn)法選股陰陽(yáng)并線前一天為陰線,跌幅-2.5以上t1:=ref(copen and c/ref(c,1)open and c=ref(c,1);選股t1 and t2;三連陰二縮量三連陰:=count(c2 and count(c2 and ref(c,1)ref(c,2);二縮量:=vol=ref(vol,1) and ref(vol,1)ref(vol,2);ref(every(cref(c,1),2)and every(co,2

33、),1) and abs(c-o)/o0.03and sum(c-ref(c,1)/c*100,7)o,c/oref(o/c,1),o/cref(o/c,1)andref(o/co or (c=o and cref(c,1);co and ref(b,1)2;優(yōu)化后的長(zhǎng)陰倍縮bsl:=volref(v,1)*0.618;長(zhǎng)陰短柱:=c/ref(c,1)1.095;漲停10日:=count(漲停,10);漲幅:=c/ref(c,1)-10.05;選股1:=漲停10日 and 漲幅 ;bs:=count(漲停,10)m20 and m20m30 ;s1:=if(namelike(s),0,1);s

34、2:=if(namelike(*),0,1);回踩均線:=cma(c,7) and cross(ma(c,7),l);s3:=dynainfo(17)0;xg:s1 and s2 and s3 and 選股1 and 回踩均線 and vv;某日漲停cref(c,1)*(1+0.092);10內(nèi)漲停過(guò)lc:=ref(close,1);ztb:=(close-lc)/lc*1009.8;exist(ztb,10);漲?;夭?3線n:=8;m:=13;回踩線:=ma(c,m);中期線:=ma(c,60);長(zhǎng)期線:=ma(c,120);均線多頭:=中期線ref(中期線,1) and 長(zhǎng)期線ref(長(zhǎng)

35、期線,1);大陽(yáng):=c/ref(c,1)=1.08;dysj:=barslast(大陽(yáng));跟蹤:=dysjref(l,dysj),dysj)=dysj and c/ref(c,dysj)0.95;阻擊點(diǎn):=v/ref(v,dysj)0.65 and l回踩線;機(jī)會(huì):跟蹤 and 阻擊點(diǎn) and 均線多頭,color00ff00;十、其它選股公式兩點(diǎn)半后較準(zhǔn)的選股dynainfo(17)1 and dynainfo(37)0.04 and dynainfo(7)10.00 and dynainfo(7)/ref(c,60)2;底部三兄弟var1:=(close+high+low+open)/4; var2:=sumbars(vol,capital); var3:=hhv(

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論