how to edit/include EA #property icon

 

I wanted to know how to update the graphic on the indicator or expert advisor properties 'about' tab.

I found this: https://www.mql5.com/en/docs/basis/preprosessor/compilation but how do we include the graphic. Is there a max filesize for the graphic?

Does the graphic have to be ico, or can we use png/gif/bmp?

Mql4 documentation is lacking here. Thanks.

 

https://docs.mql4.com/basis/preprosessor/compilation

show

Hehe ... smoke

 
deysmacro:

https://docs.mql4.com/basis/preprosessor/compilation


Hehe ...


Thanks.
- what is the max size of the ico file (file size)?
- what about the dimensions of the image(s) in the ico file?
- How did you generate the ico format?
 

code

#property icon "Icon.ico"

The icon retrieves

C:\Users\Tester\AppData\Roaming\MetaQuotes\Terminal\111111111111111111111111111111\MQL4\Indicators

 

I got the answer to my question and the intent of it in this thread:  https://forum.mql4.com/63662

 

So Jon - did you find out the answer to the actual question you asked way back in 2014?


- what is the max size of the ico file (file size)?

- what about the dimensions of the image(s) in the ico file? 


I have successfully added an icon to my EA - but it's tiny.

 
ComputerSange #:

So Jon - did you find out the answer to the actual question you asked way back in 2014?

- what is the max size of the ico file (file size)?

- what about the dimensions of the image(s) in the ico file? 

I have successfully added an icon to my EA - but it's tiny.

Make your icon file be multi-sized, from 16x16 up to 256x256. You will find free online websites which will take all your PNG files from small to large and package them into a single ".ico" file.
Reason: