Let me know if you would like to see me publish other indicators or if you want something custom done!
Note: I'm republishing this because the original script couldn't be found in searches so this will fix that.
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.
when using jsa = (src + src(length)) / 2, src=jsa if src=src(length) but the target jsa is always changing.
when using jsa=src(length), src=jsa if src=src(length) but the target jsa never changes during the day.
As you see src=jsa if src=src(length) in both cases.
Of course if you use the data delayed by one day you resolve the repaint question but the jsa target value is not accurate.
Note: length should be between square brackets but I wrote () because this editor don't accept square brackets.