Hi Juan, can you please help… (DAX, M1, Spread 1.2)
Attached a programme which is a compliation of bricks from the site with a large inspiration from codes posted by you @juanj @Nicolas @robertogozzi @tob107 (Thank you).
Appreciate your feedback on the way I’ve integrated the ML code, beacuse the result with and without the ML are the same.
in ML, isn’t the “MaxValue” supposed to be equal to “Startingvalue+(Increment*MaxIncrement)”?
Also, I’d like to add the possibility to chose different “Periods” of “Average” to be used later in a loop… “IF… ELSE…” seems to be limited to two choices…
Is there a possibility to add FOR x between a and c, then mm1=Avarge[a], then mm2=Avarge[b], the mm3=Avarge[c] (a, b and c are the result of the optimization). Then change the instruction “mmRENKO=mm” into something like:
mmRENKO=mm1
OR
mmRENKO=mm2
etc…
Please feel free to suggest imorvment to this code.
Many Thanks
2 users thanked author for this post.