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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      601 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      347 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      559 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      558 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X