Discussion of article "DoEasy. Controls (Part 10): WinForms objects — Animating the interface"

 

New article DoEasy. Controls (Part 10): WinForms objects — Animating the interface has been published:

It is time to animate the graphical interface by implementing the functionality for object interaction with users and objects. The new functionality will also be necessary to let more complex objects work correctly.

Compile the EA and launch it on a symbol chart:


As we can see, the entire visual component of objects works correctly when interacting with the mouse.

Author: Artyom Trishkin

 

It do not compile

SYMBOL_SWAP_MONDAY undeclared identifier


double CSymbol::SymbolSwapRatio(ENUM_DAY_OF_WEEK day) const
  {
#ifdef __MQL4__
   return 0;
#else
   switch(day)
     {
      case MONDAY    :  return ::SymbolInfoDouble(this.m_name,SYMBOL_SWAP_MONDAY);
 
Problem solved by updating MQL5
Reason: