成功率测试指标(原码,贴图,说明)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-12-13 08:44:00
公式简介:
买进:CROSS("kdj.K"(9,3,3),"kdj.D"(9,3,3));{这一句即待测试的公式,可自行更换}
上市天数:BARSCOUNT(C),COLORFFFFFF,NODRAW;
买入天数:BARSLAST(买进),COLORFFFF00,NODRAW;
买入价:=REF(C,买入天数);
止盈价:=买入价*1.1;{可自定}
止损价:=买入价*0.95;{可自定}
涨幅:(C-买入价)/买入价*100,COLOR00FFFF,NODRAW;
止赢:=C>止盈价;
止损:=C<止损价;
止赢发生:=止赢 AND COUNT(REF(止赢,1),买入天数)=0 AND COUNT(REF(止损,1),买入天数)=0;
止损发生:=止损 AND COUNT(REF(止损,1),买入天数)=0 AND COUNT(REF(止赢,1),买入天数)=0;
DRAWICON(止赢发生,0.5,1);
DRAWICON(止损发生,0.5,2);
止赢次数:SUM(止赢 AND COUNT(REF(止赢,1),买入天数)=0 AND COUNT(REF(止损,1),买入天数)=0,上市天数),COLORFFFF00,NODRAW;
止损次数:SUM(止损 AND COUNT(REF(止损,1),买入天数)=0 AND COUNT(REF(止赢,1),买入天数)=0,上市天数),COLOR00FFFF,NODRAW;
总操作次数:止赢次数+止损次数,COLORFFFF00,NODRAW;
成功率:止赢次数/总操作次数*100,COLOR00FFFF,NODRAW;
总赢幅:=止赢次数*10;
总损幅:=止损次数*2;
净赢幅:总赢幅-总损幅,COLORFFFF00,NODRAW;
[url=http://www.goodgupiao.com/gupiaogongshi/24366.html][B]成功率测试指标(原码,贴图,说明)[/B][/url]