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

Re: [amibroker] Lastvalue



PureBytes Links

Trading Reference Links


Hello Dimitris,
 
This is by design. LastValue() returns the 
selected bar in commentaries.
Commentaries work in such a way that analysis 
"horizon" ends at the
selected day.
 
Best regards,Tomasz Janeczko===============AmiBroker - the 
comprehensive share manager.<A 
href="">http://www.amibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Dimitris 
Tsokakis 
To: <A title=amibroker@xxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Thursday, September 20, 2001 
11:45 AM
Subject: [amibroker] Lastvalue

Dear Tomasz,
I think that there is an inconsistency between 
Ind. Builder and Guru commentary when
we use function Lastvalue.
The graph of
graph0=lastvalue(cum(1));
is a flat line at 385 for example.
In Guru commentary the
t1=writeval(lastvalue(cum(1));
does not give the same result everyday, giving 
the same as 
t2=writeval(cum(1));
Is it possible to read in Guru commentary 
lastvalue(cum(1)) ?
 
Best Regards
Dimitris Tsokakis
 Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 




  • References: