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

Re: A QUESTION



PureBytes Links

Trading Reference Links

Dear Tomasz,
Thank you very much for continuous support.
Day by day we shall be more familiar with filter use.

Best regards
Dimitris Tsokakis

--- In amibroker@xxxx, "Tomasz Janeczko" <tj@xxxx> wrote:
> 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 display them for the most recent 
bar.
> 
> Best regards,
> Tomasz Janeczko
> ===============
> AmiBroker - the comprehensive share manager.
> http://www.amibroker.com
> 
> ----- Original Message ----- 
> From: DIMITRIS TSOKAKIS 
> To: amibroker@xxxx 
> 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 Regards
> Dimitris Tsokakis
> 
> --- In amibroker@xxxx, "Tomasz Janeczko" <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.
> > 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.
> > > 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.
> > 
> > 
> > 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.