jilpatel

Marubozu Signals

This Pine Script code is designed to identify and plot Marubozu candlestick patterns on a trading chart. Marubozu candles are characterized by having very small or non-existent wicks (shadows) and a large body, indicating strong buying or selling pressure.

The script first calculates the body size and wick size for both red (bearish) and green (bullish) Marubozu candles. It then defines thresholds for both body and wick sizes based on a percentage of the body size. For example, a red Marubozu candle is identified if its body size is at least 90% of the calculated threshold, and both upper and lower wick sizes are smaller than 5% of the body size.

Similarly, green Marubozu candles are identified using the same logic. If a Marubozu candle of either color is detected, a corresponding label is plotted on the chart indicating the occurrence of the pattern. A "Sell" label is placed above the candle for red Marubozu patterns, while a "Buy" label is placed below the candle for green Marubozu patterns.

This script provides visual cues to traders, helping them quickly identify potential buying or selling opportunities based on Marubozu candlestick patterns. Traders can use these signals as part of their technical analysis to make informed trading decisions.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?