Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

External program drawing object on chart

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

    External program drawing object on chart

    I have a third party program which uses the Ninja Trader API to submit enter long or enter short orders using the API.
    I would like to plot a diamond on the NT chart at the same time as the order is submitted. Is there an API reference sample for external programs to access a chart.?

    If there is not, I could alternatively make an indicator which would be loaded into the chart which indicator picks up a value from the third party program and uses it to derive the place to place the diamond. A crude way would be to have the third-party program write the data to a file which file is periodically inspected by the indicator. This seems crude, however

    So is there any other way for an indicator to capture a value from a program ruining separately from NT?

    #2
    Hello,

    Thanks for the forum post.

    Unfortunately there is no supported way for the API to access a NinjaTrader drawn chart. You would need to code an indicator that adds these symbols to the chart manually as you describe.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      use DDE to pick up external program data

      Is there a way to uses DDE or some other mechanism to communicate on an interrupt basis with an external program? Some thing like the OnBarUpdate() architecture but having a way to pick up external data - for example (made up name) OnDataTrap()

      Comment


        #4
        Hello,

        There is unfortunately no DDE connection supported in NinjaTrader however you may try searching the forum there have been a few members that have tutorials on how to add this into NinjaTrader.

        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        597 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 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
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        555 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X