Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.Text using DateTime

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Draw.Text using DateTime

    This doesn't seem to be working....
    Is this working for you?

    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)

    as for example:
    Draw.Text(this,"TEST",false,"TEXT",Time[0],2070,-2,Brushes.Red,new Gui.Tools.SimpleFont("Courier New", 18) { Size = 18, Bold = true },System.Windows.TextAlignment.Left,Brushes.Transp arent,Brushes.Transparent,0);

    however, as expected, this does work:

    Draw.Text(this,"TEST",false,"TEXT",0,2070,-2,Brushes.Red,new Gui.Tools.SimpleFont("Courier New", 18) { Size = 18, Bold = true },System.Windows.TextAlignment.Left,Brushes.Transp arent,Brushes.Transparent,0);
    Attached Files

    #2
    Hello CriticalTrader,

    This item has been reported and is being tracked with ID# NTEIGHT-9581 'Draw objects not drawn initially when using overload that accepts DateTime'.

    This has been marked as fixed for Beta 11.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Today, 06:46 AM
    0 responses
    7 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    11 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    13 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    81 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    46 views
    0 likes
    Last Post PaulMohn  
    Working...
    X