MHermes

Candle Body Percentages Table

MHermes Mis à jour   
This script is designed as an analysis tool to visually represent the relative strength of bullish and bearish market sentiments over a specified number of candles. It calculates and displays the percentages of bullish and bearish "candle bodies" as part of the total price range observed in the chosen period.

Here's a breakdown of its functionalities:

User-Defined Period Analysis: Users can specify the number of candles they wish to analyze, allowing for flexible and dynamic examination of market trends over different time frames.

Bullish Body Percentage: The script calculates the combined length of all bullish candle bodies (where the closing price is higher than the opening price) within the selected range and expresses this total as a percentage of the combined price range of all candles analyzed.

Bearish Body Percentage: Similarly, it computes the aggregate length of all bearish candle bodies (where the closing price is lower than the opening price) and presents this sum as a percentage of the total price range.

Visual Representation: The results are displayed in a table format on the chart, providing an immediate visual summary of the prevailing market dynamics. The table shows the percentages of price movement dominated by bullish or bearish sentiment.

Market Sentiment Indicator: This tool can be particularly useful for traders and analysts looking to gauge market sentiment. High bullish body percentages might indicate strong buying pressure, while high bearish body percentages could suggest significant selling pressure.

Strategic Decision Making: By providing a clearer picture of market sentiment over a user-defined period, the script aids in making informed trading decisions, potentially enhancing trading strategies that are sensitive to trends and market momentum.
Notes de version:
Updated script name on chart
Script open-source

Dans le véritable esprit de 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 le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?