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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      81 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      64 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      66 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      54 views
      0 likes
      Last Post CarlTrading  
      Working...
      X