Download MetaTrader 5

troubles after latest built 342

To add comments, please log in or register
muller
559
muller  

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
Slava
Moderator
6922
Slava  

your EA still working. There are just warnings 

rename your global variable for example to ExtResult

To add comments, please log in or register