PureBytes Links
Trading Reference Links
|
Cond1 is my trailing stop and Cond2 is my max stoploss. I do not want
to exit in the area between my entry price and my max loss price. Any
idea how I would put this in AFL. My attempt below doesn't work.
Thanks in advance Phill
Cond1= Cross((HighestSince(Buy,High)-3.6*ATR(30)), Close);
Cond2 = Cross((Buy - 2*ATR(30)),Close);
Sell= IIf((Close < Buy and Close > Cond2),0, Cond1 OR Cond2);
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/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/
|