Ehler's "Adaptive Stochastic Indicator"
I'm proud and happy I pulled this one through.
Well... Sort of.
Running Tests multiple times produces different results.
Not sure why. Yay!
Something memory, variables, pointers whatnot related.
`MaxPwr` looks like potential troublemaker.
Interestingly, adaptive CCI source code has this:
//Find Maximum Power Level for Normalization
MaxPwr = .991*MaxPwr;
Also - overall computation seems notoriously slow.
Like 3 seconds for a single day.
Something I've been doing wrong.
When it works - results look legit.
Haven't finished the book.
Not sure if this one is supposed to be equivalent of Zorro's bundled StochEhlers indicator.
They do look similar although Zorro's one got some of that buttery smoothing.
All in all - fun but unusable.
try to identify the issue by replacing snippets with in-built stuff (e.g. center of gravity)