how to make indicator to repaint?

dvetri
72
dvetri  

Hi

I trying make indicator to repaint previous results.
I succeeded to change only future result but not the past.
Every number is separately indicator value by time.
When input_2 show result, every sequentialy by type value of input_1 should change.

Is it possible?
Where I can find info or example abaut this.

thanks

Alain Verleyen
42249
Alain Verleyen  

You mean refresh and not repaint.

Fix your code.

dvetri
72
dvetri  
Hi all
slightly different issue:
I made an indicator that marks the first bar where the color of the new event reaches.
Is it possible the same indicator to mark all the bars between this mark and the signal for a new event?
How to do it?
int number = //counting sequential bar by color;

if
(new_condition[current] != EMPTY_VALUE)

BUFFER[current + number] = //;
new_condition