hi,
ChartSymbol() function return error 4102 in MT5 build 4231, please advise, thanks.
I have a similar problem. ChartSymbol() returns an empty string.
string chartSymbol=ChartSymbol(chartid);
It has been working until the last update. Actually it is still working on my development windows pc, but not anymore on my vps on which I run MT5 under linux with wine.
I have two MT5 build 4231 installed on two difference computer, one is error as above(C:\Program Files\MetaTrader 5), the other is OK (d:\Users\RW\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075). does it cause by the difference of data folder?
hi,
ChartSymbol() function return error 4102 in MT5 build 4231, please advise, thanks.
while(!IsStopped()) { //printf("IsStopped"); long chartId=ChartFirst(); //printf(chartId); while(chartId>=0 && !IsStopped()) { long chartId=ChartFirst(); printf(chartId); ResetLastError(); string symbol=ChartSymbol(chartId); int lastError=GetLastError(); printf("symbol " + symbol); printf(lastError); } }
Inserting delay <for example 1000-2000 milliseconds> inside this hard loop has a chance that then everything will be fine
I have two MT5 build 4231 installed on two difference computer, one is error as above(C:\Program Files\MetaTrader 5), the other is OK (d:\Users\RW\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075). does it cause by the difference of data folder?
I would like to know where can download build 4153, does it auto upgrade to build 4231 again?

- 2021.10.18
- forum.communitypowerea.com

- 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,
ChartSymbol() function return error 4102 in MT5 build 4231, please advise, thanks.