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

Re: [amibroker] Newbie Programming Assistance



PureBytes Links

Trading Reference Links

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@xxxxxxx

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/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/