OPEN-SOURCE SCRIPT

Candle Body Percentage Indicator

Par 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 open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité