NinjaTrader Support Forum  

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

General Programming General NinjaScript programming questions.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-05-2009, 02:16 PM   #1
MicroAl
Senior Member
 
Join Date: Jan 2008
Posts: 183
Thanks: 0
Thanked 1 time in 1 post
Smile Ninjascript programming

I refer to the example samplestream writer that has been provided.

If I was to create another indicator based on the above indicator by copying the region variables and the onbar update method, would compiling add the required lines as shown beneath the namespace NinjaTrader.Indicator section and namespace NinjaTrader.MarketAnalyser section?

I ask this because I am learning C# in relation to Ninjascript and especially StreamWriter. I can basically understand what to put in the onbar update
method if I code something myself, but looking at the sample streamwriter example, clearly more programming has been added under the above mentioned sections. Is this always added automatically by the Ninja compilier?
MicroAl is offline  
Reply With Quote
 

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
Programming help kipper General Programming 3 12-14-2008 12:12 AM
Starting Out Programming kipper General Programming 4 11-01-2008 02:48 PM
Programming Error octrout Strategy Development 1 10-22-2008 11:55 AM
Programming references bobajob78 General Programming 1 02-11-2008 03:32 PM
How do I resolve NinjaScript Programming Errors? NinjaTrader_Ray Tips 0 12-24-2007 08:46 AM


All times are GMT -6. The time now is 06:55 PM.