Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 -

    BertrandNinjaTrader Customer Service

    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.

        BertrandNinjaTrader Customer Service

        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?
              BertrandNinjaTrader Customer Service

              Comment


                #8
                Seems to be working now, thanks again

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Segwin, 05-07-2018, 02:15 PM
                14 responses
                1,789 views
                0 likes
                Last Post aligator  
                Started by Jimmyk, 01-26-2018, 05:19 AM
                6 responses
                837 views
                0 likes
                Last Post emuns
                by emuns
                 
                Started by jxs_xrj, 01-12-2020, 09:49 AM
                6 responses
                3,293 views
                1 like
                Last Post jgualdronc  
                Started by Touch-Ups, Today, 10:36 AM
                0 responses
                13 views
                0 likes
                Last Post Touch-Ups  
                Started by geddyisodin, 04-25-2024, 05:20 AM
                11 responses
                63 views
                0 likes
                Last Post halgo_boulder  
                Working...
                X