Trick to select/filter results on Backtest ;-)

Forums ProRealTime English forum ProOrder support Trick to select/filter results on Backtest ;-)

Viewing 5 posts - 1 through 5 (of 5 total)
  • #164644

    Hi Guys,

    As you know we can’t do backtest on our own indicators (I hope it will be possible in future versions of PRT) (Only maxdrawdown, % win and so on..) and we can’t filter with our indicators

    I thought about a “trick” snippet I want to share (With 100 000 units). Not perfect but may be helpful

    For example with this code, the first results on backtest would have only zscore>0.5.

    Because if results would have zscore<0.5 after 50 000 bars the system stop, and profit stop too

    If you have some ideas to improve this snippet and filter results on backtest please share

    Have a nice day

    Zilliq

    #164655

    Thanks for the tip, but some of us already use that idea, i can remember a topic about it, need to dig into the forum, i’ll try to find it.

    #164660

    Way to filter results of backtests according to a max drawdown you can set: https://www.prorealcode.com/topic/backtest-sorting-by-lowest-drawdown/page/2/#post-97047

    Based on this trick, you can QUIT (and therefore discard) strategies on any event you can imagine: X losses in a single row ; X orders gain > Y% of equity ; etc..

    1 user thanked author for this post.
    #164667

    Thanks Nicolas I haven’t see this post

    I find this little snippet useful until they improve the backtest on future versions

    #164669

    I see this  2018 post, and I think it’s important to add a number of bars

    Because with some indicators (generally based on money management) the results can be erratic at the beginning

    Bye

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login