Thanks for your notes.
You may consider setting the ArePlotsConfigurable property to false so that plots are not configurable in the indicator dialog.
ArePlotsConfigurable: https://ninjatrader.com/support/help...nfigurable.htm
When using the AddDataSeries() method overload that allows you to specify a trading hours template you must supply a sting instrumentName argument since the method requires it.
If you want the added secondary series to use the primary series instrument, you could set the string instrumentName property to Instrument.FullName.ToString(). For example:
AddDataSeries(Instrument.FullName.ToString(), new BarsPeriod { BarsPeriodType = BarsPeriodType.Minute, Value = 1}, "US Equities RTH")
Review the AddDataSeries() help guide page to see what arguments are required to use when specifying a trading hours template.
And, see the sample code in this help guide: https://ninjatrader.com/support/help...barsperiod.htm
To see what a trading hours template's name is, go to Tools > Trading Hours and note the name of the template.
Review this help guide page: Trading Hours: https://ninjatrader.com/support/help...urs_window.htm
In regard to BarsInProgress, BarsInProgress 1 refers to the first added series in a script. BarsInProgress 2 refers to the second added series in a script. Say you have called AddDataSeries() twice in the script. The first time you call it that BarsInProgress index for that added series will be BarsInProgress 1. The second time you call AddDataSeries() that specific added series will have be BarsInProgress 2.
It is very important to review this entire help guide document to understand how multi-timeframe/multi-instruments NinjaScripts work: https://ninjatrader.com/support/help...nstruments.htm
Yes, that is how logic could be used to check if BarsInProgress 1 or BarsInProgress 2 is processing.
Thank you for pointing that out regarding the links. I have edited the links in the previous post and tested them to confirm they are working now.

Comment