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

[amibroker] Re: Newbie Programming Assistance



PureBytes Links

Trading Reference Links

Marek,
an interesting statistics : when Cross( FLSD, 50 ) , 21% the C<MA
(C,20) and 79% the C>MA(C,20). The 79% makes impossible to cross(C,MA
(C,20)).
See the results of
Filter=Cross( FLSD, 50 ) ;
AddColumn(Close>MA(Close,20),"");
over the whole N100.
It gives a nice hint for the system design...
DT
--- In amibroker@xxxxxxxxxxxxxxx, Marek Chlopek <emcek2@xxxx> wrote:
> On Thursday 20 March 2003 11:57, bdsko wrote:
> 
> > Buy = Cross( FLSD, 50 ) AND Cross( Close, MA( Close, 20 ) );
> 
> The chance that at the same bar FLSD will cross 50 and Close will 
cross its ma 
> is minimal. IMO you should use ">" for one chosen condition for 
example:
> 
> Buy = Cross( FLSD, 50 ) AND Close > MA( Close, 20 );
> 
> BTW: use "AddColumn() to debug results
> 
> -- 
> Marek Chlopek
> mchlopek@xxxx


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Your own Online Store Selling our Overstock.
http://us.click.yahoo.com/rZll0B/4ftFAA/46VHAA/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/