Is it possible to make this indicator not repaint?

 

Hello. I've been using this trend indicator for months, only to just realized it repaints. FML. 

I was wondering if there is anyway to change the code and make this indicator not repaint.

Also open to any suggestions on similar indicators

Thanks!

Files:
 
You need to have the source code - but NOT decompiled!
 
Carl Schreiber #:
You need to have the source code - but NOT decompiled!

I found the same version with the source code. 

Files:
 

Don't double post! You already had this thread open.
          General rules and best pratices of the Forum. - General - MQL5 programming forum (2017)