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

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.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DayTradingDEMON, Today, 09:28 AM
    0 responses
    1 view
    0 likes
    Last Post DayTradingDEMON  
    Started by navyguy06, Today, 09:28 AM
    0 responses
    1 view
    0 likes
    Last Post navyguy06  
    Started by rjbtrade1, 11-30-2023, 04:38 PM
    2 responses
    77 views
    0 likes
    Last Post DavidHP
    by DavidHP
     
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    7 responses
    30 views
    0 likes
    Last Post cmtjoancolmenero  
    Started by Stanfillirenfro, Today, 07:23 AM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X