This script uses double and 4 , you can enable or disable and as you wish. Also you are free to change and values as you need.
Golden Cross and a Death Cross
By default we have enabled only, you can see Golden Cross and a Death Cross on chart with . From setting you can use combination of and or and or and as you wish.
This single indicator contains 2 and 4 , enabled and disabled as you wish .
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.