OPEN-SOURCE SCRIPT

The Normalizer [BVCC]

Telah dikemas kini
The Normalizer adds an indicator to your chart with the option to view regular Volume, normalized Volume or normalized price.

Normalized Volume divides the current Volume bar into a moving average and multiplies by 100. The resulting plot is a histogram showing how far above or below the moving average that volume bar was.
Normalized Price does the exact same thing, but uses the close price of the current candle.

The result of a normalized bar chart is that sometimes activities of unusually low or high patterns can be seen that are not obvious when looking at the standard data points.

Customizable Settings include;

1) Check/Uncheck the first box to set the view to Volume or Price
2) Check 'Normalize' when on Volume to toggle between standard Volume and Normalized Volume
3) Price is always Normalized
4) Normalization is calculated from the SMA and the default is set to 9 - John Bollinger suggest setting this to 50
5) Normalization period can be set with the 'Period' option

This indicator was created for members of the BVCC trading community as an example of the normalization methods described in John Bollinger's "Bollinger on Bollinger Bands". Mr. Bollinger talks extensively about normalization and specifically volume normalization. I added the price normalization as a fun bonus just because. :)
Nota Keluaran
I fixed the Volume bar colors so that green goes with bullish candles and red goes with bearish. I had it reversed. Also, updated screenshot to reflect the utility of the indicator.

Black line is a 100% reference.
Red Line is a 50% reference.
Nota Keluaran
Changed the default normalization factor to 50 (as suggested by J. Bollinger)
normalizationpriceSimple Moving Average (SMA)Volume IndicatorVolume

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian