以下是大智慧分时选股(源码)副图
JB:= DYNAINFO(8)>0;
{早盘30分钟,成交量}
B:=DYNAINFO(8);
BV:=REF(V,1);
ZF2:=B/BV*100;
{10点的涨幅}
A:=DYNAINFO(7);
AC1:=REF(C,1);
ZF1:=(A-AC1)/AC1*100;
{当前价格高于开盘价}
D:=A-O;
{股票昨天是涨的}
{K:=REF(C,1)-REF(O,1);}
{5日均线比10日均线高}
KK:=MA(C,5) >MA(C,10) AND MA(C,5)>REF(MA(C,5),1);
{5分钟、15分钟、30分钟MACD都出现红柱}
DEA5:=”MACD.DEA#MIN5″;
DIFF5:=”MACD.DIF#MIN5″;
D5:=DIFF5-DEA5;
DEA15:=”MACD.DEA#MIN15″;
DIFF15:=”MACD.DIF#MIN15″;
D15:=DIFF15-DEA15;
DEA30:=”MACD.DEA#MIN30″;
DIFF30:=”MACD.DIF#MIN30″;
D30:=DIFF30-DEA30;
{J:=(D5>0 AND D15>0) OR (D5>0 AND D30>0) OR (D15>0 AND D30>0);}
J:= (D5>0 AND D15>0 AND D30>0);
{委买大于委卖}
E:=DYNAINFO(23)-DYNAINFO(22);
{昨天成交量比前天多}
F:=REF(V,1)-REF(V,2);
选股:ZF1<6 AND ZF2>30 AND JB>0 AND J>0 AND D>0 AND E>0 AND F>0 AND KK>0;
这个公式不是用在日线的,是分时选股。只是能达到条件的个股较少。还是有信号的!
评论(0)