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:
Text objects work in MQL4 but in MQL5, when trade is not active (saturday,sunday), text objects don't work. Does anyone know why ?