Hi,
I’m pulling my hair over the fact that I can’t figure out how you optimize some variables, more specifically the so called “indicator” variables written in green. I’ve look at youtube videos, Googled, searched this forum, without making any headway.
I want to optimize a code that looks something like this:
hv=HistoricVolatility[VolatilityPeriod](close)
hv2=HistoricVolatility[VolatilityPeriod](typicalprice)
st=linearregression[ROUND(Regression1Period*hv)](close)
lr=linearregression[ROUND(Regression1Period*Regression2Period*hv2)](typicalprice)
Is there somewhere where all info about optimization is located? If not, can we add info to a snippet or update the manuals please?
You know about and and can enter values for VolatilityPeriod, Regression1Period and Regression2Period in the ‘Definition of Variables’ window?
So are you able to say which part of optimisation does not work for you?
It’s easier if we take it 1 step at a time on an itterative basis.
Anybody else feel free to jump in at any stage … makes discussions more interesting and helps the OP get sorted quicker.
what you have in green is the function, and the parameters inside are the ones you can optimise.
To do this you have to create variables with the same name in the optimisation window.
Here is an example (see screenshot)
Awesome guys,
Thank you so much! Works like a charm!
Would be great though, if the instructions and/or there would be an updated video or something on how to use the optimizer with all the different types of variables there is. I think i’m not the only one who struggles with it from time to time.
Again, thank you so much for all your help!