![]() |
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Member
Join Date: Jun 2009
Posts: 92
Thanks: 1
Thanked 0 times in 0 posts
|
I followed the required steps for upgrading. Now all my custom indicators are gone and I can't try importing them again because there are ninja script errors (which weren't there before upgrading). Is this related to new ninja script methods in b21? Is there an easy fix?
Mpe |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,573
Thanks: 262
Thanked 1,018 times in 999 posts
|
Mpe, can you please first of all ensure you can compile all script as presently installed right now?
NinjaScript method wise those changes below were introduced with B21 release - Code:
4054 NinjaScript indicators @PriorDayOHLC/@CurrentDayOHL uses new NinjaScript method 'GetTradingDayFromLocal()' instead of 'GetSessionDate()' which is not public anymore. 4055 NinjaScript GetSessionBar() was not working as expected on some session templates and is now deprecated. Please use new GetDayBar() method instead.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Member
Join Date: Jun 2009
Posts: 92
Thanks: 1
Thanked 0 times in 0 posts
|
Quote:
Mpe |
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,573
Thanks: 262
Thanked 1,018 times in 999 posts
|
Mpe, ok good to hear - are you setting the ScaleJustification from any of those indicator programmatically? Any way I could give those are run here on my B21 to check into?
Thanks
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Jun 2009
Posts: 92
Thanks: 1
Thanked 0 times in 0 posts
|
Ok I've attached the scripts. You need to use cvax version of VWAP for it to work. I noticed another problem too. When I try saving my workspace I get a message that nt needs to shut down, email support etc. This doesn't happen when saving a workspace that doesn't contain any of my custom indicators.
|
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,573
Thanks: 262
Thanked 1,018 times in 999 posts
|
Thanks - will test them and get back to you.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Member
Join Date: Jan 2009
Posts: 67
Thanks: 7
Thanked 2 times in 2 posts
|
When I installed V21 I had problems with the 2 files that are mentioned here
@CurrentDayOHLC and @PriorDayOHLC I deleted them and all my other scripts compiled fine and all is well now I then used the old version of these 2 from the back up I had made just before the update. They also compiled fine I didnt try to use them Is this the best solution or is there a better one??????????? Thanks |
|
|
|
|
|
#8 |
|
Member
Join Date: Aug 2010
Posts: 30
Thanks: 0
Thanked 0 times in 0 posts
|
I have this exact problem with my custom indicator. It worked on b20. now it overlays on top of the price chart and hides everything. Needless to say, I was not able to find any workaround and ended up removing my custom indicator.
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Jan 2008
Posts: 19
Thanks: 0
Thanked 0 times in 0 posts
|
I found the problem in my case to be "Imarketprofile version 6.5 and 7" custom indicator. I deleted that and everything else is working.
|
|
|
|
|
|
#10 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,573
Thanks: 262
Thanked 1,018 times in 999 posts
|
Guys, thanks all for reporting in : unfortunately we identified a bug in this area which will be fixed with B22 - please retest your scenrios then.
Thanks for the support in this process
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Oct 2009
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
|
Support,
Has this problem been fixed in Beta 22? I understand Beta 21 has some code breaking changes in it which impacts custom indicators,so still using beta 20. Any simpler way to upgrade to beta 22 or 23 when released,so that previous indicators work? Can you please outline steps needed to prevent problems. Should the @PriorDayOHLC/@CurrentDayOHL indicators be deleted? And should every place where "'GetSessionDate" has to be replaced by GetTradingDayFromLocal ? Any other methods related to session that have to be replaced from beta 21 onwards? Thanks mmtrader |
|
|
|
|
|
#12 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
mmtrader,
System indicators are always handled by the installer so you don't have to worry about messing with @PriorDayOHLC or @CurrentDayOHL. Custom indicators though, there is no way around it but those will simply need to be modified by either you or the original author. There current versions simply may not work until they have been modified to accomodate the necessary changes that were made.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#13 |
|
Senior Member
Join Date: Oct 2009
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks Josh for clarifying. Is there any possibility that beta 22 be the production release? or there could be a beta 23 in next few weeks?
Thanks mmtrader |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| B21: GetSessionDateFromLocal | zweistein | Version 7 Beta General Questions & Bug Reports | 1 | 09-10-2010 02:25 AM |
| Lost indicators on upgrade | Bogan7 | Indicator Development | 6 | 07-05-2010 10:17 AM |
| Indicators are lost in today's 6.5 upgrade | Flash | Installation and Licensing | 10 | 07-05-2010 12:54 AM |
| Custom Indicators calling other Custom Indicators | DancesWithBears | Indicator Development | 6 | 08-21-2009 12:19 PM |
| Upgrade to newest version--now errors on indicators | pkchilly | NinjaScript File Sharing Discussion | 2 | 05-15-2008 11:34 AM |