NexusFi: Find Your Edge


Home Menu

 





Ninjascript How TO


Discussion in NinjaTrader

Updated
    1. trending_up 9,965 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Ninjascript How TO

  #1 (permalink)
 
spinnybobo's Avatar
 spinnybobo 
Crete, IL/USA
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Trading: ES, CL, EUR/USD, TF
Posts: 173 since Aug 2009
Thanks Given: 105
Thanks Received: 61

Hi Programmers,

First let me say that the only experience I have in any type of programming is I used to program a Ti-89 calculator back in colledge algebra---and I think that is visual basic.

I am not taking a C++ class first semester and wanted to learn Ninjascript which is C# language. we went through functions, classes, do loops, for loops and while loops as well as a bunch of other things.

I recently went over code from some of the ninjascripts on here and see how they repeat themselves. Is there any step by step tutorial writing a basic indicator line by line?

What is the best way to go about learning Ninjascript? I got some C# tutorials from VTC.com ----although I already tried their C++ tutorial and have to say I am not impressed. I can get better how to tutorials from you tube on C++.

I know that the most important thing in programming is probably the "learn by doing" thing rather than reading tons of textbook type stuff. right now, I dont really know where to start.

Is there anything wether video or textbook tutorial for Ninjascript? When you guys write ninjascript, do you start in microsoft environment or ninjatrader?

basically, I want to be able to say when this indicator does this and this other indicator does that and price is within x amount of ticks from this line, print out a long arrow or short arrow.

For right now, I really need to some training wheels in terms of arrows to help me recognize my own setups in real time because focus is very important.
I also want to add a .wav file for an alert.

maybe somebody has some ninjascript with some arrows as an example

thanks
Spencer

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Deepmoney LLM
Elite Quantitative GenAI/LLM
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Better Renko Gaps
The Elite Circle
Are there any eval firms that allow you to sink to your …
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
 
Saroj's Avatar
 Saroj 
Arcata, CA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: index futures, oil
Posts: 485 since Jun 2009
Thanks Given: 232
Thanks Received: 415

spinny, check the "sticky" posts at the top of this forum... especially "Coding Tips and Tricks" and "Useful Links".

Although you will encounter some errors in the text, there are 4 or 5 tutorials in the NinjaTrader User Manual that will get you started.

Reply With Quote
  #3 (permalink)
 
spinnybobo's Avatar
 spinnybobo 
Crete, IL/USA
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Trading: ES, CL, EUR/USD, TF
Posts: 173 since Aug 2009
Thanks Given: 105
Thanks Received: 61


thanks Saroj. I will look into this.

Follow me on Twitter Started this thread Reply With Quote




Last Updated on October 29, 2009


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts