New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Hello all! Although I have been a member of StockCharts for over nine years, I just discovered this forum. Having said this, I hope someone here can help me. Recently, I have been following Dave Landry and diving into some of his strategies. In particular, I am interested in his "bow tie" set-up. However, I am having all kinds of difficulties developing a scan that will recognize the convergence of these three MAs. Has anyone developed such a scan? If so, would you please be willing to share it? Thanks in advance for any assistance!
0
Comments
So, sma 10 > sma 20 and sma 20 > sma 30 and sma 30 > x days ago sma 30 (so sma 30 is rising). That gets today's order.
Then you want the inverse order x days ago: x days ago sma 10 < x days ago sma 20 and x days ago sma 20 < x days ago sma 30. I'm not sure what value to use for x days ago - 4? 5? 6? and I don't think you want to test for sma 30 falling.
I don't think you have to test for the actual crossovers. If the above conditions are true, then the crossovers must have happened.
and [MACD Hist(10,30,0) x 0.0]
and [MACD Hist(10,20,0) > 0.0]
for a crossing up.
If looking for a cross below, you'd flip the 1st line and change the > to a < on the second.
MACD uses EMA
and [MACD Hist(10,30,0) x 0.0]
and [MACD Hist(10,20,0) > 0.0]
is the Syntax for the scan engine.
Fill in your universe at the top, followed by the 2 lines above.