INVITE-ONLY SCRIPT
Updated

AP_BullBearCandles

679
//Creator: Andrew Palladino
//Modified: 6/19/2017
//Description:
//Colors bar based on Bullish/Bearish Strength of each candlestick.
//Bullish candles are green and occur when the candle closes in the top range of the current candle and above the highest high of the last n bars.
//Bearish candles are red and occur when the candle closes in the bottom range of the current candle and below the lowest low of the last n bars.
//Any candles that are not bullish or bearish are colored white for up candles and black for down candles.
//The user has the ability to change the look back period of the High Low range.
Release Notes
Creator: Andrew Palladino
Modified: 6/20/2017
Description:
Colors bar based on Bullish/Bearish Strength of Candle.
Bullish candles are green and occur when the candle closes in the top range of the current candle and above the highest high of the last n bars.
Bearish candles are red and occur when the candle closes in the bottom range of the current candle and below the lowest low of the last n bars.
Any candles that are not bullish or bearish are colored white for up candles and black for down candles.
The user has the ability to change the bar look back period of the High Low Range.
Note: If you change the look back period, you will have to update the color transparencies under Format/Styles.
Release Notes
Modified: 06-21-2017
Updates:
- Fixed a minor color bug.
- The stronger brighter the candle color the stronger the move relative to itself and the candles within the specified look back period.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.