Time[] returns the DateTime of the bar, but not the last tick inside it.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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
-
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 WHICKED, 04-26-2024, 12:45 PM
|
3 responses
26 views
0 likes
|
Last Post Today, 05:44 AM | ||
Started by chbruno, 04-24-2024, 04:10 PM
|
5 responses
59 views
0 likes
|
Last Post Today, 05:44 AM | ||
Started by JuanPabloQuevedo, 10-25-2020, 05:27 PM
|
2 responses
355 views
0 likes
|
Last Post
by nuobo
Today, 04:45 AM
|
||
Started by gwenael, 04-27-2024, 09:29 AM
|
2 responses
27 views
0 likes
|
Last Post
by gwenael
Today, 03:46 AM
|
||
Started by thread, 04-15-2024, 11:58 PM
|
2 responses
35 views
0 likes
|
Last Post
by AunkerSlave
Today, 03:45 AM
|
Comment