Download MetaTrader 5

how to show an icon/picture in the chart ?

To add comments, please log in or register
Tsz Ho Chow
267
Tsz Ho Chow  
Is it possible to use an image from the web instead of one that is stored locally using the method to put .bitmap in to /image ? I tried to simply change the position to "http://www.******.com/test/image.bmp" but no success of course..
Kaleem Haider
140502
Kaleem Haider  
Tsz Ho Chow:
Is it possible to use an image from the web instead of one that is stored locally using the method to put .bitmap in to /image ? I tried to simply change the position to "http://www.******.com/test/image.bmp" but no success of course..

Yes there is a way.  You have to download the picture to the file sandbox, and then retrieve it via code.

File Functions - MQL4 Reference
File Functions - MQL4 Reference
  • docs.mql4.com
File Functions - MQL4 Reference
To add comments, please log in or register