Can you please advise how I can access the chart data series "end date" via script. When you double click on a chart data you have the option to set an end date and days to load. How can I access the current chart end date within an indicator script so that I can copy the "end date" day, month and year value to my indicator defaults? I tried ChartControl.PrimaryBars.Properties.To.Day to access the day data within State=SetDefaults but getting error "object reference not set to an instance of an object".
Thanks

Comment