After compilation, I am not receiving any error message. I have tried to have the behaviour on the output window, and I have printed something such as 2*3, and the correct result is appearing on the output window.
When I am attaching the indicator on the graph, I have the mention ....
I am suspecting the loop
while (count < 4)
I have the following code:
private Series<double>[] mySeries;
.
.
else if (State == State.DataLoaded)
{
mySeries = new Series<double>[50];
for (int aa = 0; aa < mySeries.Length; aa++)
{
mySeries[aa] = new Series<double>(this, MaximumBarsLookBack.Infinite);
}
}
protected override void OnBarUpdate()
{
if(CurrentBar < 500)
return;
for (int ii = mySeries.Length-10; ii > 0 ; ii--)
{
while (count < 4)
{
for (int k = 0; k < 75; k++)
{
if (mySeries[count][k] > 0.0)
{
// myLogic here
}
}
count++;
}
}
}
Best regards,

Comment