Indicator Error on first load

To add comments, please log in or register
Mehmet Merden
155
Mehmet Merden  

Hello guys. Recently I wrote an indicator showing high and low values of previous day. But sometimes it draws wrong levels of last 1-2 days on first load. After I re-load indicator on same chart it fixes the drawed levels.
Screenshots attached. I can send my source code if there is anyone interested in fixing this issue.

Files:
To add comments, please log in or register