您要打印的文件是:连续10天K线每日涨跌幅大于0且小于4%的选股公式

连续10天K线每日涨跌幅大于0且小于4%的选股公式

作者:佚名    转贴自:8000j·宝鸡房地产网    点击数:1555


连续10天K线每日涨跌幅大于0且小于4%的选股公式:

ZDF:=(C-REF(C,1))/REF(C,1)*100;
T1:=UPNDAY(CLOSE,10);
T2:=RANGE(ZDF,0,4);
t1 and t2;

 

A:=C/REF(C,1)>0.99 ANDC/REF(C,1)<1.01;
B:=COUNT(A,3)=3;
XG:B ANDDYNAINFO(17)>0;

 

N日涨幅大于M%:(选股公式)

(c/ref(c,n))>(1+M/100);

组合选股:

1、日涨幅小于4%:

(C-REF(C,1))/REF(C,1)*100<4;

2、日涨幅大于零:

(C-REF(C,1))/REF(C,1)*100>0.01;

3、连续N天收阳线:

RET:EVERY(CLOSE>OPEN,N);

4、M日内阳线多于阴线

RET:COUNT(OPEN<CLOSE,M)/M >= N/100;

 

昨日涨幅大于-0.8%:

(C-REF(C,1))/REF(C,1)*100>-0.8 AND UPNDAY(CLOSE,10);

前日涨幅大于-0.8%:
(C-REF(C,2))/REF(C,2)*100>-0.8 AND UPNDAY(CLOSE,10);

前3日涨幅大于-0.8%:
(C-REF(C,3))/REF(C,3)*100>-0.8 AND UPNDAY(CLOSE,10);


(C-REF(C,4))/REF(C,4)*100>-0.8 AND UPNDAY(CLOSE,10);
(C-REF(C,5))/REF(C,5)*100>-0.8 AND UPNDAY(CLOSE,10);
(C-REF(C,6))/REF(C,6)*100>-0.8 AND UPNDAY(CLOSE,10);
(C-REF(C,7))/REF(C,7)*100>-0.8 AND UPNDAY(CLOSE,10);
(C-REF(C,8))/REF(C,8)*100>-0.8 AND UPNDAY(CLOSE,10);
(C-REF(C,9))/REF(C,9)*100>-0.8 AND UPNDAY(CLOSE,10);
(C-REF(C,10))/REF(C,10)*100>-0.8 AND UPNDAY(CLOSE,10);

昨日涨幅大于10%的股票:

(C-REF(C,1))/REF(C,1)*100>10;