fly7680:
I read various discussions and I understand that you can load a png image only through this code, however, I get this error: Unknown resource type MQL4 \ Files \ dollar. png
The Metatrader d'ont load .png image...I read various discussions and I understand that you can load a png image only through this code, however, I get this error: Unknown resource type MQL4 \ Files \ dollar. png
#resource"\\Files\\dollar.png";
ObjectCreate (0,"name",OBJ_BITMAP_LABEL,0,0,0);
ObjectSetString (0,"name",OBJPROP_BMPFILE,0,"::Files\\dollar.png");
ObjectCreate (0,"name",OBJ_BITMAP_LABEL,0,0,0);
ObjectSetString (0,"name",OBJPROP_BMPFILE,0,"::Files\\dollar.png");
...load only .bmp.
try this:
#resource "\\Images\\dollar.bmp" #define YOUR_IMG "::Images\\dollar.bmp" ... ObjectCreate (0,"name",OBJ_BITMAP_LABEL,0,0,0); ObjectSetString (0,"name",OBJPROP_BMPFILE,0,"YOUR_IMG");
best regards,
Fernando Sanches

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
ObjectCreate (0,"name",OBJ_BITMAP_LABEL,0,0,0);
ObjectSetString (0,"name",OBJPROP_BMPFILE,0,"::Files\\dollar.png");