Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Issues with Daily Chart

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

    Issues with Daily Chart

    Data Feed: Interactive Brokers
    Instrument: All Forex Pairs
    Local Timezone: Australian Eastern Standard Time (Sydney)

    My forex daily charts do not display the correct bars. I added a new session named 'ForexAus' with the following times

    Mon 7am Tue 7am
    Tue 7am Wed 7am
    ..
    ..
    Fri 7am Sat 7am

    The data series in the chart is set to use this session. So a new daily bar should be created at 7am local time every day during the week. But that never works. The daily bar is always showing incorrect data.
    Attached Files

    #2
    Hello traderji,

    Thank you for your note.

    In NinjaTrader IB daily bars are build off of the Regular Trading Hours (RTH).
    • Open a 1440 minute based chart (1440 minutes in a day) and use the your custom Session Template.
    CameronNinjaTrader Customer Service

    Comment


      #3
      In terms of a workaround this is a pretty bad option

      - Pulling 365 days of minute data from IB does not work.
      - That much minute data is going to use a lot of CPU cycles and memory compared just high,low,open,close for each day


      Is this going to be fixed in a new version?

      Comment


        #4
        traderji,

        1) That is IB's data limitation. You can also try this with the Kinetick End of Day daily feed.
        The Kinetick steps are as follows:
        • From the Control Center -> File -> Disconnect -> your IB connection
        • File -> Connect -> Kinetick End of Day
        • File -> Connect -> Your IB connection
        This will now make Kinetick be set to retrieve the data before IB.

        Set the Daily chart to your custom Session Template.

        2) Regarding memory and CPU, I tested this on my end, the results where the 365 1440 Minute charts took the same amount of RAM and CPU usage as the Daily charts once downloaded.

        CameronNinjaTrader Customer Service

        Comment


          #5
          Tried 365 days, 350 days, 300 days & 250 days for 1440 minute data. In each case IB rejected with a "Historical data pacing violation" and refused any further historical data requests for next few minutes.

          This won't work. Please suggest some other option.

          Comment


            #6
            Originally posted by NinjaTrader_Cameron View Post
            traderji,

            1) That is IB's data limitation. You can also try this with the Kinetick End of Day daily feed.
            The Kinetick steps are as follows:
            • From the Control Center -> File -> Disconnect -> your IB connection
            • File -> Connect -> Kinetick End of Day
            • File -> Connect -> Your IB connection
            This will now make Kinetick be set to retrieve the data before IB.

            Set the Daily chart to your custom Session Template.

            2) Regarding memory and CPU, I tested this on my end, the results where the 365 1440 Minute charts took the same amount of RAM and CPU usage as the Daily charts once downloaded.


            I'll try this. What happens with my other charts (commodities & ASX stocks which update in realtime) and 5, 15, 30, 60 min forex charts, if I connect to Kinetick first?

            Comment


              #7
              traderji,

              Since the Kinetick End of Day data feed only provides Daily data, your other charts will request data from your IB connection.
              CameronNinjaTrader Customer Service

              Comment


                #8
                Originally posted by traderji View Post
                I'll try this. What happens with my other charts (commodities & ASX stocks which update in realtime) and 5, 15, 30, 60 min forex charts, if I connect to Kinetick first?

                Ok connected to Kinetick EOD. 'Reload all historical data' on Daily chart EURUSD. The data was showing incorrect. In fact it looked even worse than the IB version.


                Cameron - I'll post some screenshots of the IB chart and Kinetick chart.

                Comment


                  #9
                  Originally posted by traderji View Post
                  Ok connected to Kinetick EOD. 'Reload all historical data' on Daily chart EURUSD. The data was showing incorrect. In fact it looked even worse than the IB version.


                  Cameron - I'll post some screenshots of the IB chart and Kinetick chart.

                  This is the IB chart below. The last bar is incorrect. The date is showing "14/07/2011 07:00" , it should be "13/07/2011 07:00". It's only the 13th here today. The low in that bar is incorrect. That low was touched yesterday, so it should be in the bar for 12/07/2011

                  I think NT is just messing up parsing the session times.
                  Attached Files

                  Comment


                    #10
                    Here is the daily chart when connected to Kinetick. Very different to the IB chart.
                    Attached Files

                    Comment


                      #11
                      traderji,

                      What version # of NinjaTrader are you using? You can check under Help -> About
                      • 7.0.1000.x
                      CameronNinjaTrader Customer Service

                      Comment


                        #12
                        I am using

                        NT 64bit 7.0.1000.6

                        Comment


                          #13
                          Hi traderji,

                          Which session template are you using in the daily charts? This information will be found in the Data Series menu which you can access via the right-click menu in any existing chart.
                          KyleNinjaTrader Customer Service

                          Comment


                            #14
                            Originally posted by NinjaTrader_Kyle View Post
                            Hi traderji,

                            Which session template are you using in the daily charts? This information will be found in the Data Series menu which you can access via the right-click menu in any existing chart.

                            I added a new session named 'ForexAusNew' with the following times

                            Mon 7am Tue 7am
                            Tue 7am Wed 7am
                            ..
                            ..
                            Fri 7am Sat 7am

                            My local timezone is Australian Eastern standard time.


                            EDIT : I also tried the following other sessions with the same result - Default 24/5, Default 24/7, Forex
                            Last edited by traderji; 07-13-2011, 07:52 AM.

                            Comment


                              #15
                              Hi traderji,

                              Thanks for clarifying.

                              One important thing to keep in mind here is that NinjaTrader displays the close date and time of a bar. That being the case, you'll just need to adjust the timezone that the template is based on here. The chart is currently reporting that these daily bars close at 7:00 AM the next day, so the next date is reflected on the bar.

                              If you'll move the timezone back towards GMT, you should eventually be left with a close on the current day. For example, if the timezone is adjusted to GMT you should be left with a bar which is reported to close at 9:00 PM, which would result in the date for the bar being listed as the current day.
                              KyleNinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by junkone, Today, 11:37 AM
                              2 responses
                              12 views
                              0 likes
                              Last Post junkone
                              by junkone
                               
                              Started by frankthearm, Yesterday, 09:08 AM
                              12 responses
                              43 views
                              0 likes
                              Last Post NinjaTrader_Clayton  
                              Started by quantismo, 04-17-2024, 05:13 PM
                              5 responses
                              35 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by proptrade13, Today, 11:06 AM
                              1 response
                              7 views
                              0 likes
                              Last Post NinjaTrader_Clayton  
                              Started by love2code2trade, 04-17-2024, 01:45 PM
                              4 responses
                              35 views
                              0 likes
                              Last Post love2code2trade  
                              Working...
                              X