Hello,
with the "MathIndOpInd"-Indicator I can
add / subtract /multiply / divide
two indicators. Would it be possible to add a "power" operator in order to calculate one indicator to the power of another one?
Might it be possible to have a simple "value" indicator which is just a fixed value. Wherever an indicator has to be chosen, a fixed value could be chosen as well with this "value indicator".
Kind regards
Werner
with the "MathIndOpInd"-Indicator I can
add / subtract /multiply / divide
two indicators. Would it be possible to add a "power" operator in order to calculate one indicator to the power of another one?
Might it be possible to have a simple "value" indicator which is just a fixed value. Wherever an indicator has to be chosen, a fixed value could be chosen as well with this "value indicator".
Kind regards
Werner
Rename
QUOTE:
to add a "power" operator in order to calculate one indicator to the power of another
As a numerical analysis guy, this is a bad idea. The indicator governing the power is going to cause the result to blow up big time on occasion. Don't do it!
However, it would be reasonable to raise an indicator to a real number power. I've never done that in stock trading, but there might be some application for it.
Another real possibility would be to do something like this:
(indicator1)*(indicator2^2) as well as . . . (indicator1)*(indicator2)
That works because their product(s) is(are) orthogonal to the individual indicators, so we include such independent terms in empirical models. We call these interaction terms in statistical modeling.
You need to pick up an advanced statistics book and read the chapter on multi-linear regression modeling. I think you would find it very interesting.
I'm not here to judge, and adding a Power argument is trivial so we can certainly do it. Regarding a "value" can you use MathIndOpValue instead of MathIndOpInd?
Your Response
Post
Edit Post
Login is required