Download MetaTrader 5

MT4 bug report

To add comments, please log in or register
joshatt
340
joshatt  

HI,

MT4 version is 4.0.0 B509. I've figured it out, this is a bug: if you move mouse and hover on a S/L line in chart, there should be a small popup showing "drag to modify... xxx $ loss....". But if there is any SEPARATE WINDOW indicator, this popup will never show up when mouse hovering there.

Please fix this.

Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Detect language Dutch English Estonian Filipino Finnish French Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh YiddishAfrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish
English (auto-detected) » Chinese (Simplified)

Alain Verleyen
Moderator
31603
Alain Verleyen  
Please write to ServiceDesk on mql5.com.
joshatt
340
joshatt  
angevoyageur:
Please write to ServiceDesk on mql5.com.
Thanks. But I can not find servicedesk on www.mql5.com. Do you mean forum?

Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Detect language Dutch English Estonian Filipino Finnish French Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh YiddishAfrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish
English (auto-detected) » Chinese (Simplified)

Alain Verleyen
Moderator
31603
Alain Verleyen  
No, not forum. You have to register as a user to mql5.com then go to Service Desk.
joshatt
340
joshatt  
Thanks.
Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Detect language Dutch English Estonian Filipino Finnish French Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh YiddishAfrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish
English (auto-detected) » Chinese (Simplified)

Luke
4
Luke  

Hi,

I think I might have tumbled upon an ObjectsTotal(chart_id) bug in MT4 (build 840) .   When looping thru all charts, the function only return object id's of the currently opened chart.

Here is a little script to demonstrate:

void OnStart() {

      long chartId = ChartNext(0);

      while (chartId != -1) {

         for (int i = 0; i < ObjectsTotal(chartId, EMPTY, EMPTY); i++) {

            Alert(StringConcatenate(ChartSymbol(chartId), ": has object ", ObjectName(i)));

         }

         chartId = ChartNext(chartId);

      }

}

I used two charts(EURUSD, USDCHF) for this demo and the following is the output in the log file.  Please note the EURUSD is the chart opened in the client terminal and ObjectsTotal(USDCHF id) will return only object id's for EURUSD.  I have also attached the charts, if anyone wish to replicate the problem.

0 17:15:18.559 MQL4_Bug_Demo EURUSD,Monthly: Alert: EURUSD: has object [S:A1:ReviewedDate]

0 17:15:18.559 MQL4_Bug_Demo EURUSD,Monthly: Alert: EURUSD: has object [S:EURUSD:MN:TrendLine:A]

0 17:15:18.559 MQL4_Bug_Demo EURUSD,Monthly: Alert: EURUSD: has object [S:EURUSD:MN:TrendLine:B]

0 17:15:18.559 MQL4_Bug_Demo EURUSD,Monthly: Alert: EURUSD: has object [S:EURUSD:MN:TrendLine:C]

0 17:15:18.559 MQL4_Bug_Demo EURUSD,Monthly: Alert: EURUSD: has object [S:EURUSD:MN:TrendLine:X]

0 17:15:18.559 MQL4_Bug_Demo EURUSD,Monthly: Alert: EURUSD: has object [S:EURUSD:MN:TrendLine:Y]

0 17:15:18.575 MQL4_Bug_Demo EURUSD,Monthly: Alert: USDCHF: has object [S:A1:ReviewedDate]

0 17:15:18.575 MQL4_Bug_Demo EURUSD,Monthly: Alert: USDCHF: has object [S:EURUSD:MN:TrendLine:A]

0 17:15:18.575 MQL4_Bug_Demo EURUSD,Monthly: Alert: USDCHF: has object [S:EURUSD:MN:TrendLine:B]

0 17:15:18.575 MQL4_Bug_Demo EURUSD,Monthly: Alert: USDCHF: has object [S:EURUSD:MN:TrendLine:C]

0 17:15:18.575 MQL4_Bug_Demo EURUSD,Monthly: Alert: USDCHF: has object [S:EURUSD:MN:TrendLine:X]

0 17:15:18.575 MQL4_Bug_Demo EURUSD,Monthly: Alert: USDCHF: has object [S:EURUSD:MN:TrendLine:Y]


Can anyone confirm and maybe suggest a workaround?  Thanks.

Files:
JD4
1101
JD4  
luke7ung:

Hi,

I think I might have tumbled upon an ObjectsTotal(chart_id) bug in MT4 (build 840) .   When looping thru all charts, the function only return object id's of the currently opened chart.


As Ange posted above, you have to go to MQL5.com site and use service desk to report the bug(s).  You get there from your user profile page, left hand side.


Edit: If you do not have an MQL5.com account, and wish to report bugs to someone who has the capability to do something about it, then you need to get an MQL5 account.

whroeder1
15073
whroeder1  
  1. I don't see how you expect to get objects from other charts using ObjectName(i). The example shows its use on the current chart. So I would expect half of the calls to have failed.
  2. This is a user's forum not Metaquotes.
Luke
4
Luke  
Got it.  Thanks JD4.
JD4
1101
JD4  
luke7ung:
Got it.  Thanks JD4.
Welcome.  As WH pointed out, be sure that what you are reporting is an actual bug, and not just the way the program is supposed to work when it gets bad information/instructions.
To add comments, please log in or register