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

Printing to file

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

    Printing to file

    Hi,

    While I test my script, I would like to output certain info to two separate files. Is there any interface available which could help me output to a user generated file?

    Secondly, what's the object that holds the time information (hh:mm:ss) associated with a bar?

    Thanks for the help.

    #2
    Time[0] holds the time information of the latest bar. Please see: http://www.ninjatrader-support.com/H...deV6/Time.html

    For outputting to files, please see this reference sample: http://www.ninjatrader-support2.com/...ead.php?t=3475
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thank you.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by thumper57, Yesterday, 04:30 PM
      5 responses
      14 views
      0 likes
      Last Post thumper57  
      Started by reynoldsn, 05-10-2024, 07:04 PM
      5 responses
      26 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by llanqui, Today, 11:10 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by llanqui, Today, 10:29 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by Trader146, 05-10-2024, 09:17 PM
      1 response
      22 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X