Yonique Claassen:
ObjectSetString(0, "logo", OBJPROP_BMPFILE,0, "\\::MQL5\\Images\\avenger.bmp");
ObjectSetString(0, "logo", OBJPROP_BMPFILE,0, "\\::MQL5\\Images\\avenger.bmp");
Try this :
ObjectSetString(0, "logo", OBJPROP_BMPFILE,0, "::Images\\avenger.bmp");
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi good day
I trust that everyone is well. I have been struggling with this issue to get a 32 bit bmp image displayed on my MT5 chart. The code for my indicator compiles without errors or warnings but I just cannot get the image displayed. Am I missing something? I have added it as a resource as well and the below line of code under OnInit. Included Canvas and Controls mqh files later and defined them in the code yet it does not display. Can someone please hit me over the head to clear this conundrum for me because I feel I am missing something.
Declared below as a #resource
The code after OnInit:
I am fairly new to coding in MQL5 but have learned a lot so far but just cannot seem to get pass this issue. Guidance or directing to correct articles, yes I checked a lot of them the issue persists, will be highly appreciated.
Thank you in advance.