This is probably the first version that I am putting out for this logic.
Based on feedback (and some coding suggestions and support if anyone is willing), I will try to improve this further.
So, what do we have in this script -
I have created 5 alert conditions. The 4 alerts are straight-forward : Entry / Exit alerts for Long / Short.
The fifth alert is just a single Alert which is triggered if any of the 4 alert conditions are met. Then user can check the chart to see what trade is triggered.
I am not explaining the logic of the indicator here since it is kind-of covered in the strategy.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
Hope it helps you. If you use this script to trade, please share specific feedback on your experience. I will be happy to modify / tune the script further.
Again: nice job man :) Glad I've found your script here :)