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.
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.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.