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.
보호된 스크립트입니다
이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.
면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?