OPEN-SOURCE SCRIPT
3AK Inside Bar Scanner

This indicator automatically detects Inside Bar patterns and visually marks them on your chart so you don't have to manually scan for them.
More importantly, you can use this indicator to scan stocks with Inside Bar on tradingview.com/pine-screener/

What is an Inside Bar?
An Inside Bar is a candlestick pattern where the current candle's high is lower and the low is higher than the previous candle. In simple terms, the current candle is completely "hiding inside" the previous one.
This pattern signals a pause or consolidation in the market and is often followed by a strong breakout move. Traders watch for price to break:
- Above the outer bar's high โ Bullish signal
- Below the outer bar's low โ Bearish signal
---
What does this indicator do?
This indicator **automatically detects Inside Bar patterns** and visually marks them on your chart so you don't have to manually scan for them.
---
Key Features
Refer to settings to configure the indicator according to your needs

---
How to use it with Pine Screener

Disclaimer: This indicator is a screening tool designed to identify potential volatility contraction area. It should not be used as a standalone trading system. Always combine with proper risk management, additional analysis, and your own trading plan.
Please add comments below if you find any issue with the indicator
More importantly, you can use this indicator to scan stocks with Inside Bar on tradingview.com/pine-screener/
What is an Inside Bar?
An Inside Bar is a candlestick pattern where the current candle's high is lower and the low is higher than the previous candle. In simple terms, the current candle is completely "hiding inside" the previous one.
This pattern signals a pause or consolidation in the market and is often followed by a strong breakout move. Traders watch for price to break:
- Above the outer bar's high โ Bullish signal
- Below the outer bar's low โ Bearish signal
---
What does this indicator do?
This indicator **automatically detects Inside Bar patterns** and visually marks them on your chart so you don't have to manually scan for them.
---
Key Features
- Multi-Timeframe Support - Scan for Inside Bars on *any timeframe* regardless of what your chart is set to. For example, you can be on a 15-minute chart and still see where a Daily Inside Bar has formed. Especially useful when using the Pine Screener to screen across multiple symbols at once.
- Inside Bar Lines -Draws horizontal lines at the **high and low of the outer bar**, giving you clear levels to watch for a breakout or breakdown.
- Inside Bar Marker - Places a **triangle marker** below the candle where an Inside Bar is detected. Fully customizable color and size.
- Historical Markers - Optionally show markers on **all past Inside Bars** in the chart history so you can study how previous setups played out.
- Alerts - Built-in alert condition fires when a **new Inside Bar forms** โ so you never miss a setup.
Refer to settings to configure the indicator according to your needs
---
How to use it with Pine Screener
- Go to tradingview.com/pine-screener/ . This may be enabled for a paid version of Trading view. Please check if this is enabled for you or not.
- Ensure that you have marked this indicator as โFavoriteโ. This is necessary for the indicator to show up in the indicator list of Pine Screener
- Select the Watchlist on which you want to use this indicator
- Select this indicator from the drop down list. This drop down list shows indicators which are marked as favourite.
- Edit settings of this indicator to enable filters and lookback period you want to scan stocks for.
- Select option โScan based on settingsโ to True
- Press Scan button
Disclaimer: This indicator is a screening tool designed to identify potential volatility contraction area. It should not be used as a standalone trading system. Always combine with proper risk management, additional analysis, and your own trading plan.
Please add comments below if you find any issue with the indicator
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.