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

[amibroker] How to set different exit for different buying rules?



PureBytes Links

Trading Reference Links

Hi,

I am trying to set two rules.  I want that if the system buys when rule 1 it exits after 4 days, and if it buys when rule 2 it exits after 2 days.  I already know how to do for one simple rule
(
Buy = ExRemSpan (Buy, 4);
Sell = Ref (Buy,-4);


)

but I'd like to set a different exit for each rule.

Anyone know how to do this?

Thanks,

Louis
__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___