Steps to reproduce:
1) Create 1 Min ES Chart with multiple days of data.
2) Set Session Start Time = 9AM and Session Stop Time = 3:15PM
3) Apply below custome indicator.
4) PreviousDaysOHLC Lines will draw on chart.
5) Uncomment DrawText() functions.
6) Lines no longer draw but text does.
Expected Results:
With DrawText() uncommented, should get Lines and Text.
Other Indicator Problem:
This indicator should simply Draw the previous days OHLC lines on the chart for the current day, re-drawing each BarUpdate to include the current bar. (This functionality is required for further development even though one can do this much simpler). What you appear to get is todays OHLC plotted today and yesterday. If someone can spot whats wrong it would be appreciated because I'm converting from TS and the high level logic matches. Is this a NT bug?
Here is the indicator:
Comment