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

[amibroker] A no-trade zone



PureBytes Links

Trading Reference Links

Hi,

I remember asking something similar some time ago but I searched and did not find where exactly and I forgot if I got a response or not.

Ok, I know how to do an automatic "sell after X period":

Buy = c>ma (c,20);
Buy = Exremspan (Buy,5);
Sell = Ref (Buy,-5);

I'd like to set a trade system that would begin to look for signals AFTER that "no-trade" zone.

E.g. In the example above, I'd like the system to do nothing for the first 5 bars after my entry and then, and only then, check for an exit signal.  How would you do that?

Thanks a lot!

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

__,_._,___