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

Re: how to?



PureBytes Links

Trading Reference Links

>How do I create an exploration that will only list stocks with a rising 16,
>25, and 50 day simple moving average.
>paul pwjc@xxxxxxxxxxxxxx

That's easy:
Mov(C,16,S)>Ref(Mov(C,16,S),-1) AND Mov(C,25,S)>Ref(Mov(C,25,S),-1) AND
Mov(C,50,S)>Ref(Mov(C,50,S),-1)
If all three true, it returns a logical 1.

Good luck!

Regards,
Onno Goedknegt