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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    89 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    133 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X