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

[amibroker] Re: Simple question regarding short trades



PureBytes Links

Trading Reference Links

Wally, it's because your buy and short rules are the same.
Try this:
Buy = Cross( Close, SAR());
Sell = Cross( SAR(), Close);
Short = Cross(SAR(), Close);
Cover = Cross(Close, SAR());
Mark


--- In amibroker@xxxxxxxxxxxxxxx, "netbull2000" <netbull2000@xxxx> wrote:
> I am trying to test a very simple system:
> 
> Buy = Cross( Close, SAR());
> Sell = Cross( SAR(), Close);
> Short = Cross(Close, SAR());
> Cover = Cross(SAR(), Close);
> 
> I am getting only long positions in the results, no short ones. I 
> don't know why. What could be wrong here?
> 
> TIA,
> Wally


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/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/