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

Re: [amibroker] Re: A QUESTION



PureBytes Links

Trading Reference Links


HI,
 
The point is that you will receive an entry during 
exploration
whenever filter condition is met.
If this happens outside data range choosen you 
won't get any entry
in the result list, but in your formula you were 
interested in
calculating some total values (cum() function 
calls) so I guess
you just need a final value for the most recent 
bar.
 
The solution I proposed gives you what you 
probably want to obtain
- calculate some total values and displaythem for 
the 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: Tuesday, June 12, 2001 12:06 
PM
Subject: [amibroker] Re: A 
QUESTION
Hi Tomasz,Thank you very much for new reply, but now I 
am totally confused.filter is 1, whenever cond3 is "true", 
i.e.highest(filter) is 1, always, i.e.filter=1, i.e. all my data.I 
am out of focus.Best RegardsDimitris Tsokakis--- In <A 
href="">amibroker@xxxx..., "Tomasz Janeczko" <<A 
href="">tj@xxxx...> wrote:> Hi,> > Yes, 
your "filter" criteria must be met - so you can use > filter = Highest( 
filter ) 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> 
>   ----- Original Message ----- >   From: 
DIMITRIS TSOKAKIS >   To: amibroker@xxxx >   
Sent: Monday, June 11, 2001 9:10 PM>   Subject: [amibroker] 
Re: A QUESTION> > >   
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 regards>   Dimitris 
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,>   >   notall 
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.> > 
>         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.