kozlenkov.dmitriy

Marubozu Patterns

Marubozu Candlestick Patterns Indicator

This TradingView script identifies two types of Marubozu candlestick patterns: the bearish Marubozu and the bullish Marubozu. Marubozu patterns are characterized by a lack of shadows and a long body, indicating strong market sentiment. The indicator displays labels and triggers alerts when these patterns are detected on the price chart.

Features:

Identifies bearish Marubozu and bullish Marubozu candlestick patterns.
Alerts triggered for both patterns.
Labels displayed to highlight pattern occurrences on the chart.
How it works:
The script calculates various properties of candlesticks, such as body length, shadows, and body type. It then identifies both bearish and bullish Marubozu patterns based on specific conditions. When a pattern is detected, a label is shown on the chart with a corresponding tooltip description. Additionally, a background color change emphasizes the presence of detected patterns. Alerts are triggered for both pattern types, helping traders to quickly spot potential trading opportunities.

Note:
This script is designed for use on the TradingView platform using Pine Script. It aids traders in recognizing Marubozu candlestick patterns, providing visual cues and alerts for potential bullish and bearish market sentiments.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?