Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Output continues showing prints

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

    Output continues showing prints

    Hi all,

    My output window continues printing information every minute even though the indicator and strategy are not running anymore.

    Steps taken so far:

    1) Commented out the print commands and compiled, removed and added back indicator and strategy, then removed again -- i.e. nothing running
    2) Closed the chart tab and created new tabs -- i.e. nothing running that prints anything
    3) Closed the whole chart window and opened new chart window (redid all my charts) -- i.e. nothing running
    4) Saved everything to a new work space, did steps 2+3 again -- i.e. nothing running

    I cannot understand how this can be. Please let me know if anyone ever had this or has a solution.

    p

    #2
    Hi pennywise, thanks for your question.

    If you are still getting prints this means there is a script still attached somewhere. Look through every single window of NinjaTrader to find an attached script. Also, if you have Print statements within OnStateChanged, that will get called for every script in the system when you pull up the indicator/strategy window. So mind where the prints are in the script.

    Please let me know if I can assist any further.

    Comment

    Latest Posts

    Collapse

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