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.
I prefer yours because it has alerts. Problem is : Even if the code is the exact same, results are different and your script is lagging over the other one making my backtest useless. Only difference is that you use version 3 and the other one is on version 2.
For example, if you use 1D timeframe while watching on 15m, you'll see the difference. Any idea how to solve this ?