Best way to start learning ninjatrader programming - NinjaTrader Programming | futures io social day trading
futures io futures trading


Best way to start learning ninjatrader programming
Updated: Views / Replies:20,616 / 17
Created: by ionos777 Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Best way to start learning ninjatrader programming

  #1 (permalink)
Just starting out...
maksd
 
Futures Experience: None
Platform: Ninjatrader
 
Posts: 1 since Mar 2010
Thanks: 0 given, 0 received

Best way to start learning ninjatrader programming

what's the best way to start learning ninjatrader programming?


Last edited by Big Mike; April 28th, 2010 at 06:29 PM. Reason: clarified title
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received

Answer
This post has been selected as an answer to the original posters question Answer


I am not a programmer , but I have written a lot of indicators for my own use. I learned by finding an indicator that did something similar to what I wanted to do and then made changes (hacked on) to the code. I didn't know how to write programs in "C" so I bought a book, Idiot's Guide to C. I would read the existing code then look the phrases up in the book to see what they did and the proper syntax. There are also online courses in writing programs in "C", however they generally are not geared toward teaching you to build indicators in Ninja Trader.

No it won't happen overnight. But if you start small and work diligently, you will eventually be able to write code at some level. This is a good place to get help. BUT please be considerate of the programmers time. It's easier to get help when they can see you are making a effort to learn and not asking for 50 additional changes you thought up after you told them what you wanted.

Just my 2 cents worth...

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
The following 7 users say Thank You to ThatManFromTexas for this post:
 
  #4 (permalink)
Trading for Fun
portland, OR
 
Futures Experience: Advanced
Platform: NinjaTrader, TradeStation
Broker/Data: Optimus/Rithmic
Favorite Futures: CL
 
Posts: 50 since Nov 2009
Thanks: 5 given, 18 received

Answer
This post has been selected as an answer to the original posters question Answer

I'm not sure if my reply will be of much help since I'm a professional programmer and have been for over 10 years, but for what it's worth here it goes :

A few months ago I decided to take the plunge and move from Tradestation to Mirus/NT. I had a strategy I had spent a long time developing and had automated it for "easylanguage" on TS. I was trading ER2 (russell 2k) and when the switch to ICE happened, TS completely dropped the ball and my fills went to hell. So I begrudgingly closed my TS account (left enough money to keep a data access open) and moved everything over to Mirus.

I traded by hand long enough to be satisfied that the fill problem was solved, and then embarked to "translate" my easylanguage strategy to NinjaScript. It took me about a month to read the manual, spending most of my time on the chapters devoted to writting indicators and strategies. Now when I say "a month", that's really like one or two hours a day tops. I was vacationing in Thailand and wasn't really going to spend all day in front of the computer.

However, as I mentioned, I was already a very experienced programmer. I knew Java, C++ and a couple of other languages, so learning C# (which is what NinjaScipt is based on) wasn't a big deal.

To be honest, I think that for someone who doesn't have any programming experience whatsoever, it could be a daunting task. Maybe 6 months or more of reading and goofing around two or more hours a day.

I would suggest taking a class at a community college on basic programming in a similar language like Java or C++, though if you can find a C# class that is what you should do.

After that, learn how NinjaScript builds on top of that, and find a forum or such place to ask questions. It's quite a hill to climb, but it's not impossible.

-Pepe

Reply With Quote
The following user says Thank You to pepelucho for this post:
 
  #5 (permalink)
Membership Revoked
Szczecin
 
Futures Experience: Intermediate
Platform: Ninja, writing own now
 
Posts: 212 since Mar 2010
Thanks: 47 given, 102 received

I agree. Regardless what one programs, it is programming to start with. Not bashing ninja here - they do a hell of a good job to be a C# environment, even if they insist on calling their not even existing langauge NInjaScript - it really IS C#.

But programming is programming. Indicators are simple, strategies are simple compared to some of the stuff I have done. But you need a decent basic level in general programming. Maybe on of the "for dummies" books, or a 21 days book. Or, as pepelucho adviced, some communicty college stuff.

Reply With Quote
 
  #6 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

Answer
This post has been selected as an answer to the original posters question Answer

i began with coding NT scripts 2 years ago - did really nothing at all before that with programming.

i started with modifying / tweaking existing indicator codes because that was something that worked yet + i was able to change thing in small steps ... that was my start : to add an alert or a backcolor-condition ... such small things.

then i was always looking into every code from forums where people posted scripts, i copied + pasted the functions and so on ..

the first steps have been hard but then i really had fun.

another idea is to use the NT-wizard to see how conditions are builded - then open the code/paste + copy + modify it like i needed it.

also i hire a programmer from time to time to realize some special ideas - they code the indicator for me + i am able to learn a lot from looking inside it + see how they coded this thing. this was also very helpful and its worth every $$ !

for shure i wouldnt say i can "programm" now, but i am able do most things i like to do / i need with Ninja-scripts.

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
  #7 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

An Learing Approach to Code NT Indicators and Strategies

Answer
This post has been selected as an answer to the original posters question Answer

Started a couple of years ago with little experience....

(1) Buy yourself a course in C# and work through it. Mine was not a thick book, but about 300 pages with 16 chapters. I then installed Microsoft Visual C# Express Edition and SharpDevelop (both are free) to code the simple examples that came as exercises with the book.

(2) Get your self a print-out of the NT Help File.

(3) Have a look at all simple indicators that come with NinjaTrader. Then try modifying them, start with smaller changes.

(4) Just do it.


ionos777 View Post
what's the best way to start learning ninjatrader programming?


Reply With Quote
The following 11 users say Thank You to Fat Tails for this post:
 
  #8 (permalink)
The One and Only
Noblesville, IN
 
Futures Experience: Advanced
Platform: TOS, MT4,Multicharts
Broker/Data: CQG, Thinkorswim, Oanda
Favorite Futures: ES, currency futures,GC
 
masterchanger's Avatar
 
Posts: 12 since Aug 2011
Thanks: 26 given, 11 received


ionos777 View Post
what's the best way to start learning ninjatrader programming?

I'm in the process of learning to program in C#, I'm taking an online course at learnvisualstudio.net. I'm on Day 4 of a 10 day course which I'm doing pretty much 8 hours a day. I need an understanding of the thought process involved in programming.

If I could have figured that out well enough then Easylanguage would have have been sufficient. I have modified and done some simple strategies in EL, and have some manuals but really lacked the foundation to "think like a programmer" to do what I wanted to do.

I decided on C# since its a language used by other platforms such as NT , OEC trader, Strategy runner etc, but hope to accomplish what I want in EL and If not then use C#.

Hopefully, this investment in learning a programming language will help in testing trading concepts.

Now is the Time!
Reply With Quote
 
  #9 (permalink)
Elite Member
Portland, OR
 
Futures Experience: None
Platform: tos
Favorite Futures: NQ, SB, 6J, CL, GC
 
Massive l's Avatar
 
Posts: 1,458 since Mar 2011
Thanks: 922 given, 1,822 received


ThatManFromTexas View Post
I am not a programmer , but I have written a lot of indicators for my own use. I learned by finding an indicator that did something similar to what I wanted to do and then made changes (hacked on) to the code. I didn't know how to write programs in "C" so I bought a book, Idiot's Guide to C. I would read the existing code then look the phrases up in the book to see what they did and the proper syntax.

That's exactly how I started. It's a great method IMO.

It's similar to a child learning to speak. They first mimic what their parents say until
they learn enough to form sentences with their own ideas and thoughts.

If it becomes a serious passion, you will have no choice but to dig deeper through
self study and your own explorations.

Reply With Quote
The following user says Thank You to Massive l for this post:
 
  #10 (permalink)
Elite Member
Neubrandenburg, Germany
 
Futures Experience: Advanced
Platform: R
Favorite Futures: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 297 given, 480 received


this is the truth about programming .... there is a difference between coding an indicator or adapt some strategies. This is coding for fun, not programming but it will come.

you must not learn 10 languages​​, you must understand only one language properly. then you can apply it to all other languages​​.

understand object orientation and practice procedural.

if (good approach)
then( migrate strategies and indicators from mt4 to c #);

Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
The following user says Thank You to wh for this post:

Reply



futures io > > > > > Best way to start learning ninjatrader programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning how to play guitar...reminds me of learning how to trade shodson Beginners and Introductions 10 September 16th, 2013 06:22 PM
Ninja script - learning code + programming alias NinjaTrader Programming 20 May 11th, 2011 06:01 AM
Learning Chart Control Programming zeller4 NinjaTrader Programming 7 May 8th, 2011 03:09 AM
Jump start programming Tiger45 NinjaTrader Programming 5 November 5th, 2010 10:15 PM
Start programming / coding iwannatoscript NinjaTrader Programming 13 September 15th, 2009 12:42 PM


All times are GMT -4. The time now is 01:06 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-18 in 0.14 seconds with 37 queries on phoenix via your IP 54.196.201.241