Jump to content

[Learn] Edu.me 101 Ninjascript/C#


mastertrader7

Recommended Posts

Keep in mind, that both of the above stuff are very easy (primary level) and don't provide comprehensive knowledge about programming in C# in NT. You should treat them as a kind of introduction...

 

 

https://ufile.io/70b25

(pw: as usually used here)

 

Thank you for the post and the reminding!!

Primary level is easy but it's essential to understand how NTScript and basic stuff (Testing Strategies) works.

Link to comment
Share on other sites

  • Replies 142
  • Created
  • Last Reply

Top Posters In This Topic

Here's the re-up you requested. This is an excellent book and can't be found free anywhere else. We at Indo have it because of the generosity of lululee. She is very well liked and like all of us she is also learning to be an effective trader. Lululee is very kind and often shares her material with true sincerity and unselfish goodness.Thank you lululee.:) Cashmanic has always talked very positive about you during our Skypes.This book is so rare that even Ninjatrader told their Support people to study and review it.The only book on learning Ninjascript. Study it well.

 

http://i65.tinypic.com/2w7n5f8.jpg

 

NinjaScript Programmer's Launch Pad.pdf

https://www.sendspace.com/file/bc9bge

 

Cheers,

 

 

 

 

I seen this title around many times steve. Thank you and lululee!

Will be a helpful book. :)

Link to comment
Share on other sites

To clear up a confusing point (that booklet above doesn't mention) about something like referencing Close[0]:

 

If you have OnBarUpdate() setup to be called on every tick of data, then, of course, you need to put an if statement in your code when you want to have logic which only does something when the first tick of a new price bar gets printed on your chart (e.g., if (FirstTickOfBar) {...} ).

 

Now, the code IN that "if (FirstTickOfBar) {...}" should look like this if you want to reference the most recent Open/High/Low/Close. That is, you really want to start checking what you think Close[0] is by referencing Close[1]. On the first tick of a new bar, OHLC are all the same price so that's useless information when you're interested in completed price bars inside that if statement.

 

Example:

 

if (FirstTickOfBar)

{

#region Local Variables

var open0 = (decimal) Instrument.MasterInstrument.Round2TickSize(Open[1]);

var open1 = (decimal) Instrument.MasterInstrument.Round2TickSize(Open[2]);

 

var high0 = (decimal) Instrument.MasterInstrument.Round2TickSize(High[1]);

var high1 = (decimal) Instrument.MasterInstrument.Round2TickSize(High[2]);

 

var low0 = (decimal) Instrument.MasterInstrument.Round2TickSize(Low[1]);

var low1 = (decimal) Instrument.MasterInstrument.Round2TickSize(Low[2]);

 

var close0 = (decimal) Instrument.MasterInstrument.Round2TickSize(Close[1]);

var close1 = (decimal) Instrument.MasterInstrument.Round2TickSize(Close[2]);

#endregion

 

// now insert your logic here where you reference Close[0] as close0, etc. You will be checking the last completed price bar but your

// mind won't get messed up in your programming by being 1 off index between your code inside and outside of the "if (FirstTickOfBar) {}" statement(s)

}

 

Notice also that I convert the prices to decimal values. If makes your code easier to read, especially when you're directly comparing two floating point values. In C#, you cannot directly compare 2 "float" or "double" values for equality, but if they're decimal values, you can. I understand that there's an NT function call to make the comparison for you but it will make your code more tedious to read when all your mind wants to see, for example, is "if (high0 == high1) {}".

 

I would also encourage you to put a lot of #region / #endregion sections in your code. As your code base expands for your indicator or strategy, you'll appreciate them more as you're trying to edit your code.

Edited by lbf4223
Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...
  • 3 weeks later...
  • 3 weeks later...
  • 3 weeks later...
  • 3 months later...
Here you go. A couple of download options for the same pdf.

 

Ninjascript Programmers Launchpad - Scott Daggett:

 

https://www.sendspace.com/file/nref6y

 

https://anonfiles.com/file/a974a78e6061bfd6613feada966fc73d

 

all links are dead

could someone please re-upload NinjaScript Programmer's pdf file, preferably on forexupload so it doesn't die so fast

thank you

Link to comment
Share on other sites

Kindly see the link below.

Thanks for giving me opportunity to share

 

https://www.sendspace.com/file/w9j37b

 

If sharing direct link is not legal, i've seen couple of links where author change a few alphabet like (.) to dot , or o to 0 , Kindly guide me , if i've done something wrong.

Edited by rohitsingh
Link to comment
Share on other sites

Kindly see the link below.

Thanks for giving me opportunity to share

 

https://www.sendspace.com/file/w9j37b

 

If sharing direct link is not legal, i've seen couple of links where author change a few alphabet like (.) to dot , or o to 0 , Kindly guide me , if i've done something wrong.

 

 

rohitsingh thank you so so much for that, much appreciated !!!

Link to comment
Share on other sites

hi all

https://www.sendspace.com/file/p60puo

above is very good trend trading system based upon Super trend but instead of using ATR it use Linear Regression channel

can anyone please educate this indicator.

 

only basic price action makes this a killer indicator

 

there you go, just place the .dll file in custom folder and it works just fine :)

 

https://www.forexupload.com/668

Link to comment
Share on other sites

simply love you & amazed with your response

thanks you very much

 

but nothing seen on chart, please check

 

thanx :)

though I have checked it and am seeing the indicator in action

not so crazy about it but ya, it works just fine

if you've installed the trial, exit ninjatrader and delete it manualy from custom folder and place the patched one overthere

it should work fine on all type of bars

checked it myself here

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...