NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 11-03-2009, 09:54 AM   #1
higler
Senior Member
 
Join Date: Apr 2007
Location: Longmont, Colorado, USA
Posts: 294
Thanks: 4
Thanked 3 times in 3 posts
Default NinjaScript Documentation

I take a pretty close look at some of the example code posted by the many helpful people on this forum in an effort to improve my coding knowledge with NT. It is not unusual for me to come accross class properties, methods, etc. for which I can find no documentation. For example, in Josh's very helpful VWAP indicator, Bars.MarketDataSubscribed is used. I can find no documentation that describes Bars.MarketDataSubscribed. There also seems to be a dearth of documentation describing Bars objects although there are many referrals to Bars objects. This is just an example. Are there many potentially helpful "undocumented" NT properties, methods, etc that we are not privy to or am I just not finding the info in the NT help? I have tried thoroughly going through the documentation, used the search capabilities, and have been unable to find reference to some of these items. Am I missing something? Is there additional documentation that I am not aware of? I can often surmise what I think is going on by the code usage but it would surely help save me a lot of time if I could find documentation. Thanks.

I am not asking specifically for more info on Bars.MarketDataSubscribed which I am using as an example, but the more global question on whether there are a lot of potentially helpful undocumented programming features of NT.
Last edited by higler; 11-03-2009 at 10:01 AM.
higler is offline  
Reply With Quote
Old 11-03-2009, 10:12 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 973 times in 956 posts
Default

highler, thanks for the post - generally was is documented in our NinjaScript language reference or the educational section on the forums here ( http://www.ninjatrader-support2.com/...splay.php?f=29 ) is supported - the other methods can be accessed but then you're moving onto unsupported (potentially code breaking in later releases) territory.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-03-2009, 12:02 PM   #3
eDanny
Senior Member
 
eDanny's Avatar
 
Join Date: Jul 2008
Location: East Rochester, NY
Posts: 899
Thanks: 0
Thanked 19 times in 17 posts
Default

I agree completely with higler on this. There really should be a section set up for this purpose as well as the section that was never set up concerning conversion references from other platforms. As far as code breaking, there is enough of that even with supported code. Bad argument.
eDanny is offline  
Reply With Quote
Old 11-03-2009, 12:14 PM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Guys, let me try to outline the limitations of what we support:
As Ray stated here (post #4)
http://www.ninjatrader-support2.com/...ad.php?t=22097
.. we have a very clear understanding of what would and what would not be supported in NT. Supported basically would mean it's documented, in case something is not documented then we would not support it (exceptions prove the rule).

We very well understand that NT would have way more useful features than you would find in the documentation. However, for the reasons outlined by Ray's post above we very strictly limit ourselves to "documented NinjaScript".
NinjaTrader_Dierk is offline  
Reply With Quote
Old 11-03-2009, 12:31 PM   #5
eDanny
Senior Member
 
eDanny's Avatar
 
Join Date: Jul 2008
Location: East Rochester, NY
Posts: 899
Thanks: 0
Thanked 19 times in 17 posts
Default

This doesn't address the lack of a section devoted to unsupported code.
eDanny is offline  
Reply With Quote
Old 11-03-2009, 12:34 PM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

How so? as explained below "unsupported" is equivalent to "not documented": we either support a feature, then we would document it or we would not support it, then we would not document.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 11-03-2009, 12:43 PM   #7
eDanny
Senior Member
 
eDanny's Avatar
 
Join Date: Jul 2008
Location: East Rochester, NY
Posts: 899
Thanks: 0
Thanked 19 times in 17 posts
Default

I'm meaning a section where users could support each other and where users could look for help with undocumented features/code.
eDanny is offline  
Reply With Quote
Old 11-03-2009, 12:47 PM   #8
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

You mean here on the forum? That's something we'll consider.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 11-03-2009, 01:11 PM   #9
eDanny
Senior Member
 
eDanny's Avatar
 
Join Date: Jul 2008
Location: East Rochester, NY
Posts: 899
Thanks: 0
Thanked 19 times in 17 posts
Default

That's exactly what I mean, thanks. We also have asked for a section for cross platform code conversions in the past. Please consider that also.
eDanny is offline  
Reply With Quote
Old 11-03-2009, 01:23 PM   #10
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Thanks. Noted down as well.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 11-09-2009, 01:16 AM   #11
r2kTrader
Senior Member
 
Join Date: Sep 2008
Posts: 483
Thanks: 0
Thanked 2 times in 2 posts
Default

eDanny,

After repeatedly asking for same, I gave up and just took matters into my own hands. I am a beginner programmer, but I'm getting along.

Here is the thread:
http://www.ninjatrader-support2.com/...ad.php?t=22435

Please come and join us. I want to get a voice together regarding this very matter.

Thanks!

(Ray?)

Quote:
Originally Posted by eDanny View Post
I'm meaning a section where users could support each other and where users could look for help with undocumented features/code.
r2kTrader is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NinjaScript LowestBar & HighestBar Documentation KBJ General Programming 3 06-11-2012 03:02 PM
Keltner Channel: Documentation needs to be updated mgbloomfield Indicator Development 5 12-18-2010 02:08 PM
Documentation Error r2kTrader Version 7 Beta General Questions & Bug Reports 1 11-02-2009 07:48 AM
C# Documentation Links Anagoge General Programming 1 10-06-2008 10:36 PM
Documentation Typo CashCache Historical NinjaTrader 6.5 Beta Threads 1 01-12-2008 02:12 AM


All times are GMT -6. The time now is 02:25 PM.