Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 13:36:31 +0000



Post From: Custom Chart Bar skipping bars

[2017-11-28 18:26:11]
DabbaDo - Posts: 146
Attached is my simple test chartbook.
The custom chart bar function is SierraChartStudies.scsf_CustomChartBarsExample
v1653

The problem is subtle (IMHO nasty). :)

1. I have to be connected (live; I haven't tried it in replay). In my case I'm connected via DTC - Sub Instance to another machine on my LAN, but I doubt if that's relevant.
2. I press UES button to force reloads. (I wish I had a better way.)
3. About 1 time out of 3 I see extremely short volume bars near the end of the chart. http://www.sierrachart.com/image.php?Image=1511893217332.png
Debugging into this, I notice that ChartBarInterface.CurrentBarIndex "skips" -- that is CustomChartBarBuildingFunction() is not called for one or more bars.

Cheers,
Dale
attachmentDebug.cht - Attached On 2017-11-28 18:15:54 UTC - Size: 40 KB - 297 views