Each time OnBarUpdate (OBU) is called for one of the 60 stocks, the strategy increments an IntSeries count to track progress, and updates an associated indicator. With historical data, this indicator displays "60" within regular trading hours (9:30 - 4:00 PM ET). Based on my experience with similar strategies, this will stop working properly in real time, which I'll return and comment on after the market opens in the morning.
I've attached a "Test60Instruments" NinjaScript package containing the script and indicator, and a screen shot of a 1-minute ER2 window with the strategy and indicator attached. If one of the Ninja folks could load this up and try it out that would be great. I'll try to use it in this thread to illustrate the types of problems I'm having, and will review some of these in the next post. Thanks!
My goal here is to get this working, one way or another (i.e., to have the indicator count to 60 near the close of each minute in realtime, verifying that all stock data is up-to-date).

Comment