OPEN-SOURCE SCRIPT

Volume Profile with Node Detection [LuxAlgo]

Updated
The Volume Profile with Node Detection is a charting tool that allows visualizing the distribution of traded volume across specific price levels and highlights significant volume nodes or clusters of volume nodes that traders may find relevant in utilizing in their trading strategies.

🔶 USAGE

snapshot

The volume profile component of the script serves as the foundation for node detection while encompassing all the essential features expected from a volume profile. See the sub-sections below for more detailed information about the indicator components and their usage.

🔹 Peak Volume Node Detection

A volume peak node is identified when the volume profile nodes for the N preceding and N succeeding nodes are lower than that of the evaluated one.

snapshot

Displaying peak volume nodes along with their surrounding N nodes (Zones or Clusters) helps visualize the range, typically representing consolidation zones in the market. This feature enables traders to identify areas where trading activity has intensified, potentially signaling periods of price consolidation or indecision among market participants.

snapshot

🔹 Trough Volume Node Detection

A volume trough node is identified when the volume profile nodes for the N preceding and N succeeding nodes are higher than that of the evaluated one.

snapshot

🔹 Highest and Lowest Volume Nodes

Both the highest and lowest volume areas play significant roles in trading. The highest volume areas typically represent zones of strong price acceptance, where a significant amount of trading activity has occurred. On the other hand, the lowest volume areas signify price levels with minimal trading activity, often indicating zones of price rejection or areas where market participants have shown less interest.

snapshot

🔹 Volume profile

Volume profile is calculated based on the volume of trades that occur at various price levels within a specified timeframe. It divides the price range into discrete price intervals, typically known as "price buckets" or "price bars," and then calculates the total volume of trades that occur at each price level within those intervals. This information is then presented graphically as a histogram or profile, where the height of each bar represents the volume of trades that occurred at that particular price level.

snapshot

🔶 SETTINGS

🔹 Volume Nodes

  • Volume Peaks: Toggles the visibility of either the "Peaks" or "Clusters" on the chart, depending on the specified percentage for detection.
  • Node Detection Percent %: Specifies the percentage for the Volume Peaks calculation.
  • Volume Troughs: Toggles the visibility of either the "Troughs" or "Clusters" on the chart, depending on the specified percentage for detection.
  • Node Detection Percent %: Specifies the percentage for the Volume Troughs calculation.
  • Volume Node Threshold %: A threshold value specified as a percentage is utilized to detect peak/trough volume nodes. If a value is set, the detection will disregard volume node values lower than the specified threshold.
  • Highest Volume Nodes: Toggles the visibility of the highest nodes for the specified count.
  • Lowest Volume Nodes: Toggles the visibility of the lowest nodes for the specified count.


🔹 Volume Profile - Components

  • Volume Profile: Toggles the visibility of the volume profile with either classical display or gradient display.
  • Value Area Up / Down: Color customization option for the volume nodes within the value area of the profile.
  • Profile Up / Down Volume: Color customization option for the volume nodes outside of the value area of the profile.
  • Point of Control: Toggles the visibility of the point of control, allowing selection between "developing" or "regular" modes. Sets the color and width of the point of control line accordingly.
  • Value Area High (VAH): Toggles the visibility of the value area high level and allows customization of the line color.
  • Value Area Low (VAL): Toggles the visibility of the value area low level and allows customization of the line color.
  • Profile Price Labels: Toggles the visibility of the Profile Price Levels and allows customization of the text size of the levels.


🔹 Volume Profile - Display Settings

  • Profile Lookback Length: Specifies the length of the profile lookback period.
  • Value Area (%): Specifies the percentage for calculating the value area.
  • Profile Placement: Specify where to display the profile.
  • Profile Number of Rows: Specify the number of rows the profile will have.
  • Profile Width %: Adjusts the width of the rows in the profile relative to the profile range.
  • Profile Horizontal Offset: Adjusts the horizontal offset of the profile when it is selected to be displayed on the right side of the chart.
  • Value Area Background: Toggles the visibility of the value area background and allows customization of the fill color.
  • Profile Background: Toggles the visibility of the profile background and allows customization of the fill color.


🔶 RELATED SCRIPTS

Supply-Demand-Profiles
Liquidity-Sentiment-Profile

Thanks to our community for recommending this script. For more conceptual scripts and related content, we welcome you to explore by visiting >>> LuxAlgo-Scripts.
Release Notes
- Improved script speed and memory efficiency
liquidityluxalgonodePivot PointsSupport and ResistancesupportandresistancezonessupportresistacevolumeanalysisvolumeprofileanalysisvolumeprofileindicatorVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Also on:

Disclaimer