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.
What would be the code lines to identify stocks that are around the middle of the Keltner Channels? In other words > Lower Band, < Upper Band, and within say 2% above the middle band? Is there any way to do this in stock charts?
0
Comments
So, the general form you want is,
and close < Upper Kelt Chan // you supply the correct syntax and parameters you want - use the drop downs
and close > Lower Kelt Chan // on the scan workbench page
and close < ema(x, close) * 1.02 // within 2% above ema
and close > ema(x, close) * .98 // within 2% below ema
Maybe add a requirement that the Top - the Bottom / the Bottom needs to be above 10%(?) to get more space in your bands? maybe something like
and [Upper Kelt Chan(26,2,10) - Lower Kelt Chan(26,2,10) / Lower Kelt Chan(26,2,10) > 0.1]