Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 pvincent, 06-23-2022, 12:53 PM
    14 responses
    238 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    383 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    1 view
    0 likes
    Last Post oviejo
    by oviejo
     
    Started by pechtri, 06-22-2023, 02:31 AM
    10 responses
    125 views
    0 likes
    Last Post Leeroy_Jenkins  
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Working...
    X