Below is the link to the idea
Try the scripts for longer periods (e.g. 1 D).
The script still requires some tweaks as one of the issue is that the shorts and puts are being placed 2 candles after a confirmation is there. So use this strategy at your own risk.
Any inputs will really be helpful.
(Also thanks to @ChrisMoody for such a good indicator).