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]
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. However, you can use it freely and without any limitations – learn more here.
Отказ от ответственности
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.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. However, you can use it freely and without any limitations – learn more here.
Отказ от ответственности
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.