飞狐]计算选股条件年内10日成功率的正确法 副图,源码
-
相关简介:[飞狐] 计算选股条件年内10日成功率的正确算法 X:=IF(BARPOS250 AND BARPOS10,BARPOS,250); 买估计价:=REF(C,BARSLAST(XG)); 年内XG次数:COUNT(XG,X)-COUNT(XG,10); 十点胜率:=SUM(REF(XG,10) AND HHV(H,10)REF(C,10)*1.11,X-10)/年内XG次数; 五点胜率:=SUM(REF(XG,10) AND HHV(H,10)REF(C,10)*1.06,X-10)/年内XG次
-
文章来源:股海网作者:股海网发布时间:2012-02-15浏览次数:
[飞狐] 计算选股条件年内10日成功率的正确算法
X:=IF(BARPOS<250 AND BARPOS>10,BARPOS,250);
买估计价:=REF(C,BARSLAST(XG));
年内XG次数:COUNT(XG,X)-COUNT(XG,10);
十点胜率:=SUM(REF(XG,10) AND HHV(H,10)>REF(C,10)*1.11,X-10)/年内XG次数;
五点胜率:=SUM(REF(XG,10) AND HHV(H,10)>REF(C,10)*1.06,X-10)/年内XG次数;
三点胜率:=SUM(REF(XG,10) AND HHV(H,10)>REF(C,10)*1.04,X-10)/年内XG次数;
一点胜率:=SUM(REF(XG,10) AND HHV(H,10)>REF(C,10)*1.02,X-10)/年内XG次数;
神马选股软件都是浮云,大家都是赚钱的,谁亏呢?主力?这显然不符合股市法则!
〈通达信〉计算选股条件年内10日成功率的正确算法(木知对木)
X:=IF(BARSCOUNT(CLOSE)<250 AND BARSCOUNT(CLOSE)>10,BARSCOUNT(CLOSE),250);
买估计价:=REF(C,BARSLAST(XG));
年内XG次数:COUNT(XG,X)-COUNT(XG,10);
十点胜率:=SUM(REF(XG,10) AND HHV(H,10)>REF(C,10)*1.11,X-10)/年内XG次数;
五点胜率:=SUM(REF(XG,10) AND HHV(H,10)>REF(C,10)*1.06,X-10)/年内XG次数;
三点胜率:=SUM(REF(XG,10) AND HHV(H,10)>REF(C,10)*1.04,X-10)/年内XG次数;
一点胜率:=SUM(REF(XG,10) AND HHV(H,10)>REF(C,10)*1.02,X-10)/年内XG次数;