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

Lost e-mail and print funcionalities on imported script

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

    Lost e-mail and print funcionalities on imported script

    Hello Everyone

    Hop you all are doing great.

    I've just exported my Ninja script to be imported in another computer where I'll be using NT moving forward. To increase security I exported my script in the assembled/compiled format.

    What happens is that after I imported the script in the destination computer and enable the strategy, all my "print" commands to the output windows stopped working. I used them a lot to understand how NT was taking decisions, like indicators values at the time.

    Also noticed that the prints stopped working not only on the destination computer, but also in the source computer where the source code is.

    On the destination computer in particular, I noticed SendEmail didn't work either, not sure if it is related, I did test the e-mail on the setup window and it worked fine.

    Can you please explain why would that happen? Anyway to revert this?

    Thank you,

    Rodrigo

    #2
    Hi rgaleote,

    Thanks for your post.

    Are there errors in the Log tab of the Control Center?
    If so, what do these say?

    If you add Print("Testing"); as the first line of OnBarUpdate() does this print?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hi rgaleote,

      Thanks for your post.

      Are there errors in the Log tab of the Control Center?
      If so, what do these say?

      If you add Print("Testing"); as the first line of OnBarUpdate() does this print?
      I ended up reinstalling NT and importing my ninja script not as assembled, now it does work ok.

      Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by bmartz, 03-12-2024, 06:12 AM
      4 responses
      31 views
      0 likes
      Last Post bmartz
      by bmartz
       
      Started by Aviram Y, Today, 05:29 AM
      4 responses
      11 views
      0 likes
      Last Post Aviram Y  
      Started by algospoke, 04-17-2024, 06:40 PM
      3 responses
      28 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by gentlebenthebear, Today, 01:30 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by cls71, Today, 04:45 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X