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

[amibroker] Re: My Real World System for IBM



PureBytes Links

Trading Reference Links







It actually seems to fly on the short side as well by adding in the instructions to handle it i.e. ...

Buy        = IIf(Cross(C, Ref(H, -1)), 1, 0);

BuyPrice   = IIf(O > Ref(H, -1), O, Ref(H, -1) + 0.20);

Sell       = C; 

Short      = IIf(Cross(Ref(L, -1), C), 1, 0);

ShortPrice = IIf(O < Ref(L, -1), O, Ref(L, -1) - 0.20);

Cover      = C;

Buy        = ExRem(Buy, Sell);

Sell       = ExRem(Sell, Buy);

Short      = ExRem(Short, Cover);

Cover      = ExRem(Cover, Short);

See attached &#8230;

 <<...>>  <<...>>  <<...>> 

Fred  








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.



Attachment:
IBM-Short.png
Description: PNG image
Attachment:
IBM-Long.png
Description: PNG image

Attachment: Description: "Description: PNG image"

Attachment: Description: "IBM Long & Short.png"

Attachment: Description: "Attachment:"