To reproduce:
- Open a NinjaScript Output window.
- Connect to a data feed
- Create a 30 minute chart of ES 12-16 starting with DaysBack = 1.
- Add the gws\TroubleDrawHLine indicator, which should draw a horizontal red line at 2126.00.
- Open the Data Series and change DaysBack to 2 and hit Apply.
- Repeat for DaysBack 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ...
The error occurs with DaysBack set to 5, 6, 7 and 12, 13, 14. Probably others as well, but I didn't check further.
Comment