Optimization variables, how to define?

Forums ProRealTime English forum ProOrder support Optimization variables, how to define?

Viewing 11 posts - 1 through 11 (of 11 total)
  • #106127

    Good evening!

    I tried to optimize different bull variables of HeikinAshi, but I am obviously doing it wrong. My logic was to define each indicator with a number; 1016-1020 and then labelling them as aa-ff in the optimization tool. Thanks in advance!

     

    #106129

    Why didn’t you do below?

     

     

    1 user thanked author for this post.
    #106132

    Thanks GraHal, but the optimization is done in numbers. Doing the optimization could exclude several BullHeikinAshi as aa-ff could end up in just being one or two of the variables.

    Optimization example: aa=1017, bb=1017, cc=1018, dd=1018, ee=1018, ff=1017.

    Conclusion: only use BullishCounterAttack (1017) and BullishBreakaway (1018) in the statement.

    #106134

    So with BullishHaramiCross=aa then optimised result could be ….

    BullishHaramiCross = 1016
    or
    BullishHaramiCross = 1017
    or
    BullishHaramiCross = 1018
    or
    BullishHaramiCross = 1019
    or
    BullishHaramiCross = 1020

     

    #106135

    Thanks GraHal, but I am sorry, I do not see how that would help me sorting out possible variables?

    #106137

    I’ve just seen below

    So I’d have coded

    Maybe I’m reading your problem all wrong?? 🙂  Vonasi or Roberto … help?? 🙂

    #106138

    Now I look at and have read all your code I don’t see how – for example – you can optimise below in the way I suggest, apologies! 🙂

     

    Maybe best if Vonaso or Roberto delete my posts and I stop watching TV at the same time I make comments on here!? 🙂

    #106139

    No worries GraHal, I am thankful that you are responding so quickly on a Sunday evening when you should watch  TV 🙂

    My statement is probably so absurd that it was difficult to grasp. Anyhow, let’s see how it evolves tomorrow. TV suggestions: Vis a vis on Netflix and Quarry on HBO 🙂
    Not to forget Toc Toc on Netflix.

     

    1 user thanked author for this post.
    #106174

    You could test this way of adding the boolean condition in the same variable:

    Do the same for bb,cc,…

    (not tested)

     

    1 user thanked author for this post.
    #106175

    Good morning Nicolas and thank you very much.

    Your suggestion seems logical and I will try that approach. After testing I will confirm and include the partial code, THANKS!

    #106224

    Dear Nicolas, I just want to confirm that your suggestion worked very well. I enclose the code:

    Having 5 alternatives was a bit too many. 3 seems to be well enough. By the optimization, I can filter out what factors that likely work best within a specific time frame and stock.

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

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