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 rt61968, 02-17-2018, 05:24 PM
    4 responses
    2,740 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by llanqui, 04-28-2024, 10:32 AM
    3 responses
    23 views
    0 likes
    Last Post bltdavid  
    Started by WHICKED, 04-26-2024, 12:56 PM
    5 responses
    152 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by PaulMohn, Yesterday, 02:06 AM
    7 responses
    20 views
    0 likes
    Last Post PaulMohn  
    Started by f.saeidi, Today, 08:01 AM
    0 responses
    3 views
    0 likes
    Last Post f.saeidi  
    Working...
    X