NinjaTrader Support Forum
NinjaScript Development Support
> Easiest way to check for 'LastBarOnChart'?
View Full Version :
Easiest way to check for 'LastBarOnChart'?
04-29-2007, 06:03 PM
In Tradestation you could check for 'LastBarOnChart'.
What is the easiest way to do that in NT6?
04-30-2007, 01:16 AM
We have a concept of "Historical" meaning, a bar is either real-time or Historical therefore, if you only wanted to process on the last bar of a chart, you could do something like:
// Real-time bar which can only be the last bar of a chart