OPEN-SOURCE SCRIPT

Candle Percentage

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

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.