資源描述:
《選股公式源碼大全》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、一、以下公式僅供學(xué)習(xí)研究之用;二、選股公式只能起到一個(gè)條件過(guò)濾的作用,具體操作還得綜合其他技術(shù)面、基本面等;三、不同的行情要用不同的方式,不可能一勞永逸;一、{選股公式}ZLC:=EMA((WINNER(CLOSE)*70),3);SHC:=EMA(((WINNER((CLOSE*1.1))-WINNER((CLOSE*0.9)))*80),3);主力控盤:=((ZLC/(ZLC+SHC))*100);上限:=HHV(主力控盤,20);下限:=LLV(主力控盤,20);中線:=(上限+下限)/2;A:=60;B:=10;抄低:CROSS(主力控盤,B);二){選股公式}LC:=REF(CLOS
2、E,1);RSI:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;跌破:CROSS(20,RSI);三){簡(jiǎn)單實(shí)用選股公式}公式名:波段M3:MA((CLOSE*2+H+L)/4,3);M3_3:MA(M3,3),COLORGREEN;選股公式:M3:=MA((CLOSE*2+H+L)/4,3);M3_3:=MA(M3,3);xg:cross(M3,M3_3);四){選股公式}VAR1P:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;VAR2P:=SMA(VAR
3、1P,7,1);VAR3P:=SMA(VAR2P,5,1);IF(CROSS(VAR2P,VAR3P)ANDVAR2P<20,85,0);五){選股公式}N:=9;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,2,1);D:=SMA(K,2,1);K>DANDREF(K,1)[D:=MA]
4、(K,9);bb:=CLOSE>OPENandCLOSE[=ref(c,1)andref(o,1)]
5、/ref(c,1)>=1.04and(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667andma(c,10)>ma(c,20)andref(c,1)>ma(c,20)andl<;ma(c,20)andc>ma(c,20);八){分時(shí)橫盤選股公式}tt:=BARSCOUNT(CLOSE);
CC:=CLOSE均線:=SUM(AMOUNT,0)/SUM(VOL*100,0);上均:=均線+AVEDEV(C,tt)*2;下均:=均線-AVEDEV(C,tt)*2;時(shí)長(zhǎng):=if(HOUR>=13ANDHOUR<15,1,0);漲幅:=(CLOSE>DYNAINFO(3)
6、)>1.02;跌幅:=(CLOSE/DYNAINFO(3))<0.98;橫盤:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<0.03;yy:=SMA(VOL,30,1);放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0.92;漲跌幅:=漲幅OR跌幅;橫漲:=漲跌幅=0and橫盤and時(shí)長(zhǎng)and放量andCROSS(CC,上均);突破:FILTER(橫漲,100);九){選股公式}var1:=cross(ma(c,5),ma(c,10));var2:=c>ma(c,60);DIFF
7、:=EMA(CLOSE,26)-EMA(CLOSE,12);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);var3:=cross(diff,macd);var4:=(v/FINANCE(7))>5;var5:=ma(v,5)>ma(v,34);xg:var1andvar2andvar4andvar5;十){周線買入選股公式}AA05:=MA(C,5);五日乖離率:=(c-