|
It's repainting. Just put it on the 15-min chart, zoom in and watch. When a new tick comes in on the 0-bar, bars 1 and 2 also change immediately.
It's possible the repainting goes back further in time but it's not so obvious to the eye.
I looked at the code, but it wasn't clear what the indicator is meant to do. It's just a bunch of meaningless variable names like e1[],c1[],n[], etc. and array assignment statements.
hth.
|