This indicator is intended for use on trading platforms like TradingView and provides the following features:
Volume Profile Analysis: Shows cumulative volume delta (CVD) and displays buying and selling volumes.
Historical OHLC Levels: Plots historical open, high, low, and close levels for various timeframes (e.g., daily, weekly, monthly).
Customizable Settings: Allows users to toggle different elements and customize display options.
2. Inputs
Timeframe Display Toggles: Users can choose to display OHLC levels from different timeframes such as previous month, week, day, 4H, 1H, 30M, 15M, and 5M.
CVD Display Toggle: Option to show or hide the Cumulative Volume Delta (CVD).
Line and Label Customization: leftOffset and rightOffset: Define how far lines are extended left and right from the current bar. colorMonth, colorWeek, etc.: Customize colors for different timeframe OHLC levels. labelOffset and rightOffset: Control the positioning of volume labels.
3. Key Features
Cumulative Volume Delta (CVD)
Calculation: Computes the cumulative volume delta by adding or subtracting the volume based on whether the close price is higher or lower than the open price.
Display: Shows a label on the chart indicating the current CVD value and whether the market is leaning towards buying or selling. Historical OHLC Levels
Data Retrieval: Uses the request.security function to fetch OHLC data from different timeframes (e.g., monthly, weekly, daily).
Plotting: Draws lines and labels on the chart to represent open, high, low, and close levels for each selected timeframe.
Buying and Selling Volumes
Calculation: Calculates buying and selling volumes based on whether the close price is higher or lower than the open price.
Display: Shows labels on the chart for buying and selling volumes.
4. Functions
getOHLC(timeframe) Retrieves open, high, low, and close values from the specified timeframe.
plotOHLC(show, open, high, low, close, col, prefix) Draws OHLC lines and labels on the chart for the given timeframe and color.
5. Usage
Chart Overlay: The indicator is overlaid on the main chart (i.e., it appears directly on the price chart).
Historical Analysis: Useful for analyzing historical price levels and volume dynamics across different timeframes.
Volume Insights: Helps traders understand the cumulative volume behavior and market sentiment through the CVD and volume labels.
In essence, this indicator provides a comprehensive view of historical price levels across multiple timeframes and the dynamics of market volume through CVD and volume labels. It can be particularly useful for traders looking to combine price action with volume analysis for a more in-depth market assessment.
Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.