Trade is shown in backtest Price chart but not Equity Curve

Forums ProRealTime English forum ProRealTime platform support Trade is shown in backtest Price chart but not Equity Curve

Viewing 8 posts - 16 through 23 (of 23 total)
  • #143935

    Two weeks after I submitted a report to PRT I have had the sort of response that doesn’t give me any hope they will ever get to the bottom of it. Meanwhile, I have found that I get different back test results depending on the start date of the test.

    • Testing from 3 July – 11 September, I see no trades after 11 August.
    • Testing from 3 August – 11 September, I see trades up to 1 September, which includes the original missing live trade of 25 August.

    You can see this in the screenshots, and you can see the start and finish dates at the top of the Detailed Report. The finish dates in both screenshots are 11 September.

    Therefore my new theory is that the backtest doesn’t always test until the finish date, and that this depends on the start date. This is consistent with my other posts above. I would very much appreciate knowing if you find this too if you run the code, and if so, any insight into why this might happen and how to stop it from happening.

     

    #143960

    @teapot2002

    I tried this using your code against the Germany 30 (DFB) and get the same results that you do, see attached.

    1 user thanked author for this post.
    #143962

    Hmm seems to be an issue with the submit which removed the second attachment, here it is:

    #144445

    @AutoStrategist, thank you for confirming my results.

    Recent results can be missing from the backtest, depending on the start date. 


    @Nicolas
    , @GraHal, @Vonasi, I think that this should cause concern.

    In the screenshots above I show:

    • backtest dates from 3 Aug – 11 Sept give 5 trades, from 4 Aug – 1 Sept. It is believable that the 1 Sept trade is the last trade before 11 Sept.
    • backtest dates from 3 July – 11 Sept give 7 trades, from 6 July – 11 Aug. Trades after 11 Aug are not shown, including the 1 Sept trade.

    Surely this can’t be right?

    #144446

    Have you checked the variables values from the daily timeframe with GRAPH? To see if there are any difference between the 2 backtests? If not, please check.

    #144462

    I’ve just tried this, and no, the variables are not the same; PVIok is zero for the shorter backtest time, when the 1 September trade doesn’t run. Screenshots attached.

    Very interesting, and it makes sense that the trade doesn’t run when this variable is zero. However… why is it different? The only thing that I’m changing is the earlier backtest date, from 3 August (when the trade happens) to 3 July (when it doesn’t).

    #145260

    @Nicolas, you’ll see from my post above that your question was a good one. Do you have any suggestions for why changing the backtest start date affects a variable in the test?

    #145263

    ok that means that the PVI (Positive Volume Index) indicator value is not the same, because it doesn’t rely on period of calculation. So it seems obvious that the condition result is not the same and therefore quantity of orders too.

     

     

Viewing 8 posts - 16 through 23 (of 23 total)

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