Thanks I has a difference, and make good sense regardsafzal --- On Fri, 8/20/10, booker_1324 <[email protected]> wrote:
From: booker_1324 <[email protected]> Subject: [amibroker] Re: Req Exploration code for finding stocks with price crossed today above 20ema and To: [email protected] Date: Friday, August 20, 2010, 2:36 PM In your description you said: price cross above 13Ema But your formula states: Buy = C > EMA(C,13) There is a difference Try this Buy = cross(C, EMA(C,13)) --- In [email protected], "ford7k" <for...@...> wrote: > > Hi experts > > I run my update of eod and try to locate only those stocks that made a price > cross above 13Ema and MACD crossed SIGNAL. > When I tried, I AM GETTING ALL OLD THINGS,(THAT MADE CROSSOVER MANY DAYS > AGO) MAKING IT DIFFICULT TO LOCATE ONLY THOSE THAT satisfied both criteria > JUST TODAY. > > How to fix this exploration requirement,please guide me with needed code lines > > I tried > > Buy = C > EMA(C,13) AND MACD > SIGNAL; > SELL = C< EMA(C,13) AND MACD < SIGNAL; > Filter = Buy or Sell; > > > Thanks for help > regards > ford >
