After the initial optimization the default values seems to get cached. Therefore, subsequent optimizations will not update the Param default value for backtesting.
Is there a way to clear the cache? Thanks, -Dave --- In [email protected], Thomas Ludwig <[EMAIL PROTECTED]> wrote: > > Kazaan, > > yes, you can do this by replacing Optimize() in your code by the > ParamOptimize function mentioned on > http://www.amibroker.com/guide/afl/afl_view.php?id=107 . Just save that > formula in your include folder and add #inlcude<Paramoptimize.afl> to > your formula. > > After optimization you can click the Parameters button in the AA windwo > and select the parameter combination you wish to backtest. Note, > however, that the optimization report is gone after one backtest - > thus, if you want to backtest various combinations, you should write > them down beforehand ... ;-) > > Greetings, > > Thomas > > > Hi, > > If I wish to backtest one of the parameter combinations from an > > optimization report and see the trade signals marked on chart, I > > manually edit the AFL to put in the parameters I want to see, as the > > default values in the Optimisation function, and run the backtest. I > > do this for every parameter combination whose signals I wish to > > inspect. > > > > Is there something that can do this automatically in a few keystrokes > > - a double click, or a combination click, perhaps? I use version > > 5.00.1 Pro. > > > > thanks, > > kazaan >
