資源描述:
《我地股票池選股公式源碼》由會員上傳分享,免費在線閱讀,更多相關內容在工程資料-天天文庫。
1、實用標準文案股票池選股公式:??(001)K線昨天收盤是陰線今天是陽線選股公式:XG:C>OANDREF(C,1)[ma(c,10);(003)成交均價線:MAN:MA(AMOUNT/V/100,N);(004)今日收盤價站在30日和5日均線上方,且5日均線掉頭向上;且成交量比前一日放大一倍以上;且今日收盤是超過8%的陽線。C>MAX(MA(C,5),MA(C,30))ANDCROSS(MA(C,5),REF(MA(C,5),1))ANDV>REF(V,1)*2ANDC/REF(C,1)>1.08]
2、;(005)5日線連續(xù)3日走平或向上:count(ma(c,5)>=ref(ma(c,5),1),3);(006)MACD指標源碼:LONG,26??SHORT,12??M,9DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:EMA(DIFF,M);MACD:2*(DIFF-DEA),COLORSTICK;選出MACD的DIFF、DEA在0軸下,DIFF從下往上交叉DEA的個股:DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:EMA(DIFF,M);MACD:2*(DIFF-DEA)
3、;DIFF<0ANDDEA<0ANDCROSS(DIFF,DEA);(007)選出外盤小于內盤而股價收陽的個股:DYNAINFO(7)>DYNAINFO(3)ANDDYNAINFO(22)>DYNAINFO(23);(008)一陽穿兩線:xg:cross(c,ma(c,5))andcross(c,ma(c,30));(009)連續(xù)3-5天,每天的收盤價漲跌幅不超過1%.????????????w1:abs(c-o)<0.01;xg:count(w1,5)>=3;(010)K線收十字星的股票:abs(c-o)/o<0.01;(011)MACD在8天以內兩
4、次金叉:DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;MACD:=2*(DIFF-DEA);w1:cross(DIFF,dea);xg:count(w1,8)>=2;文檔大全實用標準文案(012)MACD上金叉選股公式:日線MACD在0線上方出現(xiàn)金叉,且近10日內漲幅不超過百分之10:DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;MACD:=2*(DI
5、FF-DEA);w1:=cross(DIFF,dea);w2:=(c-ref(c,10))/ref(c,10)<0.1;w3:macd>0;w1andw2andw3;(013)一陽穿三線:cross(c,ma(c,5))andcross(c,ma(c,10))andcross(c,ma(c,20));(014)13日量均線拐頭向上:ma(v,13)>ref(ma(v,13),1);(015)60MA由向下調頭向上:ma(c,60)>ref(ma(c,60),1);(016)個股價回調到14日均線的選股公式:abs(c-ma(c,14))/ma(c,14
6、)<0.005;(017)跳空高開上漲或跳空下跌發(fā)出信號:HIGH[REF(HIGH,1);(018)跳空高開收陽線:LOW>REF(HIGH,1)andc>o;(019)漲停過300日線的選股公式:c/ref(c,1)>1.09andcross(c,ma(c,300));(020)今天的開盤價比昨天的收盤價高,并收陽線:c>oandc>ref(c,1);(021)MA20穿MA30;MA20穿MA60;MA20穿120:cross(ma(c,20),ma(c,30))orcross(ma(c,20),ma(c,60))]
7、orcross(ma(c,20),ma(c,120));(022)股價N天內連續(xù)沿著5天線走,且每天收盤價與5天線的距離不超過2%的選股公式:w1:=abs(c-ma(c,5))/ma(c,5)<0.02;xg:count(w1,n)=n;文檔大全實用標準文案(023)跳空高開后三天內沒有回補缺口的公式:ref(LOW,2)>REF(HIGH,3)andl>ref(LOW,2);(024)N日內,向上跳空缺口未補的選股。N設為可調節(jié)參數(shù)ref(LOW,n)>REF(HIGH,n-1)andl>ref(LOW,n);(025)當曰放量漲停突破125曰均線
8、和250日均線(125均線與250均線粘合)cross(c,ma(c,125))andcros