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

Re: [amibroker] Re: testing entries



PureBytes Links

Trading Reference Links

>Sid,
>
>Using the bband entry exit system u posted a few messages
>above, why does it exit the last day.
>Example, it buys AXP on April 25 and also exits on April 25,
>both prices as same $36,69 (Yahoo Quote).
>I am confused abou the exit. Pleas clarify
>
>
>nand
Nand,
Well it depends on which output you are looking at.
In AA backtest it shows AXP as being an open long position which was 
entered at the close on the 25th.

In the System report, last trade line it shows the same entry on the 
25th.  In addition it shows an artificial close that it uses to determine 
the value of any open positions.  This is the way the system report 
works.  It does not mean an actual trade took place on the close of the 
last day of data.

On the chart you will see there is no close (solid red) arrow on the 25th.
****

Fred, I find this little routine is much quicker than writing a real system 
when checking out possible trading ideas.  I can pop in a few lines of code 
and generate all the usual AB statistics such as W/L %, number of 
consecutive losers etc.  Then I look at the chart with B/S arrows and your 
equity curve with its statistics to complete the picture.

I would also like to write a similar routine to evaluate exits by using 
some simple default technique to generate entries which could then have the 
exit under test applied.  However it is a tricker proposition to generate 
meaningful comparison values for an exit test.  Entries are easy...enter, 
count out X days and see what you get.  Exit stats will be confused by the 
indeterminate time elapsed between fake entry and the exit being tested.

Cheers
Sid 

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



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 04/10/2003