在实战中发现一个比较好的形态组合,于是抽空编制了一个选股指标,短线成功率应该还行。指标取名叫“挖坑藏金”,指标为原创源码,无来来,大智慧和通达信通用
源码
{挖坑藏金}
A1:=C/REF(C,1)>1.07 AND C/O>1.03;
A2:=REF(C,3)<REF(O,3) AND REF(C,3)/REF(C,4)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02 AND C/REF(C,1)>1.041 AND C>O;
A3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.02 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.02;
A4:=MA(C,5)>MA(C,20);
XG:COUNT(REF(A1,1),15) AND A2 AND A3 AND A4;