Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 22:55:14 +0000



[Programming Help] - Intraday chart data records from the chart data file

View Count: 150

[2024-04-23 21:09:11]
User891636 - Posts: 5
Hi,

I've been successfully using intraday data records through the function sc.ReadIntradayFileRecordForBarIndexAndSubIndex() to obtain the total volume from the end of the previous night session (sc.StartTime2) and the code is based on the example provided in /ACS_Source/Studies2.cpp. However, I've noticed that when I use the chart bar period as "Days-Min-Secs-Milliseconds" or any "in ticks" type, everything works fine. If I use the "Volume per Bar" type, the total volume is incorrect and always overestimated.

To verify the data, I'm using the VpP study by Sierra Chart. Why is the result different when I use the "Volume per Bar" chart? am I missing anything? The logic for retrieving and selecting the intraday record should be the same: I'm just filtering them based on date and time.

Thank you.
Date Time Of Last Edit: 2024-04-23 21:10:23

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account