rumpypumpydumpy

Ehler's Autocorrelation Periodogram - RSI/MFI

Warning! Frequently hits the execution time limit for scripts.
Especially on initially adding to your chart. Often requires toggling show/hide indicator to get it to complete script execution within the time limit. YMMV!

From TASC Sept 2016 this is Ehler's Autocorrelation periodogram. A means of determining the dominant cycle ("ideal" indicator length / dynamic length).

As an example it's applied here to RSI or MFI . Lower indicator segment displays the autocorrelation spectrum and the computed dominant cycle. Upper segment is RSI / MFI .
Versionshinweise: Corrected error in calculation
Versionshinweise: Another fix and initial r values
Versionshinweise: Corrected HP filter
Open-source Skript

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Möchten Sie dieses Skript auf einem Chart verwenden?