Strategy SR Dow J Day

Forums ProRealTime English forum ProOrder support Strategy SR Dow J Day

Viewing 4 posts - 16 through 19 (of 19 total)
  • #137408

    Hi Vonasi,
    When I make the optimizations of my trading systems I ALWAYS stop in December 2017 for any Time Frame, so the computer cannot know beyond that date what happened …. in the attached graph it starts Without the time-based sale from 1 January 2018. …… clearly I try to have the odds in my favor certainty does not exist in anything …..
    I thank you for your work and I wish you a good evening …

     

     

    #137432

    the set target profit needs to be straight below the buy order because it uses average range & close. 

    It can not be put on the bottom. It’s placed correct and uses the close when conditions are true to go long.

    however, you do not use not longonmarket, so, if your are long and conditions are true to go long again are ignored (because  DEFPARAM CumulateOrders = false) , it updates the target with the new close of that bar which is incorrect. To have it correct I think you have to use not longonmarket?

    If you add not longonmarket performance goes down, however, if you take every signal when in a long and losing position to close & reenter again long, it’s much better.

    here again a but, because not sure why the code below makes such a difference.

    or

     

     

     

    #137436

    however, you do not use not longonmarket, so, if your are long and conditions are true to go long again are ignored (because  DEFPARAM CumulateOrders = false) , it updates the target with the new close of that bar which is incorrect. To have it correct I think you have to use not longonmarket?

    Well spotted Paul. When I added my SEB testing code to the strategy I encased the STOP and TARGET orders in an IF NOT ONMARKET condition so that I could count all possible trades outside of that condition – so my version did not behave the same as the original. I should try to find time to retest with the varying stop and target orders. Bit busy at the moment as leaving the harbour to go sailing for the summer in a few days time and so lots of jobs to do – including hours and hours of fixing my back-up navigation laptop. Who would think it could be so difficult to get a netbook working on XP!

    1 user thanked author for this post.
    #137458

    Hello Paul,
    The operation from 1 January 2018 is identical …. and it is the only important thing …… if we had put in real since that date in both ways we would have had the same results.
    Thank you

    (I am attaching the graph of your variant from January 2018.)

     

Viewing 4 posts - 16 through 19 (of 19 total)

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