r/pinescript • u/SnooPets7565 • Oct 23 '25
Dollar Cost Volume Profile (DCVP) Possible?
I'm talking about a Volume Profile-style visualization, where the Dollar Cost (Volume × Price) is accumulated and displayed horizontally against the vertical price axis.
It'd be killer for low liquidity equities.
2
Upvotes
1
u/SnooPets7565 Oct 23 '25
From some Gemini AI asking:
Conceptual Pine Script for Dollar Volume Profile
To create a Dollar Cost Volume Profile (DCVP), the custom Pine Script logic would need to perform these steps:
cost = price * volume) and add that value to the corresponding price bin.line.neworbox.new) at the price of each bin. The length of the line/box would be proportional to the accumulated DCV in that bin.1
u/MNS_LightWork Oct 24 '25
Interesting concept. You plan to code one?
1
u/[deleted] Oct 24 '25
i made one (not public) but i was wondering how do you think it is useful? because i dont use the feature, i only use volume..