Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Print in addon?

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

    Print in addon?

    So Print() doesn't work in an addon? Is there another way to print to the output window from inside an addon? Specifically, an Account update event inside an addon.

    #2
    Hello Chippy,

    Thanks for your post.

    Print() is not available to use in an AddOn. Instead of Print(), you could use Output.Process() to write a message.

    Code:
    // Instead of Print()
    NinjaTrader.Code.Output.Process("my message", PrintTo.OutputTab1);
    See this help guide page for more information: https://ninjatrader.com/support/help...ub=Code.Output

    Let us know if we may assist you further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    286 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    178 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    175 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    263 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    216 views
    0 likes
    Last Post CarlTrading  
    Working...
    X