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]
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source 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.
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source 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.