NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 11-17-2009, 03:02 AM   #1
Santi
Junior Member
 
Join Date: Jun 2008
Location: Galicia
Posts: 23
Thanks: 0
Thanked 0 times in 0 posts
Default Check if last bar is really the last

I would like to cross the whole chart, save some values in an array and when it reaches the final, do some operations... How can I check if I´m in the real last bar of the chart -OnBarUpdate-, (so the array is filled and I can start doing that operations)?

Thanks a lot, and sorry about my english... ;-)
Santi is offline  
Reply With Quote
Old 11-17-2009, 04:01 AM   #2
Santi
Junior Member
 
Join Date: Jun 2008
Location: Galicia
Posts: 23
Thanks: 0
Thanked 0 times in 0 posts
Default

I see here:

http://www.ninjatrader-support2.com/...ad.php?t=22703

It seems no possible... ;-(
Santi is offline  
Reply With Quote
Old 11-17-2009, 04:35 AM   #3
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
Default

Santi, I believe you could work with CurrentBar and Count for this task - http://www.ninjatrader-support.com/H...eV6/Count.html
NinjaTrader_Bertrand 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
Easiest way to check for last tick on a tick bar? higler General Programming 8 02-28-2009 02:01 PM
Strategy Builder question to check #ticks up or down for given bar kjohnson67 General Programming 1 01-27-2009 07:19 AM
BoolSeries Check TAJTrades General Programming 2 12-17-2008 12:12 PM
How to check properly ? max-td Indicator Development 2 11-20-2008 01:39 PM
How can I check if the current bar being processed is today? NinjaTrader_Ray General Programming 0 01-18-2007 03:19 AM


All times are GMT -6. The time now is 03:45 PM.