In Tradestation you could check for 'LastBarOnChart'.
What is the easiest way to do that in NT6?
NinjaTrader_Ray
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:
if (!Historical)
// Real-time bar which can only be the last bar of a chart