Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I am working on a small statistical distribution indicator.
The goal is to build an indicator that calculates target zones based on statistical distribution of OHLC of x last days.
Did anybody do some analysis in this field ?
Standard deviation is a possibility and straightforward to calculate, but maybe there are other better methods ?
Any thoughts ?
Can you help answer these questions from other members on NexusFi?
This is a good question. Indeed, Bollinger Bands are a remnant of the time, when indicator calculations were done by hand. Prior to the advent of PCs this was a useful simplification of the real underlying distribution of all trades.
However, in order to calculate the accurate standard deviation bands over a selected lookback period, you would need to use tick data in single-tick resolution and take into account the volume of each transaction.
A compromise between the oversimplified Bollinger Bands and the accurate standard deviation bands calculated from data in single-tick resolution is indeed a model that uses all four data points OHLC and the volume of each bar.
Approximation of the price volume distribution
The first approximation of the distribution did not take into account volume, but just used so called time price ooportunities (TPOs). A more sophisticated model introduced volume. The result are volume-weighted time price opportunities (VWTPOs). Both TPOs and VWTPOs do not use the open and the close of a bar, but only depend on high and low. A better approximation can be obtained by using all four data points.
-> The statistical mean of the underlying price volume distribution can be approximated with the volume-weighted moving average calculated from all Open, High, Low and Close.
-> The standard deviation can be best approximated by a model that uses 8 data points per bar (Open, High, Low, Close, 2 x bar center, 2 x body center).
Result
The result are standard deviation bands, which are a better representation of the underlying trade statistics than Bollinger Bands.
As you will notice below, Bollinger Bands do not widen up correctly when price breaks out and volume increases.
@Fat Tails have you had the time to upload this indicator somewhere? I couldn't find it in the downloads section. I'm currently doing analysis using fundamental stats like this, so this indicator would be very useful to me.