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

Re: [amibroker] Re: A QUESTION



PureBytes Links

Trading Reference Links


Hi,
 
Yes, your "filter" criteria must be met -so you 
can use 
filter = Highest( filter ) <FONT 
face=Tahoma size=2>if you want to ensure that if there was a "true" anytime back 
it will
be prolonged until most recent bar.
 
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: Monday, June 11, 2001 9:10 
PM
Subject: [amibroker] Re: A 
QUESTION
<FONT face=Tahoma 
size=1>Tomasz,If I reduce the range to the most 
recent quotation, i.e.From 11/6 To 11/6, nothing is coming out. The last 
occurence is 7/6/2001.Am I missing something?Best regardsDimitris 
Tsokakis--- In amibroker@xxxx..., 
"Tomasz Janeczko" <tj@xxxx...> wrote:> 
Hi,> > Yes, it is possible -> just reduce the range to 
the most recent quotation.> > Best regards,> Tomasz 
Janeczko> ===============> AmiBroker - the comprehensive share 
manager.> <A 
href="">http://www.amibroker.com> 
>   ----- Original Message ----- >   From: 
Dimitris Tsokakis >   To: amibroker@xxxx >   
Sent: Monday, June 11, 2001 7:43 PM>   Subject: [amibroker] A 
QUESTION> > >   Suppose the code> 
>   COND1=...;>   COND2=...;  /*truth 
depending on COND1*/>   COND3=...;  /*truth depending on 
COND1*/>   filter=cond3>0;>   numcolumns 
= 5;>   column0 = close;>   
COLUMN1=CUM(COND2);>   
COLUMN2=CUM(COND3);>   
COLUMN3=LASTVALUE(CUM(COND2));>   
COLUMN4=LASTVALUE(CUM(COND3));>   
COLUMN1NAME="FROM";>   column0name = 
"CLOSE";>   column2name="TRUE";>   
COLUMN3NAME="TOT FROM";>   COLUMN4NAME="TOT TRUE";> 
>   Is it possible for the results in column "TOT FROM" and 
column "TOT TRUE", to appear ONLY once,>   not all the 
times filter is true??>   Please see attachment.> 
>   Dimitris Tsokakis > 
>         Yahoo! Groups Sponsor 
>        
>        > 
>   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.