I want to fix repainting tradingview indicator

MQL4 Experts Scripts

Specification

Hi,

Can you fix repainting Tradingview indicators?

I have a MTF Heiken Ashi indicator that works well trading live on the 15 second chart. It reads the higher time frames and gives the correct reading on candle close on the 15 second chart however when I refresh the data it repaints to a different location making historical data tough to read. Can you fix the repaint so it just shows the data at the time of the 15 second candle close reading on various time frames? Indicator should work the same way it does real time just with non-repainting history especially with other timeframes are changed. Also the original colored candle function must be retained (File is attached)

Files:

Responded

1
Developer 1
Rating
(12)
Projects
14
43%
Arbitration
3
33% / 33%
Overdue
2
14%
Free
2
Developer 2
Rating
(278)
Projects
374
72%
Arbitration
19
32% / 47%
Overdue
14
4%
Free
Published: 14 codes
3
Developer 3
Rating
(37)
Projects
59
27%
Arbitration
26
19% / 54%
Overdue
10
17%
Working
Published: 1 code

Project information

Budget
30 - 35 USD
Deadline
from 1 to 2 day(s)