I have noticed some inconsistencies in the timeroll (the X axis) in NinjaTrader as it is modelled for the instrument vs as it is displayed on the chart.
For example, on a daily chart, when you try to e.g. draw a line *manually* with start and/or end date in the future (=to the right of the last candle), you will be able to plot unto holidays and and weekend days, because the displayed chart shows regular calendar days. This can be easily verified by bringing up the data box and hovering the mouse over any day to the right of the last candle: the weekends are there.
On the other hand, if you try to draw the same line *programatically*, the system does take holidays and weekend days into consideration, and will not allow you to draw the line there, placing the anchor unto (I believe) the last contiguous trading dayafter the last day of the chart. This is also true if you edit the anchor of an existing manually drawn line from the properties editor in the NT UI.
This can easily be reproduced programatically and manually. To reproduce it manually, you can, for example:
- draw a line from a day to the left of the last bar through to Saturday of the next week. The line is there. although it is drawn unto a day that will later not exist on the chart.
- edit the line in the property editor, and set the line's end to the Sunday right after (add 1 day). The line's end jumps back. Try setting the original date of Saturday: the line will not go back to how it was as you first drew it, but will stay where it had jumped.
This is actually an important problem, because this means any trend lines drawn into the future are doomed to be changed by the system if they cross or land on a non-trading day.
This shifts and moves my manually drawn as well as code-drawn trend lines, and causes much overhead in carrying out analysis. I saw multiple other members have complained about the same.
I hope you will be able to prioritize this and fix it in a near release.
Many thanks,
Libor
Comment