There are the options for choosing a timeframe and symbols. I've also added EMAs.
There's also the option to put red/green background when the EMAs are above the index and are upsloping and vice versa.
Made the default TF to be 'Chart'.
Fixed an issue with the background not showing on altcoins.
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.