double d = indicator.ATR(indicator.BarsArray[indicator.BarsInProgress], 14)[indicator.CurrentBars[indicator.BarsInProgress];
The second variable is referenced to custom Indicator that have to load additiona 1 Second data.
double = indicator.BV(indicator.BarsArray[indicator.BarsInProgress], 5)[indicator.CurrentBars[indicator.BarsInProgress];
Code must work on diferent DataType, not only Second.
I don't use construction like this:
protected override void OnStateChange()
{
if (State == State.Configure)
{
AddDataSeries(BarsPeriodType.Second, 1);
}
}
How to set BarsArray "1 Second "Data Type in my case?

Comment