![]() |
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
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2007
Location: Michigan, USA
Posts: 116
Thanks: 1
Thanked 0 times in 0 posts
|
I have a consistent failure when doing the following:
1. Start version 7 with an empty workspace 2. Connect to Interactive Brokers 3. Create new chart. Add "YM 12-09", then add "^TICK" (both 5 minute interval). YM is in panel 1, ^TICK is in panel2. 4. After chart is displayed add the indicator kpTickLines to the ^TICK data series. (indicator script is attached) 5. Change the chart interval from 5 minute to 1 minute. 6. Keep alternating the interval between 5 minute and 1 minute. Usually within the first five interval changes an error will be thrown. Sometimes it says kpTickLines cannot be serialized. Sometimes it just fails. (see attached trace file). |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Your script does not compile. LastBarOnChart is not a NinjaTrader property.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2007
Location: Michigan, USA
Posts: 116
Thanks: 1
Thanked 0 times in 0 posts
|
Sorry, that's in my UserDefinedMethods.
Code:
[Browsable(false)]
[XmlIgnore]
publicbool LastBarOnChart
{
get
{
if (!CalculateOnBarClose && CurrentBar == Bars.Count - 1)
returntrue;
elseif (CalculateOnBarClose && CurrentBar == Bars.Count - 2)
returntrue;
returnfalse;
}
}
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Please provide full context for your UserDefinedMethods. Or better yet, please provide a workable script without UserDefinedMethods, thank you.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Nov 2007
Location: Michigan, USA
Posts: 116
Thanks: 1
Thanked 0 times in 0 posts
|
Here you go.
|
|
|
|
|
|
#6 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Which series are you changing the time interval for in step 5? YM or TICK? How are you changing the interval too? Tool menu drop down? Data Series window? Typing 1M then 5M?
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Nov 2007
Location: Michigan, USA
Posts: 116
Thanks: 1
Thanked 0 times in 0 posts
|
Tool menu drop down
|
|
|
|
|
|
#8 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Are you selecting the secondary series each time before going to the Toolbar menu?
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Nov 2007
Location: Michigan, USA
Posts: 116
Thanks: 1
Thanked 0 times in 0 posts
|
No, neither of the data series are selected.
|
|
|
|
|
|
#10 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
I am unable to reproduce on latest sources, but a colleague was able to reproduce on NT7B2. This leads me to believe the issue may be already fixed. Please try again on the next version and let us know if it doesn't work. Thank you.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Nov 2007
Location: Michigan, USA
Posts: 116
Thanks: 1
Thanked 0 times in 0 posts
|
Will do. Thanks Josh.
|
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DrawDot and DrawText y coordinate not consistent | claxxical | General Programming | 4 | 08-17-2009 08:20 AM |
| Chart Bars non consistent | davewolfs | Charting | 12 | 08-05-2009 11:03 AM |
| window icon ordering on taskbar is not consistent | kh_model | Suggestions And Feedback | 3 | 11-18-2008 04:56 AM |
| Harddisk failure | T4M | Miscellaneous Support | 1 | 05-02-2007 06:11 AM |
| Power failure | T4M | Installation and Licensing | 3 | 04-17-2007 05:39 AM |