OztheWoz

Heatmapped Bollinger Bands

OztheWoz Mis à jour   
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. **
Notes de version:
Incorrect copyright username in script after username change. Corrected to @OztheWoz.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?