Download MetaTrader 5
To add comments, please log in or register
Add the thread to Favorites. Track the changes even faster!
beyeu123
13
beyeu123 2016.02.27 20:04 

I created an graphic indicator that show prices and my local time when i move mouse cursor. But sometimes when i change time frame, when chart appear "Waiting for Update" and then my indcator does not work when i move mouse like this :My graphic

Files:
beyeu123
13
beyeu123 2016.02.27 23:20  

i think this problem is caused by chart redraw. But when i write these code :

bool IsChartRedraw()

{

   if(MathAbs(curbars-Bars)>1){

      curbars=Bars;

      return(true);

   }

   else return(false);

 

it only check right when chart is start appear, when i scroll to an end of chart, it didn't work. Please,help me !

/
To add comments, please log in or register