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

[amibroker] Re: AFL selling and short selling



PureBytes Links

Trading Reference Links

Buy=Cover=Cross( Close, MA( Close, 45 ) );
Sell=Short= Cross( MA( Close, 45 ), Close );

 Don

--- In amibroker@xxxxxxxxxxxxxxx, "Adrian Zaremba" <headcutter@xxxx> 
wrote:
> Buy = Cross( Close, MA( Close, 45 ) );
> Sell = Cross( MA( Close, 45 ), Close );
> 
> I want to modify this code so after selling I want to short sell, I 
> tried this, but this doesnt work:
> 
> Buy = Cross( Close, MA( Close, 45 ) );
> Sell = Cross( MA( Close, 45 ), Close );
> short = Cross( Close, MA( Close, 45 ) );
> cover = Cross( MA( Close, 45 ), Close );


------------------------ 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/i5gGAA/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/