OPEN-SOURCE SCRIPT

Candle Price Movement

838
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.

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.