Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 09:37:34 +0000



Post From: Chart bar/study .csv file does not match bars displayed in the charts, last day missing

[2024-10-21 20:57:29]
John - SC Support - Posts: 36238
No matter what you do, there will not be a way to have this done automatically. The issue is that there will not be a call to your custom study until there is another new trade that takes place. So there is not a way to get that last bar outputted.

The only thing you could do would be to create a custom study that outputted the data, and then have a special handling if there has not been some update for some period of time (let's say no new data in 30 minutes). But you would have to force a recalculation of the chart in order to do this, either by selecting "Chart >> Recalculate" or selecting the "Insert" key, or by opening Sierra Chart, etc. Otherwise, there will not be anything to force a call to your program

If you want to pursue it, then start with the "Write Bar and Study Data to File" source code in the Studies6.cpp file. Refer to the following:
How to Build an Advanced Custom Study from Source Code
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing