OPEN-SOURCE SCRIPT

Candle Price Movement

902
This Pine Script indicator calculates and visualizes the price movement for each candlestick on the chart.

- **Calculation**: The price movement for each candle is determined by subtracting the opening price from the closing price.

- **Visualization**: The price movement is plotted as a histogram, with positive values indicating upward movement (green bars) and negative values indicating downward movement (red bars).

- **Options**:
- The histogram bars are colored blue with zero opacity, providing a clear visual distinction from the background.
- A horizontal line at zero (the "Zero Line") is added for reference, helping to identify periods of no price movement.

---

This indicator provides traders with a quick visualization of the price movement for each candlestick, helping to identify trends and potential trading opportunities.

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.