OPEN-SOURCE SCRIPT

Live Inside Bar Coloring

197
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.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.