Time[] returns the DateTime of the bar, but not the last tick inside it.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Last tick timestamp
Collapse
X
-
curious,
If you use a multi-timeframe indicator along with Times[][] you should be able to do this.
Here are some link to our help guide on this topic.
Multi-timeframe : http://www.ninjatrader.com/support/h...nstruments.htm
Times[][] : http://www.ninjatrader.com/support/h...html?times.htm
Please let me know if I may assist further.Adam P.NinjaTrader Customer Service
-
Easiest way is to use COBC = false with a Period.Id that is NOT in a fixed time span. Examples would be tick charts, volume charts, range charts etc.Originally posted by curious View PostIs there any way to get the last tick timestamp of the chart?
Time[] returns the DateTime of the bar, but not the last tick inside it.
In which case, Close[0] is always the last tick.
Otherwise, you can always use OnMarketData() to get the time of the last tick.Last edited by koganam; 01-10-2012, 03:17 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
160 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
307 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
244 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
348 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
178 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment