TradingView
UnknownUnicorn1043646
18 de Abr de 2021 14:30

Heisenberg's Uncertainty Bands 

Bitcoin all time history indexINDEX

Descrição

Heisenberg's Uncertainty Bands:

This is a volatility indicator to determine and visualize the uncertainty in a securities' price.

In quantum mechanics, the uncertainty principle (also known as Heisenberg's uncertainty principle) is any of a variety of mathematical inequalities asserting a fundamental limit to the accuracy with which the values for certain pairs of physical quantities of a particle, such as position, x, and momentum, p, can be predicted from initial conditions.

It plots a Kalman filter average of the bars inside a higher timeframe bar, to attempt to find the most frequent price in that bar's timespan. To plot what is effectively a MA using POC (IvanLabrie's code, credits to the author).

It derives momentum from relative momentum, yielding results more sensitive to changes.

Then it uses Heisenberg's uncertainty principle to find an uncertainty range, and uses it as the channel distance from the POC MA, meaning price is likely to fluctuate within that range.

Since uncertainty must be greater than h/2, adding fib levels will make it a useful indicator. Essentially they are pseudo-Fibonacci Bollinger Bands, which uses a different calculation.

Benefits:

Prices fluctuate, and it can be helpful to visualize price as a range, rather than a single point or line. This visualization can help in managing risk, determining entries and exits, and prevent losing one's position due to price fluctuations during a trend.

If we use a particle model, the uncertainty principle dictates that it is impossible to predict the price within a range. This is a good model for risk management!

Usage:

There are 5 Fibonacci ratio outer bands that can be turned on or off according to user's preference.

Recommended that the length inputs should be increased in higher timeframes, to visualize trends, shorter timeframes should have lower lengths.



GLHF
- DPT
Comentários
HanDollarian
Love your Work. Thanks for Sharing this awesome piece of Code. Keep up the good Work.
UnknownUnicorn1043646
@VapeundTrade, Thank you for your kind words!
HanDollarian
@DarkPoolTrading, always welcome. There are too few users her on TV which are interested in deeper and complex topics.
deadsquare214
Very cool. Looking forward to getting into it. Cheers!
UnknownUnicorn1043646
@deadsquare214, Thanks, you will love what I am working on now!
jazerbay
Yes I really like this post! Nice work and appreciate you sharing.
UnknownUnicorn1043646
@jazerbay, Thank you for your continued support!
xmd1979
great tool, u can add momentum uniqueness as sort of envelope to that or some markov too, excellent idea, thank you )
Mais