Login Page - Create Account

Support Board


Date/Time: Thu, 27 Feb 2025 09:29:20 +0000



Post From: Accessing last visible bar on chart

[2021-06-23 05:52:43]
skellington - Posts: 14
Hi,

I'm trying to update a string using drawing tools to show the value of an indicator for the last bar on the current chart. It's similar to how studies show their values for the last bar as you scroll left and right.

I don't want subgraph.Data[sc.Index] (for example), because it always gives me the last bar of data, not the last bar that's current visible in the chart.

Thanks!