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

RE: [amibroker] exit help required



PureBytes Links

Trading Reference Links

Try setting your Sell condition instead of using ApplyStop.

Sell = Cross(Ref(LLV(Low,5),-1),Close);
--
Terry

| -----Original Message-----
| From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
| Behalf Of pennellp2000
| Sent: Monday, August 22, 2005 22:34
| To: amibroker@xxxxxxxxxxxxxxx
| Subject: [amibroker] exit help required
| 
| I am trying to design a stop to exit when todays close crosses below
| the lowest low in the past 5 periods and exit on open tomorrow. I have
| tried using both Applystop  and AFL (separately of course) but I can't
| get it to work. When I manually work out the exit and check the AA
| results they are different. I have sell set to open and delay set to 1
| and Activ Immed turned off. The two partial formulas I have tried are
| below.    I would appreciate any help. Thanks Phill.
| 
|                   ApplyStop(2,2, Cross(Ref(LLV(Low,5),-1),Close),0);
| 
|                   Cross(Ref(LLV(Low,5),-1),Close);
| 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hhn3509/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1124814921/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/