Suggested improvement change from kmarryat (pinescripters.net)
//Code removed as this was allowing background colours on Daily, Weekly, Monthly
//loadIndicator = timeframe.multiplier <= inputMaxInterval
//Modified code below
loadIndicator = timeframe.isminutes and timeframe.multiplier <= inputMaxInterval