Embedded image
-
Does fxdreema has something to embeed the image inside expert advisor without loading the image on mql5 image source
-
I'm afraid not.
-
You can add a logo (picture/image to your screen if this is what you are trying to do), in this is how to achieve. "Gold-Bull-BMP" is the name of the image I was using, and it has to be small enough to work: https://fxdreema.com/shared/NYrqpdJJb
This would be the MT5 code:
// Create the bitmap label
if(!ObjectCreate(0, "Gold-Bull-BMP", OBJ_BITMAP_LABEL, 0, 0, 0))// Set the image file path (inside MQL5\Images folder)
ObjectSetString(0, "Gold-Bull-BMP", OBJPROP_BMPFILE, "\Images\Gold-Bull-BMP.bmp");// Set the X and Y distance from the selected corner
ObjectSetInteger(0, "Gold-Bull-BMP", OBJPROP_XDISTANCE, 150);
ObjectSetInteger(0, "Gold-Bull-BMP", OBJPROP_YDISTANCE, 20);// Set the corner to top right
ObjectSetInteger(0, "Gold-Bull-BMP", OBJPROP_CORNER, CORNER_RIGHT_UPPER); -
@l-andorrà Right only coding the only option
-
@jstap Yes but thats not gonna be automatically what im doing is trying to do is completely different i want to drag the an a image to appear automatically just as in commercial EA's i guess i relay on coding in mql5 with error by error