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.
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.
Frånsägelse av ansvar
Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.