[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







One way to get the trades to be same day trades is to remove the ExRem statements i.e.


SetTradeDelays(0,0,0,0);

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);

 










Yahoo! Groups Sponsor












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.