Live Inside Bar Coloring

Description
This script colors the current bar if it is inside the prior bar's high and low. Inside is defined as ≤ the high, and ≥ the low of the prior bar.
Utility
This gives a quick visual indication if the current bar is inside. This can indicate a choppier market. By definition, an inside bar is consolidating and not trending.
Function
Colors distinguish if the current price is above the opening price of the inside bar on a given timeframe. If you do not want to distinguish this, you can set both colors the same.
This script colors the current bar if it is inside the prior bar's high and low. Inside is defined as ≤ the high, and ≥ the low of the prior bar.
Utility
This gives a quick visual indication if the current bar is inside. This can indicate a choppier market. By definition, an inside bar is consolidating and not trending.
Function
Colors distinguish if the current price is above the opening price of the inside bar on a given timeframe. If you do not want to distinguish this, you can set both colors the same.
Tools for traders and investors smart enough to keep it simple 😘👌
➡️ SETUP SCREENER GUIDE: TheStratSuite.com/scanner/guide
🤑 TheStrat Suite is now FREE & open source: TheStratSuite.com
345strategies.com · github.com/345-strategies
➡️ SETUP SCREENER GUIDE: TheStratSuite.com/scanner/guide
🤑 TheStrat Suite is now FREE & open source: TheStratSuite.com
345strategies.com · github.com/345-strategies
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.
Tools for traders and investors smart enough to keep it simple 😘👌
➡️ SETUP SCREENER GUIDE: TheStratSuite.com/scanner/guide
🤑 TheStrat Suite is now FREE & open source: TheStratSuite.com
345strategies.com · github.com/345-strategies
➡️ SETUP SCREENER GUIDE: TheStratSuite.com/scanner/guide
🤑 TheStrat Suite is now FREE & open source: TheStratSuite.com
345strategies.com · github.com/345-strategies
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.