Download MetaTrader 5
To add comments, please log in or register
No time for trading? Subscribe to signals!
Frederick Langemark
1824
Frederick Langemark 2015.01.22 16:42 

Hello all!

I am trying to add an image to the chart using ResourceCreate, but for some reason I am getting error 5002: "Wrong file name".

ResourceCreate("ChartImage","\\Images\\image.png")

I have also tried this code, with the same error:

ResourceCreate("ChartImage","\\Files\\image.png")

I've also tried .gif and .bmp files, so I am at a complete loss. Can anyone help me figure out what the problem is?

Thanks in advance.

/
To add comments, please log in or register