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

[amibroker] sell signal in AFL



PureBytes Links

Trading Reference Links


Hi,

Suppose it is a AFL indicator for long positions:

1.
...
Buy = ...

Sell = 0 ; // exit only by stops 
ApplyStop( stopTypeProfit, stopModePercent, 30, True ); 
ApplyStop( stopTypeTrailing, stopModePercent, 20, True );

In this case, is it true that which stop is reached first is executed?

2.
What if

Sell = some criteria ...;
ApplyStop( stopTypeProfit, stopModePercent, 30, True ); 
ApplyStop( stopTypeTrailing, stopModePercent, 20, True );

Under this case, if stop is reached first, stop will be used, will 
the sell be ignored? And if the sell creteria is met, will the stop 
be ignored?

Thanks.





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