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
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.