Biên tập viên chọn
OPEN-SOURCE SCRIPT
Cập nhật

Volume Profile Auto [line]

178 025
This project is about:

- VPSV
- array.new_line()
- array.new_box()

VPSV (pine) is one of the rare features that draws lines/figures BETWEEN bars
ảnh chụp nhanh

It doesn't run on Pine script, which makes it possible to do such things.

I wanted to have something similar while a restriction of Pine script is the impossibility to draw between bars, the only way I could think of is by using line width
ảnh chụp nhanh

In this script the higher timeframe is started with several lines (left) and a box, this box goes further until the higher timeframe ends.

During the creation of the box, each candle (lower timeframe) in this box (higher timeframe - period) is checked for position and volume, the volume is added to the left line, so when you see a thicker line, this means at that level there is more volume traded.

One of the big differences with other volume profiles is that many look back to a previous period, here when a period starts, the lines collect data - volume until the period ends, it is especially very visible in very low TF's (seconds)

This is my first script with array.new_line() - array.new_box(), which is a very nice Pine feature!
I hope this script can be helpful to see the possibilities

Settings:

'Parts' -> amount of lines (left of box)

5 Parts:
ảnh chụp nhanh

15 Parts:
ảnh chụp nhanh

25 Parts:
ảnh chụp nhanh

50 Parts:
ảnh chụp nhanh

'Max Width' -> Sets the max width of the lines

'Automatic Settings' -> Sets the higher time frame automatically, see the tooltip ⓘ for more info

The yellow line is the max volume line of that period, last period has a red line (POC), also referring the max.

Cheers!
Phát hành các Ghi chú
bugfix
Phát hành các Ghi chú
Improvement of array clean-up (Thanks HeWhoMustNotBeNamed !)
Phát hành các Ghi chú
Added more POC lines
Phát hành các Ghi chú
• Added 'Visible Barcolor' for users who use "Bars" as "Bar's Style", default off
• Converted to v5
Phát hành các Ghi chú
• Added 'Visible Barcolor' for users who use "Bars" as "Bar's Style", default off
• Converted to v5

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.