[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Arrays - how and when?



PureBytes Links

Trading Reference Links

James Murphy wrote:
> 

>         for counter = 9 downto 1 begin
>                 arrows[counter] = arrows[counter-1];
>                 arrows[0] = Low[2];
>         End;


I think it should be, otherwise you will lose the value of the previous
arrows[0]?

	for counter = 9 downto 1 begin
                 arrows[counter] = arrows[counter-1];
        End;
	arrows[0] = Low[2];


> you can call the function from indicators or systems like this
> 
> value1 = lookback(0);  {this return the latest arrow down}

Isn't it:	value1 = arrowdown(0); etc

Later

Peter