Inside Bar Failure

This indicator provides a statistical report on the Inside Bar Failure candlestick pattern popularized by Trader Dante. Based on the chart's bars, it can improve your edge on any markets and timeframes.

The Inside Bar Failure pattern refers to an Inside Bar breakout that failed to sustain momemtum and closed back within it.

The report is broken down into the different following sections: retracement, invalidation, continuation and breakout.

Each of them provides hindsights about the pattern price behavior and brings answers to questions such as: How often does price retrace? Does the pattern often invalidate? If it doesn't then does it break in the pattern's direction? How far does price go? What are the odds of a false breakout?

While there are many ways to make use of the metrics, my favorite use case is for developing directional and daily/weekly biases while refining my stop/entry/target positioning.


  • Highlights patterns on the chart;
  • Supports bar to bar analysis and replay functionalities;
  • Provides counts on the `Data Window` panel for debugging or computing your own metrics;


  • Show/hide for toggling different sections;
  • Report coloring and offset on the x axis;

Gaining Access

This is a private indicator and is available only for my Patrons. You can reach my Patreon page below from the link in my signature.
Notas de Lançamento: MAJOR UPDATE

This release brings a new look to the indicator and many improvements under the hood brought by the latest features from Pinescript.

That is not all, it comes along new features:
  • Reporting of the pattern’s frequency over 100 bars;
  • Adding the probability of an inside bar failure to run its prior inside bar and mother bar liquidity;
  • Expressing the distance optionally in Average True Range;
  • Extending the distance data with price traveling less than half of its length / ATR;
  • Reporting the chances of price breaking only one side of the pattern the next bar;
  • Extending directional breakout data with the initial mother bar as reference;
  • Displaying the historical share of bullish and bearish patterns;
  • Showing the statistics of next bar closing up or down;

Logic change:
Improved retracement back to open into back to open or close. E.g. on bullish inside bar failure whether the pattern closed with an up or down bar, it captures the retracement towards the lowest price between open or close.

Pine Script programmer for hire.

Premium indicators:
Script apenas com convite

O acesso a este script é restrito aos usuários autorizados pelo autor e geralmente requer pagamento. Você pode adicioná-lo a seus favoritos, mas só poderá utilizá-lo após solicitar permissão e obtê-la de seu autor. Contate sbtnc para mais informações, ou siga as instruções do autor abaixo.

TradingView não sugere pagar por um script e usá-lo até que você confie 100% em seu autor e entenda como o script funciona. Em muitos casos você pode encontrar uma boa alternativa de código aberto gratuitamente em nossa Comunidade de Scripts.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Instruções do autor

You can buy it here: After purchase, let me know your username, desired indicator and license key for granting access.

Quer usar esse script no gráfico?

Aviso: por favor leia antes de solicitar acesso