Optimisation fail

Forums ProRealTime English forum ProOrder support Optimisation fail

Viewing 13 posts - 1 through 13 (of 13 total)
  • #66960

    Hi all ! I’ve got some difficulties with the plateforme, I want to optimise 2 variables (“m” and “d” in the picture), from 1 to 100,  the others are fixed.

    “d” is tested, but “m” stays to 1. Did someone have that before ?

    #66964

    Normally it is because you have the value still fixed somewhere in your code so that it has no effect on the results. Either that or it is not used in the code at all.

    #66965

    here is the code, both variables are used :

     

    #67002

    Might sound daft but it can mean that ‘m’ at value 1 gives the highest gain?  Make m value fixed at 5 and see if gain reduces in the optimiser results?

    What is your range of values for m?

    PS / Edit~
    You may need a range with a much higher max value for d and m to get a optimised value other than 1 for m ??

     

    #67003

    You should not multiply clow and chigh by pipsize at lines 21 and 35. Please try without.

    #67017

    @GraHal : “d” and “m” are both tested from 1 to 100 with a step of 1


    @Nicolas
    : I did what you suggested, it doesn’t change the result, I still got an error message, but now it comes before the end of optimisation…

    #67018

    I sent a message to prt, they said they’re going to look into it…

    #67023

    What ‘error message’ !?

    Are you sure your ‘m’ variable is not set to a fixed value into the variables optimizations window?

    #67025

    If you put your full code on here then I will try it the optimiser for you?

    It is probably finger trouble / something daft that we have all done before also so we may spot it in your set up where we couldn’t see it when we made the same error!!! 🙂 🙂

    #67028

    @Nicolas : yes i’m sure the values are not set to fixed. The error message just says there is an error, but not which one, that’s why I wrote to PRT.

    @GraHal : attached is the code untouched, yes could you optimise it for me please ?

    I would be glad if the error was mine, maybe you can find what’s wrong by testing it yourself.

    This is Dax 1 min.

    #67041

    Might sound daft but it can mean that ‘m’ at value 1 gives the highest gain?

    Apologies for delay, had to take my car for annual MOT! 🙂

    It’s what I said above.

    See attached for 10k bars and m is at different values
    See attached for 100k bars and m stays at vaue = 1
    See attached for 100k bars for m range 10 to 250 in step of 10 and m is at different values.

    Cheers
    GraHal

     

    1 user thanked author for this post.
    #67081

    Thank you so much ! So I was worrying for nothing…This made me think about several things :

    • I can’t see the other possibilities in the report windows when I do the tests, is that normal ?
    • DO you have an error message too ?
    • my trailing highs/lows snippet doesn’t work, I have to work on it :s
    #67111

    I can’t see the other possibilities in the report windows when I do the tests, is that normal ?
    Yes I think we only see 100 results.

    DO you have an error message too ?
    No I got no error message but I didnt leave it running until it finished.

    My trailing highs/lows snippet doesn’t work, I have to work on it :s
    I agree.

    Rem out Nics stop and substitute a normal pstop and ptrailing to get a quick idea what values would work … I did and it was like 240 and 130 …  and even then overall gain was very low, but maybe I didn’t leave it running until optimiser completed?

    Just an idea I use sometimes
    GraHal

     

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

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