Hi there Guys.
I’m looking to create a scan that would target stocks in a Bollinger squeeze (< 6%) and would have both the 50 and 200 DMA in close proximity to current share price. I’m thinking within 4-6% of the SP. I currently have scans for the Bollinger squeeze however having trouble adding in the SMA’s. Any thoughts?
Thank you
Garth
Comments
This is what I came up with but it contains syntax errors I cannot correct. Are you able to point me in the right direction?
Thank you kindly!
[type = stock]
and [country = canada]
and [daily sma(20,daily volume) > 100000]
and [daily sma(50,daily close) > 20]
and [[[Upper BB (20,2) - Lower BB (20,2)] / Close ] < .06]
and[ [Close >SMA(50,close) *0.98] x [ SMA(200,close)]]
and [[Close <SMA(50,close) *1.02] x [ SMA(200,close)]]
In any case, your original conditions don't specify a crossover. I'm guessing you included it because you want the MAs close together. But all you need to do is make the same close to MA comparisons you have for the 50 to the 200. If all four comparisons are true, then the MAs would have to be close together. The trick is to figure out what per cent parameters will work the way you want them to. Maybe the per cent parameters for both the 50 and the 200 should be the same, or maybe slightly different.
Thank you very much Markd!