Hi, there must be a dozen versions of this indy by now but mladen never made a centered TMA nrp indicator.
He created the centered TMA and explained it was deliberately recalculating, he later said creating it was one of his biggest coding regrets as so many thought of it as just a trick repainter but the idea was a good one so long as you know it is supposed to recalculate.
Others come later, made some alterations to the code and just stuck the nrp tag on but they all recalculate to some degree the previous x number of bars on each new bar close.
This version below I think was posted by mr tools and is one of the better ones.
Also below is a TMA with a redraw on/off (centered TMA or basic TMA) so you can compare.