OPEN-SOURCE SCRIPT

Inside and Outside Bars

Inside Bar:

An inside bar forms when the high and low range of a candlestick is within the high and low range of the previous candlestick.
In other words, the current candlestick's high is lower than the previous candlestick's high, and the current candlestick's low is higher than the previous candlestick's low.
Inside bars indicate a period of consolidation or indecision in the market. They often occur after a strong move in price and can signal a potential reversal or continuation of the trend, depending on the context.

Outside Bar:

An outside bar (or engulfing bar) forms when the high and low range of a candlestick completely engulfs the high and low range of the previous candlestick.
In bullish outside bars, the current candlestick's high is higher than the previous candlestick's high, and the low is lower than the previous candlestick's low.
In bearish outside bars, the current candlestick's high is lower than the previous candlestick's high, and the low is higher than the previous candlestick's low.
Outside bars often indicate a significant shift in market sentiment. Bullish outside bars suggest increased bullish momentum, while bearish outside bars suggest increased bearish momentum.
Chart patterns

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad