Please help me write code with follow require

#1
Hi, could you help me do a scan for stock meet the requirement please
1, draw resistance line which were test at least 3 time in the past 1 year
2, in last 2 day, price open and closing above resistance line
3, SMA 20 above SMA 40, MA 50 above MA 150
4, 2 of following indicator generate buy signal
Force Index > 0
Parabolic SAR below the candle ( bullist signal)
MACD 12, 26, 9 below 0 and going up
Thanks you very much
 

Similar threads