Sure... if BBand is the array you want to change,

Last_Val_BI = LastValue( BarIndex());
BB_Array [Last_Val_BI] = New value here...

try something like that.

--- In [email protected], "mbausys" <mbau...@...> wrote:
>
> Hi all,
> 
> Is there a simple way of changing the last value of an array?
> I want to find Bollinger Band of, e.g. 10 days of closing prices, but would 
> like to use a different value for day 10 rather than the real closing price 
> for that day.
> 
> Any help would be appreciated.
> 
> Many thanks,
> 
> Marius
>


Reply via email to