how can i draw a bitmap label fixed with time?

 

i want to draw a bitmap label on my chart,but i don't want to refresh the X Y position all the time.

what should i do if i want this bitmap fixed with special time like 2014.7.1 00:00:00

when i move my chart,this bitmap will follow it's own bar,not fixed with the whole window.

 

Thanks a lot. 

 
What about using a bitmap object ?
Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Types / OBJ_BITMAP
Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Types / OBJ_BITMAP
  • www.mql5.com
Standard Constants, Enumerations and Structures / Objects Constants / Object Types / OBJ_BITMAP - Reference on algorithmic/automated trading language for MetaTrader 5
 
angevoyageur:
What about using a bitmap object ?

yes, i successfully draw a bitmap object on chart fixed with time.

 

the next step,i want to show some text on chart when mouse move on these bitmap object.

 

i can not find any information in reference.

 

Do you have any example code about it?How can i use CBmpButton Class in stander library?it looks like what i need.

 

in the CBmpButton Class, i saw OnMove event handler,do you have any sample code.

CBmpButton class have only a method named Create have only absolute position X,Y,may be not useful.