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

[amibroker] Re: Applystop Question



PureBytes Links

Trading Reference Links


1 - Revert back to your old Sell conditions... ie. Sell = Cross(...);

2 - Add just the Applystop *on its own line*;

...
Applystop(2,1,10,1,True,25);
...

Try that out.

--- In amibroker@xxxxxxxxxxxxxxx, "Quad Rate Serial Abby"
<quad_pumped_abby@xxxx> wrote:
> 
> I am setting some conditions for volume, etc., and buying if the close
> is a new 52 week high. I'm trying to set a trailing stop loss at 10%
> with a 25 bar re-entry delay to avoid wash rules. I used the following
> applystop code:
> 
> Sell = ApplyStop ( 2, 1, 10, 1, True, 25 );
> 
> which is (if I'm doing this right):
> 
> Sell = ApplyStop ( stopTypeTrailing, stopModePercent, 10% trailing
> stop, check High-Low prices and exit intraday on price equal to stop
> level on the same bar when stop was triggered, stop can vary during
> the trade, 25 bars to reenter symbol );
> 
> I get a sell arrow immediately after a buy arrow.  Is this because I
> have to set trade delays or something?  Any input would be appreciated.
> 
> Thanks,
> 
> Bret





------------------------ 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/