OPEN-SOURCE SCRIPT

Candle Body Percentage Indicator

Por barruda
The Candle Body Percentage Indicator is a custom TradingView script designed to display the percentage of the candle's body relative to the full candle length for each bar on the chart. This indicator helps traders quickly assess the strength of price movements by comparing the body (the range between the open and close prices) to the total range of the candle (the range between the high and low prices).

Features:

Body Length Calculation: The indicator calculates the absolute difference between the open and close prices to determine the body length of the candle.

Full Length Calculation: It also calculates the total length of the candle by finding the difference between the high and low prices.

Body Percentage Calculation: The body length is then divided by the full length of the candle and multiplied by 100 to get the body percentage.

Label Display: For each candle, the indicator places a label above the high of the candle showing the body percentage. The label includes the percentage value and a "%" sign for clarity.
Candlestick analysisChart patternsTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal