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

Re: [amibroker] Reading Display range



PureBytes Links

Trading Reference Links


Sorry,
 
this one is correct:

x = Cum(<FONT 
color=#ff00ff size=1>1);
Filter = x == LastValue<FONT 
size=1>(x);
AddColumn(<FONT color=#0000ff 
size=1>ValueWhen(x==<FONT color=#ff00ff 
size=1>1,<FONT color=#0000ff 
size=1>DateNum()),<FONT color=#ff00ff 
size=1>"Start",<FONT color=#ff00ff 
size=1>1.0);
AddColumn(<FONT color=#0000ff 
size=1>ValueWhen(x==<FONT color=#0000ff 
size=1>Highest(x),<FONT color=#0000ff 
size=1>DateNum()),<FONT color=#ff00ff 
size=1>"End<FONT 
color=#ff00ff size=1>",<FONT color=#ff00ff 
size=1>1.0);
 
 
Thomas Zmuck
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Thomas Zmuck 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Monday, July 22, 2002 3:13 PM
Subject: Re: [amibroker] Reading Display 
range

or this one to have all in one line:

x = Cum(<FONT 
color=#ff00ff size=1>1);
Filter = x <FONT 
size=1>== <FONT face="Courier New" color=#0000ff 
size=1>LastValue(<FONT face="Courier New" 
size=1>x);
AddColumn(<FONT face="Courier New" color=#0000ff 
size=1>ValueWhen(x==<FONT 
face="Courier New" color=#ff00ff size=1>1<FONT face="Courier New" 
size=1>,DateNum<FONT 
size=1>())<FONT 
size=1>,"<FONT face="Courier New" 
color=#ff00ff size=1>Start"<FONT 
size=1>,1.0<FONT 
size=1>);
AddColumn(<FONT color=#0000ff 
size=1>ValueWhen(x==<FONT face="Courier New" 
color=#0000ff size=1>Highest<FONT face="Courier New" 
size=1>(x),<FONT color=#0000ff 
size=1>DateNum()),<FONT color=#ff00ff 
size=1>"Start",<FONT color=#ff00ff 
size=1>1.0);
 
Thomas Zmuck
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Herman van den 
Bergen 
To: <A title=amibroker@xxxxxxxxxxxx 
href="">Amibroker@xxxx Com 

Sent: Monday, July 22, 2002 2:47 
PM
Subject: [amibroker] Reading Display 
range

Hi,Is there a way to read the date or bar-number of 
the first and last bar displayed?
Many thanks!
Herman.
<FONT 
face=Arial> 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.