OPEN-SOURCE SCRIPT

[R&D] Harmonic deviations

I'm publishing it for research purposes & welcome any ideas and/or explanations whether it's actually possible or nah to do what I'm doing right now.
...
Idea is simple - if we can do Harmonic Mean, can we do Harmonic Standard Deviations? It should be the same logic, the only difference is instead of actual datapoints we gotta use reciprocals.

In reality I've found smth really curios, it's possible to get these Harmonic Standard Deviations, however, somewhy, depends on your timeframe, u gotta do final sqrt different amount of times. And looks like... the market reacts to these levels.

That's why in the script settings there is a menu where you can choose how many times to perform sqrt operation.

Pls check it out, play with it, see maybe you'll see smth interesting.
averagedeviationsHarmonic PatternsmeanMoving AveragesTrend AnalysisVolatility

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer