OPEN-SOURCE SCRIPT

Candle Percentage

574
This script calculates the percentage movement of the candle body from open to close and displays it as a label on the chart. The label color changes based on the candle's direction:

Green for bullish (price closes higher than it opened),

Red for bearish (price closes lower than it opened).

The script also allows you to select the label size, with the following options:

Tiny (very small text)

Small (small text)

Normal (default text size)

Large (large text)

Huge (giant text)

By default, the label size is set to Normal.

The percentage is calculated using the formula:

(Body Size / Open Price) * 100

This is helpful for traders who want to quickly assess the magnitude of price movement within each candle and analyze market sentiment based on the size of the body.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.