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 CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        182 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        335 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        259 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X