Download MetaTrader 5

troubles after latest built 342

To add comments, please log in or register
Do you want to order an application? Find out how to obtain the desired result
muller
559
muller 2010.10.07 10:54 

while recompiling a working EA, got these warnings now:

- declaration of 'result' hides global declaration at line 53 (ArrayObj.mqh: CObject *result;)

- declaration of 'result' hides global declaration at line 53 (Indicator.mqh: bool result=true)

- declaration of 'result' hides global declaration at line 53 (Custom.mqh: bool result=true)

- declaration of 'result' hides global declaration at line 53 (TimeSeries.mqh: bool result=true)

- declaration of 'result' hides global declaration at line 53 (Indicators.mqh: CIndicator *result=NULL)

So the EA now open and immediatly close the order. What might be changed into these mqh files ?

Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events - Documentation on MQL5
Slawa
Moderator
6841
Slawa 2010.10.07 14:07  

your EA still working. There are just warnings 

rename your global variable for example to ExtResult

To add comments, please log in or register