How to get values from Set Optimizable Inputs window as variables

Questions about MultiCharts and user contributed studies.
User avatar
LeOnSaba
Posts: 2
Joined: 05 Aug 2019

How to get values from Set Optimizable Inputs window as variables

Postby LeOnSaba » 02 Mar 2020

Good morning,
is there any keword able to get values from those put in the Regular Optimization Inputs window?
I am working on a function that manage time windows to do some conversions and calculations with an optimized numeric input got from the signal, I would need to get in advance the end values of the optimization as variables, without waiting that the input reach that value in the optimization process.

How can I do?
Thanks in advance.

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: How to get values from Set Optimizable Inputs window as variables

Postby Svetlana MultiCharts » 06 Mar 2020

LeOnSaba,

There are no such pre-built keywords, unfortunately.
You can create two additional inputs for each optimizable input in your signal.
There are two additional inputs in the screenshot: profit_start and profit_end. One does not need to optimize these inputs. Their values should express interval borders of the real optimizable input.
optimizable inputs.png
(69.56 KiB) Not downloaded yet


Return to “MultiCharts”