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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    660 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    375 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    110 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    579 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X