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 cmoran13, 04-16-2026, 01:02 PM
                0 responses
                37 views
                0 likes
                Last Post cmoran13  
                Started by PaulMohn, 04-10-2026, 11:11 AM
                0 responses
                23 views
                0 likes
                Last Post PaulMohn  
                Started by CarlTrading, 03-31-2026, 09:41 PM
                1 response
                162 views
                1 like
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 04-01-2026, 02:41 AM
                0 responses
                98 views
                1 like
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                152 views
                2 likes
                Last Post CaptainJack  
                Working...
                X