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 kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    14 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    19 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    135 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X