Download MetaTrader 5

Text Object and Label Object don't work in Saturday, Sunday in MQL5

To add comments, please log in or register
beyeu12345
10
beyeu12345  
i coded an indicator use text object,but when saturday comes, it doesn't work when i want use TextMove, and  TextChange in event Mouse move and mouse click in MQL5. Anyone know why ? i coded it in MQL4 and everything is ok.
Vasyl Nosal
18753
Vasyl Nosal  
Try OnTimer() instead of OnCalculate()
beyeu12345
10
beyeu12345  
Vasyl Nosal:
Try OnTimer() instead of OnCalculate()
I tried OnTimer. It doesn't work. I want to move text object and change color when mouse click event (or mouse move event) appear but it doesn't work in MQL5, it works well in MQL4.I spent many times to fix many bugs in MQL5 but didn't happen in MQL4.Fuck MQL5
Vasyl Nosal
18753
Vasyl Nosal  
beyeu12345:
I tried OnTimer. It doesn't work. I want to move text object and change color when mouse click event (or mouse move event) appear but it doesn't work in MQL5, it works well in MQL4.I spent many times to fix many bugs in MQL5 but didn't happen in MQL4.Fuck MQL5

:)))))

Agry. 

 

P.S. OnChartEvent() ? 

beyeu12345
10
beyeu12345  
Vasyl Nosal:

:)))))

Agry. 

 

P.S. OnChartEvent() ? 

Of course, i tried OnChartEvent with id == CHARTEVENT_MOUSE_MOVE and id==CHARTEVENT_OBJECT_CLICK , but text object only change color and move in MQL 4, it doesn't work in MQL5. This is my indicator i coded in MQL4 that shows economic events in history, database file *.csv.When i click in currency object,it will show event like image below:

 eco

Text objects work in MQL4 but in MQL5, when trade is not active (saturday,sunday), text objects don't work. Does anyone know why ?

To add comments, please log in or register