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 futtrader, 04-21-2024, 01:50 AM
                6 responses
                58 views
                0 likes
                Last Post futtrader  
                Started by sgordet, Today, 11:48 AM
                0 responses
                4 views
                0 likes
                Last Post sgordet
                by sgordet
                 
                Started by Trader146, Today, 11:41 AM
                0 responses
                5 views
                0 likes
                Last Post Trader146  
                Started by jpapa, 04-23-2024, 07:22 AM
                2 responses
                19 views
                0 likes
                Last Post rene69851  
                Started by funk10101, Today, 11:35 AM
                0 responses
                3 views
                0 likes
                Last Post funk10101  
                Working...
                X