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

Re: [amibroker] Re: Problem with array?



PureBytes Links

Trading Reference Links

Please read the most fundamental doc regarding AFL:
http://www.amibroker.com/guide/h_understandafl.html

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "bty450077" <sweingartner@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, October 20, 2006 2:13 PM
Subject: [amibroker] Re: Problem with array?


> that fixed it - not sure why the original doesn't work but anyway 
> thanks Rakesh
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Rakesh Sahgal" <rakeshsahgal@xxx> 
> wrote:
>>
>> try
>> 
>> O-ref(O,-3)
>> 
>> On 10/20/06, bty450077 <sweingartner@xxx> wrote:
>> >
>> > I am trying to plot the following:
>> >
>> > ROC_CUST = O-O[BarCount-3];
>> >
>> > that is the value of the current bar open minus the open from the
>> > bar two bars earlier.
>> >
>> > The problem is that the values are simply wrong - if I manually 
> do
>> > the calculation I get something diffent to what appears in the
>> > graph... very confusing...
>> >
>> > I tried using
>> >
>> > O1 = O[BarCount-1]
>> > O2 = O[BarCount-3]
>> >
>> > ROC_CUST = O1 - O2
>> >
>> > But of course I get a simple flat line that changs wih each new 
> bar -
>> > this is because it no longer calculates as an array.
>> >
>> > If anyone has an idea on how to get this graph to plot I would be
>> > much appreciated.
>> >
>> > Thanks,
>> > Simone
>> >
>> >
>> >
>> >
>> > 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 other support material please check also:
>> > http://www.amibroker.com/support.html
>> >
>> >
>> > Yahoo! Groups Links
>> >
>> >
>> >
>> >
>> >
>>
> 
> 
> 
> 
> 
> 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 other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006