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
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.