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

[amibroker] Re: Systems for indices



PureBytes Links

Trading Reference Links

I believe the intent of the original Explore that this was posted in 
reference to was to identify BB setups for trading yesterday and then 
checks the results today, but the way I read it, it also looks into 
the future.  The CHECK button agrees.

--- In amibroker@xxxxxxxxxxxxxxx, "Owen Davies" <owen5819@xxxx> wrote:
> uenal.mutlu@xxxx asked about the following code:
> 
> 
> > // calculate the success
> > Filter = patUp or patDown2;   //  1;  // totpatUP > 0;
> >
> > success = (patUp    and (Ref(C,1) > C))
> >        or (patDown2 and (Ref(C,1) < C));
> >
> > AddColumn(cum(Filter),   "#Cases", 1);
> > AddColumn(cum(success),  "#Successes", 1);
> > AddColumn(cum(success) / cum(Filter) * 100, "%Success", 1.2);
> 
> Do you really want that "success" statement to look into the 
future?  If
> not, those Ref statements need a minus sign before the 1:  "Ref(C,-
1)".
> 
> Owen Davies


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/cjB9SD/od7FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/