Buying/Selling Detector [BruzX]

This indicator aims to provide a visual and numerical representation of the strength of buying or selling of a security. It does this by calculating and accumulating a bar-by-bar metric and is based on a a conjecture (explained in the Concepts section) about how price and volume reacts to buying and selling behaviour.
█ FEATURES
- Shows strength of buying/selling (on a scale between -100 to +100, before smoothing) on a separate plot and on the info box
- Shows the metric on three different timescales: since the session open, since a user defined start time and using a rolling relative moving average over the last bars.
- The info box has a background colour corresponding to the strength of buying/selling
█ HOW TO USE
When the indicator is added it appears in a separate pane showing a historical plot of the metric values. If preferred, only the info box can be used as an overlay on the main chart. To do this, disable all the lines in the settings, and more the indicator to the main pane.
There are several options:
- Boost: This controls the strength of a non-linear operation applied to price bars.
- Volume factor: This controls to what extent the volume influences the the metric.
- Rolling RMA length (bars): This controls the number of bars used for the rolling relative moving average metric.
- Scaling factor RMA length (days): This controls the metric scaling so that it remains within -100 and +100 (note: some visual smoothing methods, notable HMA, can cause spikes outside this range). It specifies the number of days back to use to calculating a "usual" metric value for current bar.
- User Start Time: This controls the start time for accumulating the user metric. Default is 10:30, which is the end of the initial balance. Another interesting start time could be, for example, 09:31 to exclude MOO price action and volume.
- Smoothing: Purely visual smoothing to prevent rapid swings.
- Neutral band: Controls the width of the visual neutral level (coloured yellow by default, user can change this), where the values of the metric are considered insignificant. Default is 10, meaning metric values between -10 and +10 will be yellow.
One way to use the indicator is to watch for divergences between highs/lows on the indicator compared to high/low on the price, in a similar to how MACD is sometimes used. For example, if the price makes a new high, but this indicator does not, it may indicate a pending reversal.
Another frequent pattern is to watch for spikes, which often indicate an absorption or at least the start of a consolidation (depending on what happens after the spike). Absorption often leads to a reversal, whereas consolidations often continue, e.g. an ABCD or flag pattern.
█ CONCEPTS
There is a conjecture behind the indicator which states that dominant buying or selling can identified by the price and volume behaviour. It is a concept used in Volume Price Analysis, as popularised by the author Anna Coulling. Basically it says that dominant buying, for example, can be identified by rapid upward price movement (compared to the speed of downward movement) on high volume. To create a metric from this concept a non-linear operation (controlled by the Boost option) is used to quantify the strength of the price movement. The effect of volume is then also applied to this metric and a non-linear operation is used for this too (controlled by the Volume factor option).
█ DISCLAIMER
This indicator is provided for information only and should not be used in isolation without considering other factors. You should not take trades using real money based solely on what this indicator says. Any trades you take are entirely at your own risk.
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. È necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente BruzX.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.
Istruzioni dell'autore
Declinazione di responsabilità
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. È necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente BruzX.
TradingView NON consiglia di pagare o utilizzare uno script a meno che non ci si fidi pienamente del suo autore e non si comprenda il suo funzionamento. Puoi anche trovare alternative gratuite e open-source nei nostri script della comunità.