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

[amibroker] Correct use se of EQUITY() ?



PureBytes Links

Trading Reference Links

Could someone please take a look at the following and confirm that 
EQUITY(1) is correctly inserted in the code in order to correctly 
display the results in Explore.

Are both instances of EQUITY(1) required? The system is designed to 
enter at the following day's open and to close with a normal exit, or 
when stopped.

In Backtester Settings, "Activate stops immediately" and "Allow same 
bar exit" are checked.

ApplyStop(stopTypeLoss,stopModePercent,5,True);
SetTradeDelays( 1, 1, 1, 1 ) ; 
BuyPrice=SellPrice=CoverPrice=ShortPrice=Open;
BUY = BuyCond;  Sell = SellCond;
Equity(1);
Short=Sell; Cover=Buy;
Equity(1);

TIA
Keith



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/