TJ wrote something close to what you want here: http://www.amibroker.com/members/library/formula.php?id=20
Reef --- In [email protected], "cgchaves" <cgcha...@...> wrote: > > I have just started with Amibroker. I have tried the wizard but I did not > find the RSI there. > > I would like to test a system like the following: > > If flat and RSI(length) closes above X buy next bar @ market > if long and RSI(length) closes below Z get flat next bar @ market > if flat and RSI (lenght) closes below Y sellshort next bat @ market > If short and RSI (lenght) closes above Z get flat next bar @ market > > Appreciate if someone could help me to code it. > > thanks > Carlos >
