OPEN-SOURCE SCRIPT

The Normalizer [BVCC]

מעודכן
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. :)
הערות שחרור
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.
הערות שחרור
Changed the default normalization factor to 50 (as suggested by J. Bollinger)
normalizationpriceSimple Moving Average (SMA)Volume IndicatorVolume

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור