In the code below, I cannot use an array after HighestSince. Can someone help explain how can I achieve this without using an array? Reverse equals inlong ==0.
TIA,
James
if ( inlong )
{
if (High [ i ] > HighestSince( reverse, H, 1))
{
nBarNet [i] = Max (findNthLowerLow( n, currentBar, dflt ), nBarNet [ i-1 ]);
}
else
{
nBarNet [i] = nBarNet [ i-1 ];