Buy = cross ( Close, MADaily );
for ( i = 1; i < BarCount;
i++)
{
IIf (Buy[i], position[i] = 1, 0);
}
I run an explore
and get position[1] == 0 and the remainder of the
array == 1 ( there are
only two buy signals triggered). Is there
something about the Buy array I
am missing?
Best regards,
Drew Yallop