Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is it possible to create price bars in code?

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

    Is it possible to create price bars in code?

    I want to create my own instrument from synthetic data and chart it...

    one of the ideas is to feed an indicator with data in run-time and add into price bars data series like Open, Close, High, Low..

    is it possible?

    is there any other ideas?

    #2
    Maxima, this is technically possible although it would not necessarily be an easy task. In addition to not being easy, it would be unsupported. If you dig through the methods present in NT's core DLLs in Visual Studio, you will uncover quite a few methods you could use, like Add([bar information]) and other Get() methods. I have to emphasize the unsupported aspect of this approach though.
    Attached Files
    AustinNinjaTrader Customer Service

    Comment


      #3
      many thanks Austin!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      239 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      155 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      165 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      247 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      199 views
      0 likes
      Last Post CarlTrading  
      Working...
      X