Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

user defined Instrument

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

    user defined Instrument

    Is it possible (NT7 or NT8) to define an Instrument that accepts data (ticks) from an NT Indicator, Strategy or ??
    It would be nice to be able to "push" ticks from within the program (an NT indicator) and let NT's functionality take care of OHLCV, Time, &etc

    #2
    Hello,
    This would not be supported in NinjaTrader 7 or NinjaTrader 8. You might be able to get the data historically by creating an indicator that writes the data from your indicator to a historical data file into the specific format needed for historical data. Please see the following link on the historical data format for NinjaTrader 7: http://ninjatrader.com/support/helpG.../importing.htm
    and the following link for the data format in NinjaTrader 8: http://ninjatrader.com/support/helpG...AndDataFormats

    I would also recommend to review the following reference sample for StreamWriter: http://ninjatrader.com/support/forum...ead.php?t=3475
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_CodyB View Post
      Hello,
      This would not be supported in NinjaTrader 7 or NinjaTrader 8. You might be able to get the data historically by creating an indicator that writes the data from your indicator to a historical data file into the specific format needed for historical data. Please see the following link on the historical data format for NinjaTrader 7: http://ninjatrader.com/support/helpG.../importing.htm
      and the following link for the data format in NinjaTrader 8: http://ninjatrader.com/support/helpG...AndDataFormats

      I would also recommend to review the following reference sample for StreamWriter: http://ninjatrader.com/support/forum...ead.php?t=3475
      Cody, thanks for your quick response. Your answer was what I expected; I just thought I'd take a shot and ask;
      I've already written "proof of concept" code for most of the functionality I need, including saving and recalling data from disk. In reviewing the design, I realized that almost all the functionality I require is already built in to NT; hate re-inventing yet another wheel.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      566 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      330 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      547 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      548 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X