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

[amibroker] Backtest using equity curve



PureBytes Links

Trading Reference Links

Hi,

I'm was wondering if it is possible in AB to incorporate the equity curve 
of a system within a backtest, using it to test the following: 

a. No new entries if a closed trade crosses below a moving average of 
the equity curve and re-enter when a closed trade crosses above the 
moving average. Another idea is to use a percentage on the equity curve 
instead of a moving average.

b. Using the above also test tightening the actual trailing stop on the 
open trades. ie: if a closed trade crosses below a moving average (or 
whatever) then instead of using a 3 x ATR stop then use a 2 x ATR stop 
on the open trades.

Note that the trades in between the exit and entry need to be tracked for 
the re-entry.

If this is possible, do you know how to set it up please?

Cheers, Glenn


------------------------ 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/mOAaAA/3exGAA/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/