bensim 4 posts msg #81716  Ignore bensim 
10/25/2009 10:12:40 AM
Dear all, I am trying to create a filter in SF 2.0 to generate a list of stocks which meet the following criteria:
a. price above 50
b. Average volume of last 30 days > 250000
c. 10 day exponential ma > 20 day exponential ma > 200 day exponential ema
d. MACD: fast period  9 days, slow period  15 days, signal line  9 days. MACD rises above signal line
e. MACD Histogram (9,15,9) rises above zero
f. Slow stochastic: %K period  9 days, %D period  15 days and %K cross above %D
g. Plot the various charts and lines
==
This is what I have done and I hope that someone can let me know whether it is correct. Thanks and cheers.
====
Show stocks where close is above 50
and average volume(30) is above 250000 do not draw average volume(30)
and EMA(10) is above EMA(20)
and EMA(10) is above EMA(200)
and EMA(20) is above EMA(200)
and Show stocks where MACD Fast Line(9,15) crossed above the MACD Slow Line(9,15)
and show stocks where MACD Histogram(9,15,9) crossed above 0
and Show stocks where Slow Stochastic(15,9) Fast %K crossed above Slow Stochastic(15,9)
and draw EMA(10)
and draw EMA(20)
and draw EMA(200)
and draw MACD Fast Line(9,15)
and draw MACD Slow Line(9,15)
and draw MACD Histogram(9,15,9)
and draw Slow stochastic(15,9)
=====
