![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Suggestions And Feedback New feature suggestions and feedback. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2011
Posts: 7
Thanks: 2
Thanked 0 times in 0 posts
|
Hello, users and administrators of the forum.
Ninja trader is a wonderful software for customized charts and C# programming. But I find some bugs(if it’s) in the usage. They bothered and confused me a lot and I have to ask for clarification. 1. The time of latest bar is one bar later than it should be. The data feed I use is kinetick end of day data. (To announce ahead. I’m a Chinese user, my time zone is GMT +8. My OS is windows 7 64bit without sp1. I used the 32bit of ninjatrader, version 7.0.1000.4, not 64bit, because 64bit can’t launch) I use the GC chart for example. The date of today is 2011/06/24. But look at the Monthly chart(figure 1). Why the latest bar shows the time of July(07), it should be June. Then the weekly bar(figure 2). the time is 06/25/2011, it’s tomorrow’s time, and tomorrow is Saturday.And you can guess that all the bar times are Saturdays. Then the daily chart(figure 3). Since I used the end of day data, the last bar was for yestoday(06/23),not 06/24. I’m not sure whether this problem is caused by the time zone difference. I made a test. I made a historical data file named “AAAA” and import it to historical data manager. We can clearly see that the time is from 2010/7/29 to 2011/5/18.(figure 4). But look what happened when I opened a chart of “AAAA”. The earliest bar turned to 7/30/2010, the latest turned to 5/19/2011. Both late for a day..(figure 5). |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2011
Posts: 7
Thanks: 2
Thanked 0 times in 0 posts
|
2 more figures, first post attachments full.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2011
Posts: 7
Thanks: 2
Thanked 0 times in 0 posts
|
figure 1, the left of chart, about 20 bars have no indicator plots(SMA(5) and VOL indicator), the values of which surely exist. I can see the values in data box tool.
The latest bar’s indicator have no plot or values.(figure 2). I drew a gan fan. Is it the right gan fan? I don’t think so.(figure 3). |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
|
Hello SimonUP,
Please note that NinjaTrader time stamps its price bar at the closing time. The Kinetick EOD connection provides historical daily data only and no real-time data. You should receive the daily 6/24 bar at the end of todays trading. The Weekly bar reflects 6/24/2011 on my end and the Monthly chart reflects June. Can you please try the following. Close NinjaTrader and go to (My) Documents-->NinjaTrader 7-->db and transfer the day folder to a different location. Delete the content of the cache folder in the NinjaTrader 7-->db folder as well. Change your PC clock to US EDT time zone. Start NinjaTrader and create new charts and check if the Weekly and Monthly charts time stamp the last bar as expected. Perhaps it is best to create a seperate forum thread for each issue in the future. 1. Unfortunately this is as expected. Each indicator will not plot for the first 20 bars in the chart. 2. Please set 'Calculate on bar close' to False for the indicators in the Indicator menu. It should now plot an indicator value for the most current price bar. The indicator is calculated on each incoming tick instead of the close of a price bar. 3. Yes, the screenshot displays a Gann Fan drawing object. If you double click the Gann Fan, it will open its Properties menu so you can configure it to your liking.
Jason
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Jason for this post: |
|
|
|
#5 |
|
Junior Member
Join Date: May 2011
Posts: 7
Thanks: 2
Thanked 0 times in 0 posts
|
Thank you, Jason. I did what you said, change my time zone to EST(same as EDT?). Daily, Weekly, Monthly chart became all right. The data "AAAA", which I made was still wrong, so I looked at its session template. It was default 7/24. I changed it to US equity RTH. It went right also.
Thank you a lot. Wish everything goes well in your work. Still a doubt, why NinjaTrader timestamps price bar at the closing time, not the start time? Can it be set? About the indicator problems, I shoud put it in another thread. Luckily you solved my question. But the gan fan drawing tool, I didn't describe clearly last time. Its slope, why the 1×8 line is less than 45 degree? All the lines shrink together. |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
|
Yes, EDT stands for US Eastern time zone and is used during daylight saving time (spring - autumn). EST is used during standard time (winter).
Unfortunately, you cannot configure NinjaTrader to timestamp bars at the start time. You can configure the Gann Fan to your liking using its Properties menu. I am not sure why you expect the 1x8 line to have a slope of 45 degree. Could you please clarify?
Jason
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Jason for this post: |
|
|
|
#7 |
|
Junior Member
Join Date: May 2011
Posts: 7
Thanks: 2
Thanked 0 times in 0 posts
|
Thanks for your answers, which are elaborate.
I thought the 1×1 line's slope should be 45°, maybe I wasn't right. I'm not familiar with gan fan. Sorry for bothering. |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: May 2011
Posts: 7
Thanks: 2
Thanked 0 times in 0 posts
|
Hello, Jason. I thought of an issue.
I set my PC clock to EST, which is different from my local time. It caused a little inconvience. Could ninja trader make an option to customize the time to use other than use the user's PC time in the future version?
Last edited by SimonUP; 06-29-2011 at 07:43 PM.
|
|
|
|
|
|
#9 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
|
I will forward your suggeston to support an option to select a time zone which will be used in NinjaTrader other than the PC clock to development. Thank you for your feedback.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
|
The suggestion to select a time zone to your liking other than the PC clock time zone has been assigned to ID# 41.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: May 2011
Posts: 7
Thanks: 2
Thanked 0 times in 0 posts
|
Thanks.
What's that ID mean? |
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,232
Thanks: 83
Thanked 334 times in 326 posts
|
ID stands for identification, meaning your suggestion has been assigned to identification number 41.
Jason
NinjaTrader Customer Service |
|
|
|
![]() |
| Tags |
| bar, bug, error, time |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Testing multiple contracts w/ diff. open times simultaneously - 15min bar start times | ChiTrader2000 | Strategy Development | 12 | 06-08-2009 08:34 AM |
| Session times/bar calc | nicko9 | Market Analyzer | 5 | 05-25-2009 12:55 AM |
| Session Times in Range Bar Chart | pcrage | Charting | 5 | 02-12-2009 03:19 AM |
| Volume Bar Times | Richard Von | Indicator Development | 5 | 09-04-2007 11:24 AM |
| two symbols have different bar times | Folls | Strategy Development | 4 | 05-17-2007 06:42 AM |