Error with Expert compile, MetaTrader5

 

Hi all,

I downloaded and tried to compile Serhii Ivanenko's Simple Hedge Panel (https://www.mql5.com/en/code/1771) but am getting an error. I've contacted the author w/o reply & am trying to read up to fix this myself. I've never coded before though so am on the basics (what is a function, what is a parameter, what is an overload). Hoping someone can give me a head start please. The error is:'


'Add' - no one of the overloads can be applied to the function call HedgePanel.mqh 125 12

could be one of 4 function(s) HedgePanel.mqh 125 12

   bool CDialog::Add(CWnd*) Dialog.mqh 53 22

   bool CDialog::Add(CWnd&) Dialog.mqh 54 22

   bool CWndContainer::Add(CWnd&) WndContainer.mqh 33 22

   bool CWndContainer::Add(CWnd*) WndContainer.mqh 32 22


Any advice?

Thanks all,

Ben

Simple Hedge Panel
Simple Hedge Panel
  • www.mql5.com
A panel for opening and closing positions on several financial symbols in one click.