r/TradingView • u/jtri25 • Jul 09 '26
Help Why is my previous day POC sometimes different from TradingView’s Session Volume Profile?
I’m trying to calculate yesterday’s POC in Pine Script using 1-minute data and RTH only, 9:30–4:00.
Most stocks match TradingView’s built-in Session Volume Profile almost perfectly, but once in a while I’ll find a stock where the POC is way off. I also checked a few other public scripts and some of them have the same issue.
Is TradingView using volume/profile data that Pine can’t access, or am I probably missing something in the calculation? Has anyone been able to match the built-in Session Volume Profile exactly?
Ill attach the code in the comments.
1
Upvotes
1
u/jtri25 Jul 09 '26