PROTECTED SOURCE SCRIPT
Candle Type w/2Up + 2Dn

Candle Type is based on @robintheblack's "THE STRAT" philosophy and Crinklebine's "candle type" pine script.
This version distinguishes 4 potential candle types:
I = Inside previous bar's range [blue]
O = Outside previous bar's range [black]
U = Up (high is greater than previous bar's range & NOT outside) [green]
D = Down (low is lower than previous bar's range & NOT ouside) [red]
This version distinguishes 4 potential candle types:
I = Inside previous bar's range [blue]
O = Outside previous bar's range [black]
U = Up (high is greater than previous bar's range & NOT outside) [green]
D = Down (low is lower than previous bar's range & NOT ouside) [red]
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.