How to add a custom image to the chart using an MT5 EA?

 
I’m currently coding an MT5 EA and I’d like to add an image/logo directly onto the chart (not just text or lines). I’ve been experimenting with OBJ_BITMAP and OBJ_BITMAP_LABEL, but I’m not fully sure how to properly load and display a custom image in the EA.

Has anyone here done this before?🤷‍♂️

What’s the correct way to load an image file into the chart?

Are there specific formats/sizes that work best (BMP, PNG, etc.)?

Any sample code or tips would be greatly appreciated.


Thanks in advance 🙏
Let’s share some knowledge here.
I’m sure many developers would find this useful too.
 

Articles

Making charts more interesting: Adding a background

Daniel Jose, 2022.04.27 11:08

Many workstations contain some representative image which shows something about the user. These images make the working environment more beautiful and exciting. Let's see how to make the charts more interesting by adding a background.
 
Fernando Carreiro #:
Thanks