This script is based off of the angles from an MA I pieced together a few days ago.
This version is to be used for exits, such as if you have a solid entry and don't know where to exit but want to remain "safe" then close when this fires off. If anyone wants an alerts version for this then lmk in the comments (No one will remember this exists in 48 hours)
The length should be played with for each market (that has volume) + timeframe to see what has the best results.
Each chart has slightly different settings but each has the OS/OB as the default.
Enjoy.