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

RE: [amibroker] AFL selling and short selling



PureBytes Links

Trading Reference Links




<SPAN 
class=120041813-22042003>Adrian,
take a 
look at your code. Do you really wish to buy and short the same stock at the 
same time?? I believe you're looking for something more 
like...
<SPAN 
class=120041813-22042003> 
Buy = 
Cross( Close, MA( Close, 45 ) );Sell = Cross( MA( Close, 45 ), Close 
);short = sell;cover = Buy;
<SPAN 
class=120041813-22042003> 
<SPAN 
class=120041813-22042003>Although you probably do not want to risk the family 
fortune on this system    :)Send 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT









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 the Yahoo! Terms of Service.