How would you define a rising SMA? e.g. current value of SMA is higher than previous value (yesterday). How should the indicator deal the change of the current SMA value. This is the well-known repainting-issue. The only way to avoid repainting is ...