OztheWoz

Heatmapped Bollinger Bands

OztheWoz 已更新   
Bollinger Bands have been used for many years to determine the volatility and potential reversal area of markets. This script takes standard Bollinger Bands (BB) and transforms it into a heatmap of reversal areas.

A basic explanation on how this indicator works is:
- Yellow is where the price likes to stay,
- Orange is where the price might begin to reverse in a weak trend, and
- Red is where the price will either pause to let the yellow range catch up, or where the price will jump back down into the yellow range to stabilize.

For educational purposes: this script is essentially just taking the standard method of creating Bollinger Bands (seen in the 'Main Lines' portion of the script), coloring the plots 'na' so that they aren't seen, and using the 'fill' function to plot the yellow to red rainbow up to the top. I believe I made the yellow range 0.2*stdev to 1*stdev, the orange range 1*stdev to 2*stdev, and the red range 2*stdev to 3*stdev. You can get the hex code rainbow from any website that has a color slider.

** Disclaimer: THIS IS NOT TRADING ADVICE. Bollinger Bands should be used in conjunction with other indicators to make better decisions but NO STRATEGY IS PERFECT. Always backtest any strategy before using it live. **
發布通知:
Incorrect copyright username in script after username change. Corrected to @OztheWoz.
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?