Indicators: RSIWithFlat - page 2

 
newdigital:

Nice Combinatorics 
 
Roszey:
Does the indicator re-paint?

Nope. Just try to find in source code something like this:

         IndBuffer[bar]=MainRSI[bar];   //current bar
         SignalBuffer[bar]=SignRSI[bar];//current bar

If indicator repaints, it should be looks like this:

         IndBuffer[bar]=MainRSI[bar];     //current bar
         IndBuffer[bar+1]=MainRSI[bar];   //latest formed bar
         SignalBuffer[bar]=SignRSI[bar];  //current bar
         SignalBuffer[bar+1]=SignRSI[bar];//latest formed bar

It means that indicator repaints two last bars (current bar(always)+latest formed bar).

If the indicator is not as timeseries, then it looks like this:

         IndBuffer[i]=MainRSI[i];     //current bar
         IndBuffer[i-1]=MainRSI[i];   //latest formed bar
         SignalBuffer[i]=SignRSI[i];  //current bar
         SignalBuffer[i-1]=SignRSI[i];//latest formed bar