Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 754 1...747748749750751752753754755756757758759760761...1177 New comment Vitalie Postolache 2014.10.24 21:10 #7531 _new-rena: Who knows the command to open the chart window programmatically, please advise ?ChartOpen Алексей Тарабанов 2014.10.24 21:23 #7532 evillive: ChartOpen It didn't work. Sergey Dzyublik 2014.10.24 21:29 #7533 if ((chart_id1 = ChartOpen( _Symbol, _Period)) == 0) // open new chart { PRINT("Не удалось открыть новый чарт " + _Symbol + string(_Period)); ERROR; return false; }; Still, you were told correctly, or we didn't understand you. Алексей Тарабанов 2014.10.24 21:34 #7534 The only thing I don't understand is this:ERROR; Sergey Dzyublik 2014.10.24 21:40 #7535 a piece of my code (This is a debugging and testing macro - for release you can disable it)#define ERROR Print("Errore #",GetLastError(), " __FUNCTION__ = ", __FUNCTION__, " __LINE__ = ", __LINE__) [Deleted] 2014.10.24 21:47 #7536 evillive: ChartOpenALXIMIKS: You were told correctly after all, or did we misunderstand you.Thank you very much! I just went in. Alexander 2014.10.25 04:45 #7537 VladislavVG: I would say it should be something like this in this case: Indeed, it would be more reliable and the speed of the code would be almost unaffected, thanks for the tip! gince 2014.10.25 09:29 #7538 Hi all.How do I use the #property icon ? I wrote it like this#property icon "\\Images\\Mano_ikona.ico"; Error - invalid icon file format 'E:\FXPRO\MQL4\\\Images\Mano_ikona.ico' 0 0The file is Artyom Trishkin 2014.10.25 09:44 #7539 gince: Hi all.How do I use the #property icon ? I wrote it like thisError - invalid icon file format 'E:\FXPRO\MQL4\\\Images\Mano_ikona.ico' 0 0The file isSo everything is fine:#property icon "\\files\\LogoGVisor.ico";File is located at D:\New MT4\MQL4\Files\LogoGVisor.icoIcon size 60x60 gince 2014.10.25 09:55 #7540 artmedia70: So, everything is fine:File is at D:\New MT4\MQL4\Files\LogoGVisor.icoIcon size 60x60 Tried the file folder as well, but same thing. How much does the size matter ? 1...747748749750751752753754755756757758759760761...1177 New comment
Who knows the command to open the chart window programmatically, please advise ?
ChartOpen
The only thing I don't understand is this:
ERROR;
ChartOpen
You were told correctly after all, or did we misunderstand you.
Thank you very much!
I just went in.
I would say it should be something like this in this case:
Hi all.
How do I use the #property icon ? I wrote it like this
Error
- invalid icon file format 'E:\FXPRO\MQL4\\\Images\Mano_ikona.ico' 0 0
The file is
Hi all.
How do I use the #property icon ? I wrote it like this
Error
- invalid icon file format 'E:\FXPRO\MQL4\\\Images\Mano_ikona.ico' 0 0
The file is
So everything is fine:
File is located at D:\New MT4\MQL4\Files\LogoGVisor.ico
Icon size 60x60
So, everything is fine:
File is at D:\New MT4\MQL4\Files\LogoGVisor.ico
Icon size 60x60