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 Balage0922, Today, 07:38 AM
                0 responses
                1 view
                0 likes
                Last Post Balage0922  
                Started by JoMoon2024, Today, 06:56 AM
                0 responses
                6 views
                0 likes
                Last Post JoMoon2024  
                Started by Haiasi, 04-25-2024, 06:53 PM
                2 responses
                19 views
                0 likes
                Last Post Massinisa  
                Started by Creamers, Today, 05:32 AM
                0 responses
                6 views
                0 likes
                Last Post Creamers  
                Started by Segwin, 05-07-2018, 02:15 PM
                12 responses
                1,786 views
                0 likes
                Last Post Leafcutter  
                Working...
                X