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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    46 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    67 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X