NinjaTrader Support Forum  

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

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 01-09-2010, 03:11 PM   #1
Rhyshaelkan
Junior Member
 
Join Date: May 2009
Posts: 16
Thanks: 0
Thanked 0 times in 0 posts
Default OnBarUpdate()

So I am trying to script out my strategy. But I think I have too many "if" statements under OnBarUpdate(). Will the script get confused? I think is it well laid out.

Can I use multiple instances of OnBarUpdate() and keep them each their self-contained code? Or would the script get confused?



Nevermind. I found a few samples of OnBarUpdate()
Last edited by Rhyshaelkan; 01-09-2010 at 03:22 PM.
Rhyshaelkan 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
Outside of OnBarUpdate? Space123 General Programming 1 11-19-2009 08:50 AM
Twice through OnBarUpdate()? cybertunerone Strategy Development 4 02-08-2009 01:52 AM
OnMarketData vs OnBarUpdate rt-trader General Programming 2 01-18-2009 03:07 PM
OnMarketData() vs. OnBarUpdate() Tight Face General Programming 6 09-10-2008 02:20 PM
OnBarUpdate SystemTrading Miscellaneous Support 3 08-20-2008 10:38 AM


All times are GMT -6. The time now is 04:30 AM.