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
>


Reply via email to