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.
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.