Just explore over the bars/dates you want
PriceChange = C -
O;
filter=1;
AddColumn(PriceChange, " Price Range ", 1,
colorRed);
--
Cheers
Graham
AB-Write >< Professional
AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On
11/06/07, ted <optionted@xxxxxxxxxt.com>
wrote:
> Hello all
>
> Is it possible to display the
historical price change of a single
> stock.
> Unable to loop
out this information from the array.
>
>
> Thanking in
anticipation
>
>
>
>
> Filter =
1;
>
>
//--------------------------------------------------
>
>
DayO = O;
> DayC = C;
>
> MyArray[1]=0;
>
>
for (i=1; i<=LastValue(BarIndex()); i++)
>
{
>
> PriceChange[i] = DayC[i] - DayO[i];
>
>
}
>
> AddColumn(PriceChange, " Price Range ", 1,
colorRed);
>
>
>
>
>
> Please note that
this group is for discussion between users only.
>
> To get
support from AmiBroker please send an e-mail directly to
> SUPPORT
{at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other
news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
>
For other support material please check also:
> http://www.amibroker.com/support.html
>
>
Yahoo! Groups Links
>
>
>
>