Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plotting indicator as candlestick \ using 3rd party data

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

    Plotting indicator as candlestick \ using 3rd party data

    Hello,

    I want to program an indicator that will show custom data generated by another software I am running as an instrument.

    What is the best way of doing so?

    I was thinking of programming the indicator to plot the data, but is it possible to plot it as candlestick?

    #2
    Welcome to our forums, if you feed the data to a custom instrument using our AT interface you should be able to plot it in candlestick format as well -

    Comment


      #3
      Adding time value

      Thanks, that looks great.

      I understand that I can set the last price using Last(), but does NinjaTrader records this price using current system time? So I just need to keep updating last price and the candlesticks will be updated?

      What about backfill?

      Comment


        #4
        Yes, the incoming data will then be recored in the NinjaTrader local database provided 'Save chart data as historical' under Tools > Options > Data is checked. A backfill programmatically is not supported unfortunately, but you could look into importing for example txt files with the historical data needed.

        Comment


          #5
          Error connecting

          I already installed and linked the dll to my C# application, but when I try to connect it tells me that ninja trader actively refused the connection.

          I've searched but couldn't find any info on that, can you please help?
          thanks

          Comment


            #6
            A quick fix

            Am sorry for the quick jump, it does connect and I am able to send the Last() function with 0 as reply, but the chart doesn't get updated. Are there any further steps needed to be made?

            Comment


              #7
              What session template do you use for your custom symbol? Have you tried for example Default 24 / 7 to chart all hours?

              Comment


                #8
                Seems to be working now, thanks again

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                578 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                334 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                554 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                551 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X