PROTECTED SOURCE SCRIPT
Telah dikemas kini

Inside Bars

62
Inside Bars

๐Ÿ“Œ Overview:
This indicator scans for multiple inside bars during periods of consolidation by dynamically designating a โ€œmother barโ€ and then marking subsequent bars that trade entirely within its range. It includes an optional doji filter on the most recent candle, helping to confirm indecision before potential breakouts.

๐Ÿ›  Key Features:
โœ… Dynamic Mother Bar Identification:

The script selects a mother bar when the current barโ€™s range exceeds that of the previous bar. This bar sets the high and low boundaries, creating a reference zone for later price action.

Once a mother bar is defined, subsequent candles that remain completely within its high and low are flagged as inside bars.


โœ… Optional Doji Check:

For added precision, an optional feature lets you verify that the most recent bar is a dojiโ€”a candle where the difference between the open and close is minimal relative to its total range. This additional filter highlights periods of market indecision, which can often precede strong directional moves.


โšก Add this script to your chart and enhance your trading strategy! ๐Ÿš€
Nota Keluaran
New User Inputs:
  • Plot EMA: When enabled (default true), the script plots the EMA using the specified period (default 10).
  • Last Candle Above EMA: When enabled (default true), it adds an extra condition that requires the current bar's close to be above the EMA.


Inside Bar Condition Update:
  • The inside bar detection logic now includes a check for the EMA condition if the respective checkbox is enabled.
Nota Keluaran
Added option to select EMA source

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.