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

Re: [amibroker] ApplyStop question



PureBytes Links

Trading Reference Links

techsmart wrote:

>I want to have a profit exit and a n-bar exit.
>
>...
>
>Should this get me what I want?  It seems to be working, except that 
>the n-bar exit prices are not always exactly the open price.  I can't 
>see why they would be off.
>
I made exactly this mistake not long ago.  The problem is the order in 
which Amibroker evaluates stops. Of the kinds of stop one can use, n-bar 
exits are evaluated last.  So if you use a profit exit with it and it's 
hit some time during the n-bar, you get credit for the profit even 
though the n-bar exit should have triggered at the beginning of the 
day.  This exaggerates your profits and minimizes your losses, of course.

If that doesn't make sense, search my messages for the last few weeks 
for a question similar to yours, and track the answers later that day.  
It will get clearer.

Owen Davies


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 1/6/2005



------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/