Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SampleStreamWriter Example

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

    SampleStreamWriter Example

    I am relatively new to both NinjaTrader & C#. Thus far I have been able to code simple strategies but I have not be able to figure out how to output prices to a text file although I can write to the output window. I found the SampleStreamWriter example, but I do not understand how to use it. Would it be possible for NT support to walk me through how to use the SampleStreamWriter code?

    #2
    Hello,

    We cannot walk you through it step by step, however if you just attach the StreamWriter to the chart it will create a file in Documents>NinjaTrader 6.5 and you will see what it is writing from there. From there you will need to play around with it to understand it completely. If you get stuck please post your specific question(s).
    DenNinjaTrader Customer Service

    Comment


      #3
      Thanks Ben.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      647 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      368 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      571 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X