PINE LIBRARY

volumeUtilities

Updated
Library "volumeUtilities"

generate_and_plot_volumeProfile(length, valueArea_perc, plot_vp, show_vp_labels, include_vp_levels)
  : Generate and plot volume profile
  Parameters:
    length (int): (int): Length of the volume profile indicator
    valueArea_perc (float): (float): Percentage of the volume that will be in the value area
    plot_vp (bool): (bool): Flag to plot or not the indicator
    show_vp_labels (bool): (bool): Flag to plot the labels of the levels
    include_vp_levels (bool): (bool): Flag to include the values inside the labels of the levels
  Returns: : Returns POC level, upper value area level, lower value area level and alerts if close is above or below the value area.
Release Notes
v2
Release Notes
v3
Release Notes
v4
Release Notes
v5

Updated:
generate_and_plot_volumeProfile(length, valueArea_perc, plot_vp, show_vp_labels, include_vp_levels, bars_to_right, plot_dataTable, data_tableTitle, tableYpos, tableXpos, table_textSize)
  Parameters:
    length (int)
    valueArea_perc (float)
    plot_vp (bool)
    show_vp_labels (bool)
    include_vp_levels (bool)
    bars_to_right (int)
    plot_dataTable (bool)
    data_tableTitle (string)
    tableYpos (string)
    tableXpos (string)
    table_textSize (string)
Release Notes
v6
Release Notes
v7

Added:
get_volumeProfile_data(length, plot_volumeProfile, plot_labels, bars_to_right, include_levels)
  Parameters:
    length (int)
    plot_volumeProfile (bool)
    plot_labels (bool)
    bars_to_right (int)
    include_levels (bool)
Release Notes
v8
Release Notes
v9
techindicator

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.


Also on:

Disclaimer