"STUCKING" ERROR - POSSIBLE MT4 BUG?!

 
Hi all.

I was wondering if any of you could explain as to why, as seen in the attached gif, in my indicator that as I approach anywhere near the chart shift arrow/triangle pointer thing (i.e. that grey triangle that shows if you have chart shift enabled) - some sort of incorrect, but temporary, "stucking" occurs. Although, after I drag my indicator a good distance away from the chart shift limit, it functions normally again.

What's going on? Is it an MT4 bug or?
Files:
 

All I see, is the other rectangles moving when a random tick arrives.

Instead, capture the mouse move event, see if a rectangle has moved (dragging) and move the others the same.

 
William Roeder:

All I see, is the other rectangles moving when a random tick arrives.

Instead, capture the mouse move event, see if a rectangle has moved (dragging) and move the others the same.

Ohhh okay, so I should do the “dynamic movement” (i.e. the automatic readjustment of all the other rectangles when the “control rectangle” is dragged from either of its anchor points) in the OnChartEvent() function?
This website uses cookies. Learn more about our Cookies Policy.