Login Page - Create Account

Support Board


Date/Time: Sun, 06 Jul 2025 15:33:39 +0000



Post From: VolumeByPrice Source Code

[2019-03-20 09:03:47]
Jezz - Posts: 33
There is a feature in Volume by Price that I'd like to incorporate in one of my studies:
When you set VbP to Visible bars, the profile is calculated despite the presence of realtime data. I mean the scroll action is detected independently from the next tick value. Whenever you change the scroll, the study is properly recalculated, even in disconnected mode.

In my study, I can achieve such recalculation (by monitoring sc.IndexOfFirstVisibleBar) but only when the next tick data is recieved, so it doesn't work in disconnected mode.
I've also tried sc.UpdateAlways = 1 without success.

How is it achieved in VbP?
Is there any way to detect horizontal scrolling in disconnected mode?
Any clue?

Thanks