资源描述:
《选股公式源码大全》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、一、以下公式仅供学习研究之用;二、选股公式只能起到一个条件过滤的作用,具体操作还得综合其他技术面、基本面等;三、不同的行情要用不同的方式,不可能一劳永逸;一、{选股公式}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);三){简单实用选股公式}公式名:波段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);八){分时横盘选股公式}tt:=BARSCOUNT(CLOSE);
CC:=CLOSE均线:=SUM(AMOUNT,0)/SUM(VOL*100,0);上均:=均线+AVEDEV(C,tt)*2;下均:=均线-AVEDEV(C,tt)*2;时长:=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时长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-