I have been trying to display two icons on my chart using OBJ_BITMAP_LABEL function from ObjectCreate(). But fortunately i haven't got lucky a single time.
Even I tried copying all the code showing how to use this (OBJ_BITMAP_LABEL) but still got no success.
I have tried defining my images as resources but it keeps on showing me error continuously. Unknown resource.
//if only i'm using these two lines i get no error#resource "\\Images\\Arrow-Up-icon.bmp"#resource "\\Images\\Arrow-Down-icon.bmp"// as soon as i use these too line with above ones it shows unknown resource it even displays this error when i use custom indicator provided by mt4string upArrow = "::Images\\Arrow-Up-icon.bmp";
string dnArrow = "::Images\\Arrow-Down-icon.bmp";
I'm attaching the images below And the example I'm using from documentation is:
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi everyone.
Hope you all are doing great.
I have been trying to display two icons on my chart using OBJ_BITMAP_LABEL function from ObjectCreate(). But fortunately i haven't got lucky a single time.
Even I tried copying all the code showing how to use this (OBJ_BITMAP_LABEL) but still got no success.
I have tried defining my images as resources but it keeps on showing me error continuously. Unknown resource.
I'm attaching the images below And the example I'm using from documentation is:
Any kind of help is appreciated. Thanks