Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

No charts for external data feed however data in "Chart Trader"

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

    No charts for external data feed however data in "Chart Trader"

    ...I have an external process driving data to NT via the external data connection. The chart trader shows the data on the right side of the chart however nothing is drawn on the chart. The process is calling the following methods in the NTDirect.dll:

    Ask("EURUSD",1.3983,0);
    Bid("EURUSD",1.3983,0);
    Last("EURUSD",1.3983,0);

    The price is an example, am I missing something here? The chart trader shows the incoming bid/ask but nothing charts. AT is on, chart times are set to 12:00Am to 12:00AM. I have a 1 tick chart open and it scales from 0 to .0001 with no data. Any input is appreciated. Thanks. Oh and this is in NT 6.5

    #2
    Just an update, I have also tried this in NT7 with the same results, on top of this I tried changing size to 1 instead of 0 and still the same results. Data in control panel and chart trader updating but charts are not.

    Comment


      #3
      fxRichard, are trades visible in a Time & Sales window? Are you returning a success/fail value upon setting the ask/bid/last (eg. success = NTClient.Ask("EURUSD", 1.3948, 1); )?
      AustinNinjaTrader Customer Service

      Comment


        #4
        Austin,

        Thanks for the reply. I am calling the methods from the DLL in C, I am getting response values of 0 telling me that is successfully did what it was supposed to do. I opened up the Time and Sales panel, selected EURUSD and the prices show up there as well.

        Comment


          #5
          I'm not sure if this helps but I tried placing a Buy market order from the control center with the Sim01 account and after a few seconds I get a popup that says there is no market data to place the order.

          Comment


            #6
            fxRichard, have you ever been able to get this working? Have you tried on a stock yet or a future? Forex instruments typically have the $ in front for NinjaTrader instruments, perhaps that is the issue. From what you've described, everything seems like it should be working, especially since the trades show up in the T&S window.
            AustinNinjaTrader Customer Service

            Comment


              #7
              Austin,

              I have tried with different instruments other than currencies and they all do the same thing, the bid/ask shows up in the control center and time & sales window but nothing on the chart. Do I have to make any other calls to initialize anything when using the DLL? I have even created custom symbols/instruments in NT and pushed data to those from my application, it all works except the charting.

              Comment


                #8
                fxRichard,

                Have you checked the session template you are using on your chart? Please try something like Default 24/7 to ensure you are not filtering it to any specific time range.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Thanks for the reply Josh. When I create a new 1 TICK chart in NT 6.5 it is set for 3 days back, the session start and end are set for 12:00am each. Really there is nothing that stands out as to why it's not plotting, would it help if I create a quick video of my desktop to show you exactly what is going on so you can see the steps taken for yourself?

                  Comment


                    #10
                    Guys, I have created a video you can view here:



                    If the quality from uploading to youtube is not good enough let me know and I will host it on one of my servers.

                    Comment


                      #11
                      fxRichard,

                      This would be accurate behavior based on your video since you are not pushing any Last events through your External feed. In NT6.5, charts only plot last prices and not bid/ask. You highlighted that the bid/ask is indeed working in the Control Center and even on Chart Trader. To actually see something on your chart you will want to push Last prices. If you want to chart the bid series or the ask series you may want to consider upgrading to NT7 where that is possible.
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        Josh,

                        You are absolutely correct. I "was" pushing last data to the application at one point but changed the volume from 0 to 1 for testing and that fails when calling last thus I was not getting that data. Once I fixed that I can now chart Thanks a ton guys.

                        Comment


                          #13
                          fxRichard,

                          Glad you got this working. Have a great day.
                          Josh P.NinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by argusthome, 03-08-2026, 10:06 AM
                          0 responses
                          116 views
                          0 likes
                          Last Post argusthome  
                          Started by NabilKhattabi, 03-06-2026, 11:18 AM
                          0 responses
                          61 views
                          0 likes
                          Last Post NabilKhattabi  
                          Started by Deep42, 03-06-2026, 12:28 AM
                          0 responses
                          40 views
                          0 likes
                          Last Post Deep42
                          by Deep42
                           
                          Started by TheRealMorford, 03-05-2026, 06:15 PM
                          0 responses
                          43 views
                          0 likes
                          Last Post TheRealMorford  
                          Started by Mindset, 02-28-2026, 06:16 AM
                          0 responses
                          82 views
                          0 likes
                          Last Post Mindset
                          by Mindset
                           
                          Working...
                          X