I found several threads discussing bar times (using the Time[] and Times[] array) within the OnBarUpdate event but found only answers that I didn't want to hear
What I want might not be possible due to the mechanics of how bars are created within Ninjatrader (I read the discussion within the help files on this), however let me ask and get your response.
What I want is to get the timestamp of the bar close (not the bar open which is given in the Time[] array). I have to use CalculateOnBarClose=True. Do you know of any way to get the closing timestamp of the last trade of the last bar instead of the opening timestamp ?
I don't want to use local pc time, rather I want the timestamp of the trade from the price vendor. In summary, is there a workaround (using something like bartimer indicator or something) that will give me a more accurate reading of the timestamp for the last trade of the bar when OnBarUpdate=true;
Thank you for any insight or solutions.
Number1
Comment