用【六个常用指标】的趋向走好选股.我看还可以.选股的目的就是走捷径.不用把所有的股票完全翻看一遍.当然【捷径】就不会百分之百.偏差也会不少.用大智慧检查【成功率】很简单.哪位同学自己做做看-----我看还可以.今天A股选出7个股----------
{同舟共济}
J18:="KDJ.J"(18,3,3); {1.-------KDJ}
DIFF:=EMA(CLOSE,7) - EMA(CLOSE,13);
DEA:=EMA(DIFF,3);
MACD:=2*(DIFF-DEA); {2.---------MACD}
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))/2;
CCIJ:=EMA(EMA(EMA((TYP-WMA(TYP,18))/(0.015*AVEDEV(TYP,18)),4),6),8); {3.----------CCI}
DDD:=EMA((MA(CLOSE,10)-MA(CLOSE,50)),5); {4.---------DMA}
LC := REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
MRSI:=EMA(EMA(EMA(RSI,3),6),9); {5.----------RSI}
WR1:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WRM:=EMA(EMA(EMA(WR1,3),6),9); {6. ----------W&R}
同舟共济:J18<REF(J18,1) and (MACD>0.02) and CCIJ<REF(CCIJ,1) and (DDD>REF(DDD,1)) and (MRSI>REF(MRSI,1)) and (WRM>REF(WRM,1)) and C>REF(C,1);