You seem to miss the modifier in ObjectSetString(chart_ID,name,OBJPROP_BMPFILE,file)
The other possible reason might be the file - it must be a 24-bit bmp (not 32-bit)
You seem to miss the modifier in ObjectSetString(chart_ID,name,OBJPROP_BMPFILE,file)
The other possible reason might be the file - it must be a 24-bit bmp (not 32-bit)
Hi, i've make some testes now and do not miss. Just change filename to a wrong filename and then get the message BitmapCreate: failed to load the image! Error code = 5020, but when i set filename currect not gives me any error, then the function was all executed. but nothing is shown on window.
I try to test with 24 bit colors and 256 colors... and nothing!
I found it!
I was using OBJ_BITMAP then need to put time and price coordinates... as i was using 0 , the element was created but outside the visible candles...
Now i change it to OBJ_BITMAP_LABEL and works fine! Just get it from code suggested on help documentation. thanks!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi.
I am trying to create an Bitmap Object using BitmapCreate function of mql4 hqlp documentation... but nothing happens... can you help me?
Here my call to create the object