Hello, I am looking for a screener to detect a bearish gap followed buy ~10-15 candles showing a compression of the price/Bollinger bands.
Thanks
You can give a try with this code:
hh=highest[10](high)
ll=lowest[10](low)
rangevar=(hh-ll)/Close*100
bvar = (Low[1]-Open)/Close*100
b1 = Open<Low[1]
b2 = bvar>0.2
b3 = rangevar<3
c = b1[11] and b2[11] and b3
screener[c](rangevar)
I know what you mean, so this screener is not visually perfect I guess.. Just give feddback or example(s) if you have some. Thanks.