- Joined
- 28 December 2013
- Posts
- 6,350
- Reactions
- 24,219
Skate, can you define what you mean by fixed parameter please? Do you mean a single value of an array? When you choose a parameter, what exactly are you choosing?
When AB optimizes, it's finding the best fit value for an array, using historical data, yes? What do you mean by "adapting in real time"? The only data we ever have access to is historical. If I fit my code to any dataset, I'm fitting it to historical data. If I re-fit my code as each new OHLCV is printed, I will end up with an overfitted code - ie. one which will fail in real trading.
1. "When AB optimizes, it's finding the best fit value for an array, using historical data, yes?"
Correct (Amibroker is a big calculator when it comes to optimising on past data)
2. What do you mean by "adapting in real time"?
(re-post) My strategy is adapting in real time whereas optimisation & Backtesting is only useful on know past data.
Fluid numbers
When trading my parameters are driven by the market movement (a fluid number set, not a fixed number set) some parameters setting are flexible to apply volatility bar-by-bar, sometime the driver is plain old ATR. Optimising can't handle variables to optimise efficiently. Optimisation is a selection of numbers applied to a code over & over to the max number of tries, that's all, optimisation is crude & basic but useful to set a base.
Impulse/State signals
Using the Cross() function (impulse signal) instead of the logical greater than operator (state signal) is a poor choice in certain strategies and coding that way is totally a different kettle of fish resulting in a difference of system performance. Reference that to how Optimisation works. Using a fixed number set is how the calculations are done in Amibroker, but what if the number being used wasn't independent by itself but required another set of number to create the new base number set, this is why flexible parameters complicates settings very quickly.
I'm at a loss how to explain it in a simpler way.
Skate.