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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      173 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      328 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      252 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      354 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      181 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X