Date/Time: Thu, 18 Jan 2018 16:10:33 +0000
Post From: Sierra Chart Now Supports Building Custom Chart Bars Efficiently in ACSIL
|DabbaDo - Posts: 102|
Thank you, I look forward to trying sc.AllocateAndNameRenkoChartBarArrays.
These custom bars are wonderful, a great addition to your platform in my opinion. Attached is a favorite bar type of mine, for what it's worth. You can safely ignore it. It's likely that I'm doing some things incorrectly.
1. In the studies dialog, when I Remove a custom chart and Add another then Apply the chart is not reloaded. Duplication steps:
---a. Add Custom Study "Custom Chart Bars Example" with the default 1000 volume. Exit the studies dialog.
---b. Open the studies dialog. Remove Custom Chart Bar Volume=1000 then Add Custom Study "Custom Chart Bars Example" with 2000 volume. Apply or OK. Notice the bars don't change (debugger shows the CustomChartBarBuildingFunction isn't called.)
2. Maybe not a bug: sc.AreTimeSpecificBars() comes back true if the scid bars are 1s or 1m etc. Sometimes other studies need to know if the base bar is a tick bar, a time-based bar, etc.
---a. A flag in ChartBarInterface that is true on the first call after sc.FlagToReloadChartData. Currently I'm tracking the CurrentBarIndex to know when I should re-initialize state. Perhaps there is a better way and I just missed it.
BruUniVolumeTick.cpp - Attached On 2017-11-13 11:16:58 UTC - Size: 9.82 KB - 24 views