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

Re: [amibroker] Lastvalue



PureBytes Links

Trading Reference Links


Hello,
 
Why would you need cursorvalue function when 
all WriteVal() calls show just current value?
 
Best regards,Tomasz Janeczko===============AmiBroker - the 
comprehensive share manager.<A 
href="">http://www.amibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
jonf 
To: <A title=amibroker@xxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Thursday, September 20, 2001 
4:20 PM
Subject: Re: [amibroker] 
Lastvalue

Dimitris, I thing the lastvalue inside commentary is the 
cursor position !
 
Tomasz, it will be interesting to have 2 AFL functions that 
give consistent result in Commentary, Indicator and AutoAnalysis
lastvalue(array) : give the value of the last 
data
cursorvalue(array) : give the value at the cursor (or 
closest value if no data is available at the last cursor position 
date)
 
You can also use the cursorvalue date to always leave 
the chart to the cursor position when you change Tab, View or Securities ! 

Currently the chart are always scrolling back to the last 
value and I don't think it's a behavior that most users want !
 
Best 
Jon
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Dimitris 
Tsokakis 
To: <A title=amibroker@xxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Thursday, September 20, 2001 5:45 
AM
Subject: [amibroker] Lastvalue

Dear Tomasz,
I think that there is an inconsistencybetween 
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. 
Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 




  • References: