Occurs on attempt to assign entire array to single element of another array
test = 0;
for( i = 0;
i < BarCount;
i++ )
{
test[ i ] = Close ; //
wrong, single array element can take only one value, not array
test[ i ] = Close[
i ]; // correct
}