NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM 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 10-19-2009, 08:50 AM   #1
geotabs
Member
 
Join Date: Sep 2009
Posts: 76
Thanks: 2
Thanked 1 time in 1 post
Default Programming Language

I was wondering if someone can tell me what programming language i should learn for ninja C,C+,C++,Java or Virtual basics, I am new to any sort of programming and am trying to wrap my pea brain around all this . Also what site or books do you recommend( I am more visual so video tuts would work best). I have been on youtube but is very limited.

Thanks
geotabs is offline  
Reply With Quote
Old 10-19-2009, 08:57 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

geotabs,

NinjaTrader uses C#. Unfortunately I do not have any specific sites/videos/books, but I would recommend trying the Strategy Wizard and using the View Code button to get a feel for the syntax.
NinjaTrader_Josh is offline  
Reply With Quote
Old 10-19-2009, 09:21 AM   #3
geotabs
Member
 
Join Date: Sep 2009
Posts: 76
Thanks: 2
Thanked 1 time in 1 post
Default

What is the difference between C,C+,C++,Java, Virtual basics and C#? Thanks for the advice Josh, I have looked at the code but when I get to the more complicated custom indicators alot of what i look at does not make sense.
geotabs is offline  
Reply With Quote
Old 10-19-2009, 09:39 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

geotabs,

C# is just another language. Unfortunately going into the differences of each language is outside the scope of what I can cover here. You most likely can find many articles on google comparing differences, pros vs cons, etc. of different languages.
NinjaTrader_Josh is offline  
Reply With Quote
Old 10-19-2009, 10:26 AM   #5
Ralph
Senior Member
 
Join Date: Jul 2008
Posts: 527
Thanks: 0
Thanked 9 times in 6 posts
Default

Hi geotabs,

here are some hints. C is a basic programming language. I have never heared of a language called C+. C++ is a higher level object oriented language based on C, so C is completely contained in C++. In my opinion C# is a sub-set of C++ with the intension to make it less error-prone and easier to use. C++ is more comprehensive and faster in execution.

Regards
Ralph
Ralph is offline  
Reply With Quote
Old 10-19-2009, 12:59 PM   #6
MicroAl
Senior Member
 
Join Date: Jan 2008
Posts: 183
Thanks: 0
Thanked 1 time in 1 post
Default Learning the C# Language

Hi Geotabs

I would definitely look at the book Learning C# in 24 hours by Sams. I have a number of C# programming books but always seem to come back to this one!

For an excellent video series on C# look at the MSDN site

http://msdn.microsoft.com/en-us/beginner/bb308734.aspx

Absolute Beginners Series in Learning Visual C#

(Don't let the Visual C# title put you off)

You can download a free copy of Visual C# Express from the site as well.

The above videos are in Silverlight. They may also be found on the site
learnvisualstudio.net and are in wmv format and I think display better at full screen. There is also two other video series concerning learning C#
one concentrating on console programs which you may find more applicable to learning C# for ninja script programming. There is a one off charge for access to the videos for the learnvisualstudio.net site, but the videos can be permanetly downloaded and there are hundreds of other videos on programming that can be accessed as well.
MicroAl is offline  
Reply With Quote
Old 10-19-2009, 01:36 PM   #7
geotabs
Member
 
Join Date: Sep 2009
Posts: 76
Thanks: 2
Thanked 1 time in 1 post
Default

MicroAl thank you so much for your reply, I'm sure those recommendations will set me on a good start.

Cheers
geotabs is offline  
Reply With Quote
Old 10-19-2009, 05:06 PM   #8
yeltraba
Junior Member
 
Join Date: Mar 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default C# Class

For those looking for a more hands-on introductory class to C#, you may want to consider this online class:

http://www.ed2go.com/cgi-bin/oic3/ne...on%20to&path=1
yeltraba 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
C sharp language EduSP Automated Trading 3 10-07-2009 04:21 AM
What programming language? jstnbrg General Programming 2 02-03-2009 04:46 AM
Converting easy language chartlearner General Programming 11 09-23-2008 11:39 AM
Language Interface MAX Automated Trading 3 11-16-2006 08:27 AM
Easy Language Help amodies Automated Trading 0 10-17-2006 03:24 AM


All times are GMT -6. The time now is 07:53 PM.