I'm using a variable tempDate = bars.ToDate to read the value of DataSeries/Time frame/End date as a reference point.
This works fine until I display an indicator, and the then tempDate variable seems to track the date of the indicator as it is loaded in (I have Tick Replay enabled on the Data Series), rather than keeping its original value, which I would have thought would be a read only end date, as shown in the UI.
Is there a way to ensure that bars.ToDate is a read only (fixed) date ?
Or is there another way to get DataSeries/Time frame/End date that ensures it's read only ?
Thanks,
Louis
Comment