I am seeking a way to dynamically change the default value for when I open my backtest formula’s Parameters Dialog.
I realize the Param() Documentation https://www.amibroker.com/guide/afl/param.html states that arguments must be constants, and I’m guessing this applies to ParamStr() as well.
I did try the code snippet below, but I believe that because of caching, the displayed value does not display the value returned by the function. Is there a backdoor workaround? Or is this something that not possible?
PS - It would also be helpful if pressing the “Reset” button recomputed the default values (e.g. from the DateTimeToStr function) rather than returning them from “memory”.
Thank you in advance.