mcthatsme

Multi Session Volume Profile Levels

This script allows a user to plot current and historical volume profile levels (POC, VAH, VAL) of RTH (NY trading hours), ETH (Globex and/or Equities ETH), and Weekly Profiles.

Each profile has multiple settings to tailor how the user desires. The list includes:
  • Plotting the current volume profile
  • Plotting historical session/week volume profile levels
  • Many configuration options for colors, line styles, and labels

One feature not mentioned above is the ability to plot any untested (i.e. naked) level that will disappear once it is traded through. The way this feature works is if a level is traded through during RTH (NY session), the level will stop plotting and/or disappear at the end of that trading session if it is a session VP level (ETH or RTH) or at the end of the trading week for the weekly profile levels.

Limitations
There are some minor limitations due to pine script that need to be mentioned. The volume profile calculations utilize the 1 minute timeframe to allow for more granular plotting of the volume profile. This allows the script to mimic the native volume profile script as closely as possible. The timeframe used for the calculation can be changed to use 1m, 2m, 3m, or 5m. Please be aware that using a higher timeframe allows for more historical levels to be plotted but results less resolution of the volume profile itself.

An attempt was made to get this as close to the native volume profile levels as possible. While most of the time the levels in this script are within a handful of ticks of the native levels, there are situations where they can be far off. Double distribution days are where this script can sometimes deviate significantly from the native volume profile or in instances where there are two high volume nodes that are very similar in volume. Pine script does not provide the same resolution to volume that is used in the native volume profile script which is why the values may be different when comparing them.

Another item that might be encountered is calculation timeouts. Due to the amount of calculations needing to be done to plot these levels you may encounter calculation timeouts when first applying them to the chart and periodically during the use of the indicator. If this is encountered, simply change one of the inputs in the inputs tab to force it to recalculate and it will eventually provide the levels on the chart. I am working on trying to optimize this to reduce these calculation timeouts but this is as good as I could get it for now.

Future updates will include higher timeframe volume profile values but will require a bit more work to get it implemented. As always I am open to suggestions on how to make this script better as it provides a more automated way to utilize these levels than what is currently provided.
Script protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
Aviso legal

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.

Quer usar esse script no gráfico?