OPEN-SOURCE SCRIPT

Volume Profile Regression Channel [LuxAlgo]

Atualizado
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.

    🔶 USAGESsnapshot

    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.

    snapshot

    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.
Notas de Lançamento
- Fixed unused setting for developing POC color
channeltrendLinear RegressionLUXluxalgoregressionSupport and ResistancevolumeprofileanalysisvolumeprofileindicatorVolume

Script de código aberto

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.

Quer usar esse script no gráfico?


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.
Também em:

Aviso legal