LuxAlgo

Volume Profile Regression Channel [LuxAlgo]

LuxAlgo Wizard Updated   
The Volume Profile Regression Channel calculates a volume profile from an anchored linear regression channel. Users can choose the starting and ending points for the indicator calculation interval.

Like a regular volume profile, a "line" of control (LOC), value area, and a developing LOC are displayed.

🔶 SETTINGS

  • Sections: The number of sections the linear regression channel is divided into for the calculation of the volume profile.
  • Width %: Determines the length of the profile within the channel relative to the channel length.
  • Value Area %: Highlights the sections starting from the POC whose accumulated volume is equal to the user-defined percentage of the total profile sections volume.

    🔶 USAGES


    Regular volume profiles are often constructed from a horizontal price area, this can allow highlighting price areas where most trading activity takes place.

    However, when price is strongly trending a classical volume profile can sometimes be more uniform. This is where using an angled volume profile can be useful.


    The line of control allows highlighting the section of the channel with the most accumulated volume, this line can be used as a potential future support/resistance. This is where an angled volume profile might be the most useful.

    The developing LOC highlights the LOC location at a specific time within the profile (from left to right) and can sometimes provide an estimate of the underlying trend in the price.

    🔶 DETAILS

    To be computed the script requires a left and right chart time coordinates. When adding the script to their charts users can determine the left and right time coordinates by clicking on the chart.

    The linear regression channel width is determined so that the channel precisely encompasses the whole price.

    🔶 LIMITATIONS

    Using a very large calculation interval can return timeouts. Users can reduce the calculation interval to fix that issue from occurring.

    The amount of drawing objects that can be used is limited, as such using a high calculation interval can display an incomplete profile.

    🔶 ACKNOWLEDGEMENTS

    If you are interested in these types of scripts, @HeWhoMustNotBeNamed published a similar script where users can use a custom line angle. See his 'Angled Volume Profile' script from March 2023.
Release Notes:
- Fixed unused setting for developing POC color

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.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?