御龙回马选股公式

选股公式源码


X_1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND
REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND
REF(OPEN,3)>REF(MA(CLOSE,10),3) AND
NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND
REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_2:=HIGH/REF(CLOSE,1)>=1.041;
X_3:=X_1 AND X_2;
X_4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND
REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND
REF(OPEN,4)>REF(MA(CLOSE,10),4) AND
NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND
REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_5:=HIGH/REF(CLOSE,1)>=1.041;
X_6:=REF(CLOSE,4)/OPEN>1.02;
X_7:=X_4 AND X_5 AND X_6;
X_8:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5) AND
REF(CLOSE,5)>REF(MA(CLOSE,5),5) AND
REF(OPEN,5)>REF(MA(CLOSE,10),5);
X_9:=HIGH/REF(CLOSE,1)>=1.041;
X_10:=X_8 AND X_9;
X_11:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6) AND
REF(CLOSE,6)>REF(MA(CLOSE,5),6) AND
REF(OPEN,6)>REF(MA(CLOSE,10),6);
X_12:=HIGH/REF(CLOSE,1)>=1.041;
X_13:=X_11 AND X_12;
X_14:=REF(CLOSE,7)/REF(CLOSE,7)>1.09 AND REF(CLOSE,7)=REF(HIGH,7) AND
REF(CLOSE,7)>REF(MA(CLOSE,5),7) AND
REF(OPEN,7)>REF(MA(CLOSE,10),7);
X_15:=HIGH/REF(CLOSE,1)>=1.041;
X_16:=X_14 AND X_15;
X_17:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND
REF(MA(CLOSE,5),1) AND REF(LOW,1)>REF(MA(CLOSE,20),1) AND
OPEN/REF(CLOSE,1)<1.09 AND CLOSE>OPEN;
X_18:=X_3 OR X_7 OR X_10 OR X_13 OR X_16 AND X_17;
X_19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
X_20:=X_18 AND X_19;
X_21:=X_20 AND BARSCOUNT(CLOSE)<90;
X_22:=X_20 AND MA(CLOSE,5)>MA(CLOSE,60) AND
MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30) AND
MA(CLOSE,10)>MA(CLOSE,60) AND MA(CLOSE,10)>MA(CLOSE,120);
XG:X_21 OR X_22;

选股公式翻译


X_1赋值:3日前的收盘价/4日前的收盘价>1.09 AND 3日前的收盘价=3日前的最高价 AND 3日前的收盘价>3日前的收盘价的5日简单移动平均 AND 3日前的开盘价>3日前的收盘价的10日简单移动平均 AND 取反
X_2赋值:最高价/1日前的收盘价>=1.041
X_3赋值:X_1 AND X_2
X_4赋值:4日前的收盘价/5日前的收盘价>1.09 AND 4日前的收盘价=4日前的最高价 AND 4日前的收盘价>4日前的收盘价的5日简单移动平均 AND 4日前的开盘价>4日前的收盘价的10日简单移动平均 AND 取反
X_5赋值:最高价/1日前的收盘价>=1.041
X_6赋值:4日前的收盘价/开盘价>1.02
X_7赋值:X_4 AND X_5 AND X_6
X_8赋值:5日前的收盘价/6日前的收盘价>1.09 AND 5日前的收盘价=5日前的最高价 AND 5日前的收盘价>5日前的收盘价的5日简单移动平均 AND 5日前的开盘价>5日前的收盘价的10日简单移动平均
X_9赋值:最高价/1日前的收盘价>=1.041
X_10赋值:X_8 AND X_9
X_11赋值:6日前的收盘价/7日前的收盘价>1.09 AND 6日前的收盘价=6日前的最高价 AND 6日前的收盘价>6日前的收盘价的5日简单移动平均 AND 6日前的开盘价>6日前的收盘价的10日简单移动平均

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.bbizhi.com/109889.html