Backtest results change when I stop using variables

Forums ProRealTime English forum ProOrder support Backtest results change when I stop using variables

  • This topic has 56 replies, 3 voices, and was last updated 4 years ago by avatarMike.
Viewing 15 posts - 31 through 45 (of 57 total)
  • #108817

    Thanks for the correction GraHal – it did concern me that the long and short exits were not at all balanced as that is another instant curve fitting alarm bell.

    Attached is the 20/5 robustness test with your correction and the ITF file of the strategy with the robustness test added showing how TRADEON should be added to the entry conditions when a strategy can reverse direction.

    My concerns about the equity curve still stand unfortunately.

    2 users thanked author for this post.
    #108822

    Attached is one of the worst equity curves from the robustness test. You have to ask your self when looking at any equity curve whether that is an equity curve that you would have traded for very long and also analyse where you think all the profit was actually made.

    If you had decided to go on holiday and switch auto trading off while you put your feet up or take short periods of time off from trading then that is the equity curve that your strategy could give you. If an awful lot of the robustness tester results give similar equity curves then there is a very strong chance that you could actually end up with one on your trading account that looks like that!

    1 user thanked author for this post.
    #108856

    GraHal, Vonasi

    Thank you for your input. I haven’t yet tried out the various suggestions although I did spot the short trade “imbalance” and so did not go Live. Thank you for your revisions. I only go Live with 20p trades at first anyway to see how things work in the real world. I note your equity curve comments but the variables set in this system are trying to address the sideways market. I’ve only ever tested it from 1 Jan 2018. I have another set of variables to use in trending markets. Like you suggest, I would never trade a curve like that – too risky for little old me. Interestingly the system produces poor result on the S&P500, which you’d think would track the DJI. Tests on the FTSE 100 were better than on the DJI. This suggests to me that the variables are over-fitted to the DJI, whereas I’d rather have less potential profit and a more robust system that could be plugged in to any of the major indices. Also, Vonasi, I take on board your comments about “so many variables” and I think a simplified system may become less over-fitted…And, yes, wise advice about becoming rich!

    It’s been a great experience learning from you two, and that’s just so far.

    OK, late start today – so I’m away to get on with it

    1 user thanked author for this post.
    #108871

    Please see attachment: I THINK the entries at lines 52 and 53 are not required. At any rate they are not mirrored after line 57 and they have no impact on the Opti results…

    #108874

    What am I expecting to see?
    Attached is what I do see … nothing! 🙂

    Can you not attach a .jpg on here or just copy and paste the text if the doc contains  text??

    #108879

    Weird. The Word doc is fine on my laptop. JPG attached. Hopefully 🙂

    #108887

    THINK the entries at lines 52 and 53 are not required

    Correct … this is what I was saying here …

    I just noticed an error I made because I wasn’t concentrating!! The TP and SL on the short side should be as below!

    #108898

    I think I may have taken the code that Vonasi wrote for the robustness tester and it had your old code in it…Not sure, but I’m glad we’re all in agreement now! Thanks for coming back to me.

    1 user thanked author for this post.
    #108974

    I think there is still an issue with back testing until you have fixed your variables in the body of the code.

    GH&V FV has fixed variables and produces £10061. GH&V HC has hard coded numbers and produces £8261. M FV produces 9007 and M HC collapses to 4063. Tick-by-tick was always selected. Test from 01/01/18-27/09/19 on DJI Daily. (GraHal – I changed the variables as a stop of 350 was too much risk for me)

    Am I missing something? Hopefully I am, as otherwise it seems we have to test to get close to optimal, hard code the numbers and pray that tick-by-tick does not change the results too much….repeat..

    Sorry for the duplicate files!

    #108981

    On Sunday when I was testing your code, I kept hitting / getting stopped by the tick by tick limit.

    There is a limit of 2500 bars where – when using tick by tick – which if > 2500 times that the TP and SL are hit in the same bar then we get an error message asking us if we want to turn tick by tick off or close the Backtest.

    Does above account for Issues you are seeing / having @Mike?

    M FV produces 9007 and M HC collapses to 4063

     

     

    1 user thanked author for this post.
    #108983

    I saw that message from time to time a few weeks back when I was just starting to use PRT. I haven’t seen it in these tests. I saw you and Vonasi seemed to be testing back to 2000 or earlier. I am only testing 21 months, which is way under the 2500 limit. Short answer is “no” 🙁

    A thought: your code and its variables suffered less in tbt than mine – possibly because tbt had less impact on your wider stops than on my narrower ones..?

    1 user thanked author for this post.
    #108985

    I checked on my CFD Account and got same values … see attached and bear in mind that this is for the DJI 2$ CFD

    1 user thanked author for this post.
    #108987

    Hers the M-FV and M-HC … same value again

    1 user thanked author for this post.
    #108989

    It’s telling me that M-HC-1.itf and M-FV-1.itf are the same files as M-HC and M-FV … is that correct??

    #108990

    Yes. I’ve not investigated yet, but when I first select a file the Submit, the file does not attach. Then I edit and re-select it and it attaches. I think I had a few finger twitches in selecting the files. Do you know how to unselect them from the Attacment selection?

Viewing 15 posts - 31 through 45 (of 57 total)

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