Login Page - Create Account

Support Board


Date/Time: Wed, 04 Mar 2026 19:53:55 +0000



Post From: Historical market depth for chart with custom bars

[2026-01-17 12:49:43]
curious16 - Posts: 36
Thanks for your quick response.

The method described in the link you provided seems a lot more complex/convoluted than what I used so far with sc.IsCustomChart = 1 and using sc.AddElements(1) to emit new output bars. By all means please keep supporting what you describe here as "out of date" - I have a considerable amount of code that uses this approach, and I'd expect others do as well since this works fine for basic functionality but, as I now found, does not work with book depth data.

I'll try to understand the newer method and gradually rewrite custom chart code with this alternate approach. Can you confirm that this approach is fully compatible with loading historical market depth data? Apart from being able to load historical market depth into a custom chart, what advantages does this approach have compared to what I use now and what you describe as "out of date"?