Custom indicator duplicating values only on timeframe change. - page 2

 
Fabio Albano: . I'm using build 1260 by the way.

Versions below 1340 are no longer supported.
          MetaTrader 4 platform update build 1353 - MQL4 programming forum (2021.12.09)