Inside Bar Breakout Failure

Simple indicator to highlight Inside Bar Breakout Failure patterns on chart.
Remove from Favorite Scripts Add to Favorite Scripts
//FxLowe - Inside bar breakout failure.

study(title = "Inside Bar Breakout Failure", overlay = true)

outsidebar = (high >= high[1] and low <= low[1])
insidebar = ((high[1] <= high[2] and low[1] >= low[2]) and not(outsidebar))

bearishibbf=( insidebar and (high > high[1] and close < high[1]))
barcolor( bearishibbf ? white : na, 0, true, "Bearish Inside Bar Breakout Failure")
plotshape(bearishibbf, title= "Bearish Inside Bar Breakout Failure", location=location.abovebar, color=white, style=shape.arrowdown, text="Inside Bar\nBreakout Failure")

bullishibbf=(insidebar and (low < low[1] and close > low[1]))
barcolor( bullishibbf ? white : na, 0, true, "Bullish Inside Bar Breakout Failure")
plotshape(bullishibbf, title= "Bullish Inside Bar Breakout Failure", location=location.belowbar, color=white, style=shape.arrowup, text="Inside Bar\nBreakout Failure")
I don't see that option on the Style tab.......only the candle color and arrow locations......neither seem to affect label display. Thanks.
FxLowe TonyCampbell
Ah... Well, I published another version of this earlier with the checkbox option like you suggested. Hope that helps.
Looks good.....a checkbox option to NOT display label would be great also. Many thanks.
FxLowe TonyCampbell
Good idea.

Update posted.
FxLowe FxLowe
Actually, just realized you can already toggle this through the style settings.
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out