OPEN-SOURCE SCRIPT
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.