The Anchor time is time stamp of the bar your code is drawing the bar on. So if you want to draw it on another bar, you would need to call Draw.Text on a different bar. Although 1800 is very unexpected, there could be something else going on.
You could also use the overload that allows you to specify DateTime instead of barsAgo.
Draw.Text(NinjaScriptBase owner, string tag, bool isAutoScale, string text, DateTime time, double y, int yPixelOffset, Brush textBrush, SimpleFont font, TextAlignment alignment, Brush outlineBrush, Brush areaBrush, int areaOpacity)
Basically if you are able to see the draw object in the list of drawing objects and when you check 'isAutoScale', there isn't anything wrong going in the code - the script is successfully creating the object where you are specifying the object to be. If you wanted it to be closer to the bars then you would just need to change the y parameter. Because you are passing 10 and 20 this is going to be very far away from the bars, you're saying you want to the object to be drawn at y = 10 or y = 20 which is the price scale. There are likely no instruments are going to have prices that low.

Comment