Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Print()

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

    Print()

    Please let me know if this is the current way to Print an output onto my chart, because I cannot, for the life of me, get ANYTHING to print onto the chart. Point me in the right direction if there are already examples. Thanks!

    // Open Bull Market
    if (Position.MarketPosition == MarketPosition.Flat
    && TripMOMO(15, 25, 5).TripMO[0] >= TripMoMoBuyBull
    && EMA50vs200(200, 50).Plot0[0] >= Ratio50vs200l
    && (DM(7).DiPlus[0] - DM(7).DiMinus[0]) > DMIBuyBull
    && RSI(12, 1)[0] <= rSIBuyBull)
    {
    EnterLong(1, "Enter Long1");
    EnterLong(1, "Enter Long2");
    Print("Open in Bull Market 1&2");
    }

    #2
    Hello dunwoodyjr,

    Thank you for your post.

    Print() will send information to the NinjaTrader Output window. You can access the Output window by going to Tools > Output Window...

    Using the DrawText() object you can draw text on your chart, for information on DrawText() please visit the following link: http://www.ninjatrader.com/support/h...l?drawtext.htm

    For a reference on drawing on a chart and changing the fonts please visit the following link: http://www.ninjatrader.com/support/f...ad.php?t=19170

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    567 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X