公式源码:
A:=MA(CLOSE,60);A1:=REF(CLOSE,1)A;EXIST(A1,8) {8天以内有价上穿60日均线动作}AND (HHV(CLOSE,8)-A)*100/A>5 {上穿后又涨了最少5%}AND CLOSE>A AND (CLOSE-A)*100/AMA(C,60) AND MA(C,60)>REF(MA(C,60),1) AND (MIN(OPEN,CLOSE)-LOW)/(HIGH-LOW)O ;
==============
{回踩}
CROSS(MA(C,60),L) AND C>MA(C,60) AND MA(C,60)>REF(MA(C,60),1) AND (MIN(OPEN,CLOSE)-LOW)/(HIGH-LOW)0;S4:=FINANCE(7)3.0 && CMA25,3,1);
LOW = MA(CLOSE,25)-0.01&& Y && SSS1
OR OPEN= MA(CLOSE,25)-0.01&& Y && SSS1;
回踩10日线选股公式
条件:1 均线成多头排列 2 最近15个交易日内有过涨停 3 股价缩量回踩14日线不破
M5:=MA(C,5); M14:=MA(C,14); M30:=MA(C,30); M60:=MA(C,60); T:=BARSLAST(C>REF(C,1)*1.095 AND H=C); TJ1:=M5>M14 AND M14>M30 AND M30>M60; TMA25 AND MA25>MA99; TB:=EXP1>REF(EXP1,1) AND MA25>REF(MA25,1); TC:=LOW>EXP1 AND TA AND TB; TD:BARSLAST(TC)NODRAW; TE:=LOWEXP1; TF:=CROSS(COUNT(TE,TD),0.5); TG:=EVERY(TA AND TB ,TD); XG:TF AND TG;
或者
EXP1:=EXPMA(CLOSE,17); MA25:=MA(CLOSE,25); MA99:=MA(CLOSE,99); TA:=EXP1>MA25 AND MA25>MA99; TB:=EXP1>REF(EXP1,1) AND MA25>REF(MA25,1) AND MA99>=REF(MA99,1)-0.01; TC:=LOW>EXP1 AND TA AND TB; TD:=BARSLAST(TC); TE:=LOWEXP1; TF:=CROSS(COUNT(TE,TD),0.5); TG:=EVERY(TA AND TB,TD); XG:TF AND TG;
{股价回踩30日选股公式} VAR1:= MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,60); VAR2:= MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1) AND MA(C,60)>REF(MA(C,60),1); COUNT(VAR1 AND VAR2,3)=3 AND ABS((MA(C,30)-L)/L)*100MA(C,30);
由于本人不会编公式,还请各位老师帮忙,不胜感激!!谢谢! 1、13日、24日、55日均线多头排列或走平。 2、股价缩量(比前一交易日成交量)跌至13日,或24日均线处,预警。 3、股价放量(比前一交易日成交量)上涨至13日,或24日均线处,预警。
股旁网解答:
{1}
M13:=MA(C,13);
M24:=MA(C,24);
M55:=MA(C,55);
A1:=M13>M24 AND M24>M55 AND M13>=REF(M13,1) AND M24>=REF(M24,1) AND M55>=REF(M55,1);
A2:=VM24 AND M24>M55 AND M13>=REF(M13,1) AND M24>=REF(M24,1) AND M55>=REF(M55,1);
A2:=V>REF(V,1);
XG:A1 AND A2 AND CROSS(C,M13) OR A1 AND A2 AND CROSS(C,M24) OR A1 AND A2 AND CROSS(H,M13) OR A1 AND A2 AND CROSS(H,M24);
5日均线回踩60不破通达信选股公式CROSS(MA(C,60),MA(C,5)) AND C>MA(C,60) AND MA(C,5)>REF(MA(C,5),1);