What we use:
• calculated by (title: SMA_RSI)
• Delta of and SMA_RSI (title: delta)
• calculated by delta of and & (title: SMA_RSI2)
Upon the fact that we use the difference between two indicators that have similar values ( and SMA_RSI), we get number around zero. Next, result is smoothed by calculated the . This is the blue/purple line that appears on the chart - SMA_RSI2.
The trade open when SMA_RSI2 cross over the threshold. The trade close when SMA_RSI2 cross under the threshold below.
Also, the usual 200 is used as a filter, which you can switch on or switch off.
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.