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

Re: [amibroker] Lastvalue



PureBytes Links

Trading Reference Links


Tomasz,
 
I am not only thinking of WriteVal but for any purpose,One 
use would be to draw trend or pattern relative to the cursor 
position instead of the lastvalue !
 
Jon.
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tomasz Janeczko 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Thursday, September 20, 200112:43 
PM
Subject: Re: [amibroker] Lastvalue

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@xxxxxxxxxxxxxxx 
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@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 

Sent: Thursday, September 20, 2001 
5: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 
Yahoo! Terms of 
Service. Your use of Yahoo! Groups is 
subject to the Yahoo! Terms of 
Service. Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 




  • References: