![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2008
Location: Galicia
Posts: 23
Thanks: 0
Thanked 0 times in 0 posts
|
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... ;-) |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jun 2008
Location: Galicia
Posts: 23
Thanks: 0
Thanked 0 times in 0 posts
|
|
|
|
|
|
|
#3 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,569
Thanks: 262
Thanked 1,018 times in 999 posts
|
Santi, I believe you could work with CurrentBar and Count for this task - http://www.ninjatrader-support.com/H...eV6/Count.html
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |