快生活 - 生活常识大全

抓强牛选股公式


  选股公式源码:
  XA_1:=MA(CLOSE,5);
  XA_2:=MA(CLOSE,10);
  XA_3:=IF(CLOSE>=TDXWAVE.NOTEXTWAVE AND (CLOSE>XA_1 OR CLOSE>XA_2),70,0);
  XA_4:=IF(CLOSE>TDXWAVE.NOTEXTWAVE AND (CLOSE<XA_1 AND CLOSE<XA_2),50,0);
  XA_5:=IF(CLOSE<TDXWAVE.NOTEXTWAVE,30,0);
  XA_6:=XA_3+XA_4+XA_5;
  XA_7:=IF(CLOSE>XA_1 AND XA_1>XA_2,70,0);
  XA_8:=IF(CLOSE<XA_1 AND XA_1<XA_2,30,0);
  XA_9:=XA_7+XA_8;
  XA_10:=IF(XA_9=0,50,0);
  XA_11:=XA_7+XA_8+XA_10;
  XA_12:=XA_6*0.5+XA_11*0.5;
  XA_13:=10;
  XA_14:=NOT(NAMELIKE(1) OR NAMELIKE(2));
  XA_15:=(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW<HIGH)*8;
  XA_16:=BARSCOUNT(CLOSE)>=30;
  XA_17:=(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND LOW=HIGH)*3;
  XA_18:=CLOSE>OPEN*1.027;
  XA_19:=(HIGH>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE<HIGH)*2;
  XA_20:=XA_13+XA_15+XA_17+XA_19;
  XA_21:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
  XA_22:=XA_20*XA_21;
  XA_23:=(EMA(CLOSE,12)/EMA(CLOSE,26)-1)*1000;
  XA_24:=DYNAINFO(4)>0;
  XA_25:=EMA(XA_23,5);
  XA_26:=XA_25-REF(XA_25,1);
  XA_27:=(EMA(INDEXC,12)/EMA(INDEXC,26)-1)*1000;
  XA_28:=EMA(XA_27,5);
  XA_29:=XA_28-REF(XA_28,1);
  XA_30:=(XA_26-XA_29)*50;
  XA_31:=XA_22+XA_30+XA_12;
  XA_32:=XA_31>470;
  XA_33:=BARSLAST(XA_32);
  XA_36:=BETWEEN(XA_33,0,2);
  XA_37:=MA(CLOSE,5);
  XA_38:=MA(CLOSE,10);
  XA_39:=XA_38<XA_37;
  XA_40:=REF(XA_36,1)>0 AND XA_39;
  XA_41:=REF(XA_40,1) AND XA_14 AND XA_16 AND XA_18 AND XA_24;
  XG:FILTER(XA_41,20);
  选股公式翻译:
  XA_1赋值:收盘价的5日简单移动平均XA_2赋值:收盘价的10日简单移动平均XA_3赋值:如果收盘价&gt;=通达信趋势浪的NOTEXTWAVEAND(收盘价&gt;XA_1ORCLOSE&gt;XA_2),返回70,否则返回0XA_4赋值:如果收盘价&gt;通达信趋势浪的NOTEXTWAVEAND(收盘价&lt;&gt;&lt;通达信趋势浪的notextwave,返回30,否则返回0="" xa_5=""""&gt;XA_1ANDXA_1&gt;XA_2,返回70,否则返回0XA_8赋值:如果收盘价&lt;&gt;=计算涨停价 AND 最低价&lt;最高价)*8xa_16赋值:收盘价的有效数据周期数&gt;=30XA_17赋值:(收盘价&gt;=计算涨停价 AND 最低价=最高价)*3XA_18赋值:收盘价&gt;开盘价*1.027XA_19赋值:(最高价&gt;=计算涨停价 AND 收盘价&lt;最高价)*2xa_20赋值:xa_13+xa_15+xa_17+xa_19xa_21赋值:(收盘价-1日前的收盘价)&gt;0XA_25赋值:XA_23的5日指数移动平均XA_26赋值:XA_25-1日前的XA_25XA_27赋值:(大盘的收盘价的12日指数移动平均/大盘的收盘价的26日指数移动平均-1)*1000XA_28赋值:XA_27的5日指数移动平均XA_29赋值:XA_28-1日前的XA_28XA_30赋值:(XA_26-XA_29)*50XA_31赋值:XA_22+XA_30+XA_12XA_32赋值:XA_31&gt;470XA_33赋值:上次XA_32距今天数XA_36赋值:XA_33位于0和2之间XA_37赋值:收盘价的5日简单移动平均XA_38赋值:收盘价的10日简单移动平均XA_39赋值:XA_380 AND XA_39XA_41赋值:1日前的XA_40 AND XA_14 AND XA_16 AND XA_18 AND XA_24输出XG:XA_41的20日过滤<!--最高价)*2xa_20赋值:xa_13+xa_15+xa_17+xa_19xa_21赋值:(收盘价-1日前的收盘价)--><!--最高价)*8xa_16赋值:收盘价的有效数据周期数--><!--通达信趋势浪的notextwave,返回30,否则返回0=""-->
  演示图片:
网站目录投稿:梦梅