Discussion of article "Trading with Donchian Channels"

 

New article Trading with Donchian Channels has been published:

In this article, we develop and tests several strategies based on the Donchian channel using various indicator filters. We also perform a comparative analysis of their operation.

I will not reinvent the wheel and will not create another program implementation of this indicator. I decided to use its Donchian Channels System modification, which perfectly characterizes the trading style based on this system. In Fig.1 pink and blue candlesticks show the areas where the channel borders are broken, market entry is supposed in this places.


Fig1. Operating principles and entry points based on the Donchian Channel.

Author: Alexander Fedosov

 

I'm having trouble compiling this. Your code is advanced for me so I'm having a hard time figuring out how to fix it. Its these errors here:

'method' - undeclared identifier MenuItem.mqh 228 110

'method' - some operator expected MenuItem.mqh 228 110

expression not boolean ChartCanvas.mqh 129 53


bool CMenuItem::CreateMenuItem(const long chart_id,const int subwin,const int index_number,const string label_text,const int x_gap,const int y_gap)
  {
//--- Exit if there is no pointer to the form
   if(!CElement::CheckWindowPointer())
      return(false);
//--- If there is no pointer to the previous node, then
//    an independent menu item is implied, that is the one that is not a part of a context menu
   if(::CheckPointer(m_prev_node)==POINTER_INVALID)
     {
      //--- Leave, if the set type does not match
      if(m_type_menu_item!=MI_SIMPLE && m_type_menu_item!=MI_HAS_CONTEXT_MENU)
        {
         ::Print(__FUNCTION__," > The type of the independent menu item can be only MI_SIMPLE or MI_HAS_CONTEXT_MENU,",
                 "that is only with a context menu.\n",
                 __FUNCTION__," > The type of the menu item can be set using the CMenuItem::TypeMenuItem()") method")";
         return(false);
        }
     }
 
Actually there are 18 total errors that prevents this from compiling unfortunately :(
 
fexception:
Actually there are 18 total errors that prevents this from compiling unfortunately :(

Fixed. 

Files:
MQL5.zip  8269 kb
 
Alexander Fedosov:

Fixed. 

It works perfect now, thank you! Does it make sense to use open prices only when optimizing? Or for the best results use every tick / based on real ticks?

 
How do we insert these files into Meta5 platform? There's already a folder named MQL5 in the root directory. Are we supposed to overwrite it? Or are we supposed separately copy and paste the ingredients of the Experts, Include, Images and Indicators to the folders with the same names in the MQL5 folder?
 
riskreward2017:
How do we insert these files into Meta5 platform? There's already a folder named MQL5 in the root directory. Are we supposed to overwrite it? Or are we supposed separately copy and paste the ingredients of the Experts, Include, Images and Indicators to the folders with the same names in the MQL5 folder?

The files are just added to the already existing folders.

 

Hi,

Am getting this below kind of error. it's not fixed. Please share fixed code.


  'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 1658 53

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1658 53


Regards,

Sathish

 

Hi Fexception,

Please fix below error at compiling for MT5.


'DonchianExpert.mq5' DonchianExpert.mq5 1 1

'TradeFunctions.mqh' TradeFunctions.mqh 1 1

'PositionInfo.mqh' PositionInfo.mqh 1 1

'Object.mqh' Object.mqh 1 1

'StdLibErr.mqh' StdLibErr.mqh 1 1

'Trailing.mqh' Trailing.mqh 1 1

'DonchianUI.mqh' DonchianUI.mqh 1 1

'WndEvents.mqh' WndEvents.mqh 1 1

'Defines.mqh' Defines.mqh 1 1

'WndContainer.mqh' WndContainer.mqh 1 1

'Window.mqh' Window.mqh 1 1

'ElementBase.mqh' ElementBase.mqh 1 1

'Mouse.mqh' Mouse.mqh 1 1

'Objects.mqh' Objects.mqh 1 1

'Enums.mqh' Enums.mqh 1 1

'Fonts.mqh' Fonts.mqh 1 1

'LineChart.mqh' LineChart.mqh 1 1

'ChartCanvas.mqh' ChartCanvas.mqh 1 1

'CustomCanvas.mqh' CustomCanvas.mqh 1 1

'Colors.mqh' Colors.mqh 1 1

'FileBin.mqh' FileBin.mqh 1 1

'File.mqh' File.mqh 1 1

'Rect.mqh' Rect.mqh 1 1

'ChartObjectsBmpControls.mqh' ChartObjectsBmpControls.mqh 1 1

'ChartObject.mqh' ChartObject.mqh 1 1

'ArrayInt.mqh' ArrayInt.mqh 1 1

'Array.mqh' Array.mqh 1 1

'ArrayDouble.mqh' ArrayDouble.mqh 1 1

'ArrayString.mqh' ArrayString.mqh 1 1

'ArrayObj.mqh' ArrayObj.mqh 1 1

'ChartObjectSubChart.mqh' ChartObjectSubChart.mqh 1 1

'ChartObjectsTxtControls.mqh' ChartObjectsTxtControls.mqh 1 1

'Chart.mqh' Chart.mqh 1 1

'MenuBar.mqh' MenuBar.mqh 1 1

'Element.mqh' Element.mqh 1 1

'MenuItem.mqh' MenuItem.mqh 1 1

'' - double quotes are needed MenuItem.mqh 228 119

'ContextMenu.mqh' ContextMenu.mqh 1 1

'SeparateLine.mqh' SeparateLine.mqh 1 1

'SimpleButton.mqh' SimpleButton.mqh 1 1

'IconButton.mqh' IconButton.mqh 1 1

'SplitButton.mqh' SplitButton.mqh 1 1

'ButtonsGroup.mqh' ButtonsGroup.mqh 1 1

'IconButtonsGroup.mqh' IconButtonsGroup.mqh 1 1

'RadioButtons.mqh' RadioButtons.mqh 1 1

'StatusBar.mqh' StatusBar.mqh 1 1

'Tooltip.mqh' Tooltip.mqh 1 1

'ListView.mqh' ListView.mqh 1 1

'Scrolls.mqh' Scrolls.mqh 1 1

'ComboBox.mqh' ComboBox.mqh 1 1

'CheckBox.mqh' CheckBox.mqh 1 1

'SpinEdit.mqh' SpinEdit.mqh 1 1

'CheckBoxEdit.mqh' CheckBoxEdit.mqh 1 1

'CheckComboBox.mqh' CheckComboBox.mqh 1 1

'Slider.mqh' Slider.mqh 1 1

'DualSlider.mqh' DualSlider.mqh 1 1

'LabelsTable.mqh' LabelsTable.mqh 1 1

'Table.mqh' Table.mqh 1 1

'CanvasTable.mqh' CanvasTable.mqh 1 1

'Pointer.mqh' Pointer.mqh 1 1

'Tabs.mqh' Tabs.mqh 1 1

'IconTabs.mqh' IconTabs.mqh 1 1

'Calendar.mqh' Calendar.mqh 1 1

'DateTime.mqh' DateTime.mqh 1 1

'DropCalendar.mqh' DropCalendar.mqh 1 1

'TreeItem.mqh' TreeItem.mqh 1 1

'TreeView.mqh' TreeView.mqh 1 1

'FileNavigator.mqh' FileNavigator.mqh 1 1

'ColorButton.mqh' ColorButton.mqh 1 1

'ColorPicker.mqh' ColorPicker.mqh 1 1

'ProgressBar.mqh' ProgressBar.mqh 1 1

'IndicatorBar.mqh' IndicatorBar.mqh 1 1

'LineGraph.mqh' LineGraph.mqh 1 1

'StandardChart.mqh' StandardChart.mqh 1 1

'TextBox.mqh' TextBox.mqh 1 1

'Keys.mqh' Keys.mqh 1 1

'KeyCodes.mqh' KeyCodes.mqh 1 1

'TimeCounter.mqh' TimeCounter.mqh 1 1

'TextEdit.mqh' TextEdit.mqh 1 1

'TextLabel.mqh' TextLabel.mqh 1 1

'Picture.mqh' Picture.mqh 1 1

'PicturesSlider.mqh' PicturesSlider.mqh 1 1

'TimeEdit.mqh' TimeEdit.mqh 1 1

'CheckBoxList.mqh' CheckBoxList.mqh 1 1

'TrailingStop' - unexpected token, probably type is missing? Trailing.mqh 114 12

function 'CTrailing::TrailingStop' already defined and has different return type Trailing.mqh 114 12

   see declaration of function 'CTrailing::TrailingStop' Trailing.mqh 83 22

'iLow' - override system function Trailing.mqh 241 8

'iHigh' - override system function Trailing.mqh 251 8

identifier 'ENUM_SORT_MODE' already used Enums.mqh 104 6

'advisor.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp16\advisor.bmp" advisor.bmp 1 1

'indicator.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp16\indicator.bmp" indicator.bmp 1 1

'script.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp16\script.bmp" script.bmp 1 1

'Close_red.bmp' as resource "::Images\EasyAndFastGUI\Controls\Close_red.bmp" Close_red.bmp 1 1

'Close_black.bmp' as resource "::Images\EasyAndFastGUI\Controls\Close_black.bmp" Close_black.bmp 1 1

'DropOn_black.bmp' as resource "::Images\EasyAndFastGUI\Controls\DropOn_black.bmp" DropOn_black.bmp 1 1

'DropOn_white.bmp' as resource "::Images\EasyAndFastGUI\Controls\DropOn_white.bmp" DropOn_white.bmp 1 1

'DropOff_black.bmp' as resource "::Images\EasyAndFastGUI\Controls\DropOff_black.bmp" DropOff_black.bmp 1 1

'DropOff_white.bmp' as resource "::Images\EasyAndFastGUI\Controls\DropOff_white.bmp" DropOff_white.bmp 1 1

'Help_dark.bmp' as resource "::Images\EasyAndFastGUI\Controls\Help_dark.bmp" Help_dark.bmp 1 1

'Help_light.bmp' as resource "::Images\EasyAndFastGUI\Controls\Help_light.bmp" Help_light.bmp 1 1

'CheckBoxOn_min_gray.bmp' as resource "::Images\EasyAndFastGUI\Controls\CheckBoxOn_min_gray.bmp" CheckBoxOn_min_gray.bmp 1 1

'CheckBoxOn_min_white.bmp' as resource "::Images\EasyAndFastGUI\Controls\CheckBoxOn_min_white.bmp" CheckBoxOn_min_white.bmp 1 1

'RArrow.bmp' as resource "::Images\EasyAndFastGUI\Controls\RArrow.bmp" RArrow.bmp 1 1

'RArrow_white.bmp' as resource "::Images\EasyAndFastGUI\Controls\RArrow_white.bmp" RArrow_white.bmp 1 1

'DropOff.bmp' as resource "::Images\EasyAndFastGUI\Controls\DropOff.bmp" DropOff.bmp 1 1

'radio_button_on.bmp' as resource "::Images\EasyAndFastGUI\Controls\radio_button_on.bmp" radio_button_on.bmp 1 1

'radio_button_off.bmp' as resource "::Images\EasyAndFastGUI\Controls\radio_button_off.bmp" radio_button_off.bmp 1 1

'radio_button_on_locked.bmp' as resource "::Images\EasyAndFastGUI\Controls\radio_button_on_locked.bmp" radio_button_on_locked.bmp 1 1

'radio_button_off_locked.bmp' as resource "::Images\EasyAndFastGUI\Controls\radio_button_off_locked.bmp" radio_button_off_locked.bmp 1 1

'UArrow_min.bmp' as resource "::Images\EasyAndFastGUI\Controls\UArrow_min.bmp" UArrow_min.bmp 1 1

'UArrow_min_dark.bmp' as resource "::Images\EasyAndFastGUI\Controls\UArrow_min_dark.bmp" UArrow_min_dark.bmp 1 1

'LArrow_min.bmp' as resource "::Images\EasyAndFastGUI\Controls\LArrow_min.bmp" LArrow_min.bmp 1 1

'LArrow_min_dark.bmp' as resource "::Images\EasyAndFastGUI\Controls\LArrow_min_dark.bmp" LArrow_min_dark.bmp 1 1

'DArrow_min.bmp' as resource "::Images\EasyAndFastGUI\Controls\DArrow_min.bmp" DArrow_min.bmp 1 1

'DArrow_min_dark.bmp' as resource "::Images\EasyAndFastGUI\Controls\DArrow_min_dark.bmp" DArrow_min_dark.bmp 1 1

'RArrow_min.bmp' as resource "::Images\EasyAndFastGUI\Controls\RArrow_min.bmp" RArrow_min.bmp 1 1

'RArrow_min_dark.bmp' as resource "::Images\EasyAndFastGUI\Controls\RArrow_min_dark.bmp" RArrow_min_dark.bmp 1 1

'CheckBoxOn.bmp' as resource "::Images\EasyAndFastGUI\Controls\CheckBoxOn.bmp" CheckBoxOn.bmp 1 1

'CheckBoxOff.bmp' as resource "::Images\EasyAndFastGUI\Controls\CheckBoxOff.bmp" CheckBoxOff.bmp 1 1

'CheckBoxOn_locked.bmp' as resource "::Images\EasyAndFastGUI\Controls\CheckBoxOn_locked.bmp" CheckBoxOn_locked.bmp 1 1

'CheckBoxOff_locked.bmp' as resource "::Images\EasyAndFastGUI\Controls\CheckBoxOff_locked.bmp" CheckBoxOff_locked.bmp 1 1

'SpinInc.bmp' as resource "::Images\EasyAndFastGUI\Controls\SpinInc.bmp" SpinInc.bmp 1 1

'SpinInc_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\SpinInc_blue.bmp" SpinInc_blue.bmp 1 1

'SpinDec.bmp' as resource "::Images\EasyAndFastGUI\Controls\SpinDec.bmp" SpinDec.bmp 1 1

'SpinDec_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\SpinDec_blue.bmp" SpinDec_blue.bmp 1 1

'SORT_ASCEND' - improper enumerator cannot be used Table.mqh 220 88

'SORT_ASCEND' - improper enumerator cannot be used Table.mqh 1686 80

'pointer_x_rs.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_x_rs.bmp" pointer_x_rs.bmp 1 1

'pointer_x_rs_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_x_rs_blue.bmp" pointer_x_rs_blue.bmp 1 1

'pointer_y_rs.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_y_rs.bmp" pointer_y_rs.bmp 1 1

'pointer_y_rs_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_y_rs_blue.bmp" pointer_y_rs_blue.bmp 1 1

'pointer_xy1_rs.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_xy1_rs.bmp" pointer_xy1_rs.bmp 1 1

'pointer_xy1_rs_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_xy1_rs_blue.bmp" pointer_xy1_rs_blue.bmp 1 1

'pointer_xy2_rs.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_xy2_rs.bmp" pointer_xy2_rs.bmp 1 1

'pointer_xy2_rs_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_xy2_rs_blue.bmp" pointer_xy2_rs_blue.bmp 1 1

'pointer_x_rs_rel.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_x_rs_rel.bmp" pointer_x_rs_rel.bmp 1 1

'pointer_y_rs_rel.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_y_rs_rel.bmp" pointer_y_rs_rel.bmp 1 1

'pointer_x_scroll.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_x_scroll.bmp" pointer_x_scroll.bmp 1 1

'pointer_x_scroll_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_x_scroll_blue.bmp" pointer_x_scroll_blue.bmp 1 1

'pointer_y_scroll.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_y_scroll.bmp" pointer_y_scroll.bmp 1 1

'pointer_y_scroll_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_y_scroll_blue.bmp" pointer_y_scroll_blue.bmp 1 1

'pointer_text_select.bmp' as resource "::Images\EasyAndFastGUI\Controls\pointer_text_select.bmp" pointer_text_select.bmp 1 1

'SORT_ASCEND' - improper enumerator cannot be used CanvasTable.mqh 309 88

'SORT_ASCEND' - improper enumerator cannot be used CanvasTable.mqh 1633 86

'LeftTransp_black.bmp' as resource "::Images\EasyAndFastGUI\Controls\LeftTransp_black.bmp" LeftTransp_black.bmp 1 1

'LeftTransp_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\LeftTransp_blue.bmp" LeftTransp_blue.bmp 1 1

'RArrow_black.bmp' as resource "::Images\EasyAndFastGUI\Controls\RArrow_black.bmp" RArrow_black.bmp 1 1

'RArrow_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\RArrow_blue.bmp" RArrow_blue.bmp 1 1

'calendar_today.bmp' as resource "::Images\EasyAndFastGUI\Controls\calendar_today.bmp" calendar_today.bmp 1 1

'calendar_drop_on.bmp' as resource "::Images\EasyAndFastGUI\Controls\calendar_drop_on.bmp" calendar_drop_on.bmp 1 1

'calendar_drop_off.bmp' as resource "::Images\EasyAndFastGUI\Controls\calendar_drop_off.bmp" calendar_drop_off.bmp 1 1

'calendar_drop_locked.bmp' as resource "::Images\EasyAndFastGUI\Controls\calendar_drop_locked.bmp" calendar_drop_locked.bmp 1 1

'RArrow_rotate_black.bmp' as resource "::Images\EasyAndFastGUI\Controls\RArrow_rotate_black.bmp" RArrow_rotate_black.bmp 1 1

'RArrow_rotate_white.bmp' as resource "::Images\EasyAndFastGUI\Controls\RArrow_rotate_white.bmp" RArrow_rotate_white.bmp 1 1

'folder_w10.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp16\folder_w10.bmp" folder_w10.bmp 1 1

'text_file_w10.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp16\text_file_w10.bmp" text_file_w10.bmp 1 1

'arrow_down.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp16\arrow_down.bmp" arrow_down.bmp 1 1

'arrow_up.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp16\arrow_up.bmp" arrow_up.bmp 1 1

'stop_gray.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp16\stop_gray.bmp" stop_gray.bmp 1 1

'no_image.bmp' as resource "::Images\EasyAndFastGUI\Icons\bmp64\no_image.bmp" no_image.bmp 1 1

'ArrowLeft.bmp' as resource "::Images\EasyAndFastGUI\Controls\ArrowLeft.bmp" ArrowLeft.bmp 1 1

'ArrowLeft_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\ArrowLeft_blue.bmp" ArrowLeft_blue.bmp 1 1

'ArrowRight.bmp' as resource "::Images\EasyAndFastGUI\Controls\ArrowRight.bmp" ArrowRight.bmp 1 1

'ArrowRight_blue.bmp' as resource "::Images\EasyAndFastGUI\Controls\ArrowRight_blue.bmp" ArrowRight_blue.bmp 1 1

'iLow' - ambiguous call to overloaded function with the same parameters Trailing.mqh 278 36

could be one of 2 function(s) Trailing.mqh 278 36

   built-in: double iLow(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 278 36

   double iLow(string,ENUM_TIMEFRAMES,int) Trailing.mqh 241 8

'iHigh' - ambiguous call to overloaded function with the same parameters Trailing.mqh 287 36

could be one of 2 function(s) Trailing.mqh 287 36

   built-in: double iHigh(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 287 36

   double iHigh(string,ENUM_TIMEFRAMES,int) Trailing.mqh 251 8

'iLow' - ambiguous call to overloaded function with the same parameters Trailing.mqh 299 19

could be one of 2 function(s) Trailing.mqh 299 19

   built-in: double iLow(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 299 19

   double iLow(string,ENUM_TIMEFRAMES,int) Trailing.mqh 241 8

'iLow' - ambiguous call to overloaded function with the same parameters Trailing.mqh 299 50

could be one of 2 function(s) Trailing.mqh 299 50

   built-in: double iLow(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 299 50

   double iLow(string,ENUM_TIMEFRAMES,int) Trailing.mqh 241 8

'iLow' - ambiguous call to overloaded function with the same parameters Trailing.mqh 300 19

could be one of 2 function(s) Trailing.mqh 300 19

   built-in: double iLow(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 300 19

   double iLow(string,ENUM_TIMEFRAMES,int) Trailing.mqh 241 8

'iLow' - ambiguous call to overloaded function with the same parameters Trailing.mqh 300 50

could be one of 2 function(s) Trailing.mqh 300 50

   built-in: double iLow(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 300 50

   double iLow(string,ENUM_TIMEFRAMES,int) Trailing.mqh 241 8

'iLow' - ambiguous call to overloaded function with the same parameters Trailing.mqh 301 19

could be one of 2 function(s) Trailing.mqh 301 19

   built-in: double iLow(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 301 19

   double iLow(string,ENUM_TIMEFRAMES,int) Trailing.mqh 241 8

'iLow' - ambiguous call to overloaded function with the same parameters Trailing.mqh 301 50

could be one of 2 function(s) Trailing.mqh 301 50

   built-in: double iLow(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 301 50

   double iLow(string,ENUM_TIMEFRAMES,int) Trailing.mqh 241 8

'iLow' - ambiguous call to overloaded function with the same parameters Trailing.mqh 303 23

could be one of 2 function(s) Trailing.mqh 303 23

   built-in: double iLow(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 303 23

   double iLow(string,ENUM_TIMEFRAMES,int) Trailing.mqh 241 8

'iHigh' - ambiguous call to overloaded function with the same parameters Trailing.mqh 317 19

could be one of 2 function(s) Trailing.mqh 317 19

   built-in: double iHigh(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 317 19

   double iHigh(string,ENUM_TIMEFRAMES,int) Trailing.mqh 251 8

'iHigh' - ambiguous call to overloaded function with the same parameters Trailing.mqh 317 51

could be one of 2 function(s) Trailing.mqh 317 51

   built-in: double iHigh(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 317 51

   double iHigh(string,ENUM_TIMEFRAMES,int) Trailing.mqh 251 8

'iHigh' - ambiguous call to overloaded function with the same parameters Trailing.mqh 318 19

could be one of 2 function(s) Trailing.mqh 318 19

   built-in: double iHigh(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 318 19

   double iHigh(string,ENUM_TIMEFRAMES,int) Trailing.mqh 251 8

'iHigh' - ambiguous call to overloaded function with the same parameters Trailing.mqh 318 51

could be one of 2 function(s) Trailing.mqh 318 51

   built-in: double iHigh(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 318 51

   double iHigh(string,ENUM_TIMEFRAMES,int) Trailing.mqh 251 8

'iHigh' - ambiguous call to overloaded function with the same parameters Trailing.mqh 319 19

could be one of 2 function(s) Trailing.mqh 319 19

   built-in: double iHigh(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 319 19

   double iHigh(string,ENUM_TIMEFRAMES,int) Trailing.mqh 251 8

'iHigh' - ambiguous call to overloaded function with the same parameters Trailing.mqh 319 51

could be one of 2 function(s) Trailing.mqh 319 51

   built-in: double iHigh(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 319 51

   double iHigh(string,ENUM_TIMEFRAMES,int) Trailing.mqh 251 8

'iHigh' - ambiguous call to overloaded function with the same parameters Trailing.mqh 321 23

could be one of 2 function(s) Trailing.mqh 321 23

   built-in: double iHigh(const string,ENUM_TIMEFRAMES,int) Trailing.mqh 321 23

   double iHigh(string,ENUM_TIMEFRAMES,int) Trailing.mqh 251 8

expression not boolean ChartCanvas.mqh 129 53

'method' - undeclared identifier MenuItem.mqh 228 110

'method' - some operator expected MenuItem.mqh 228 110

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 275 46

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 275 46

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 275 46

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 275 46

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 975 30

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 975 30

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 975 30

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 975 30

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 1070 113

   'ENUM_SORT_MODE::SORT_DESCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_DESCEND' Table.mqh 1070 113

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 1071 29

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 1071 29

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 1071 29

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 1071 29

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 1073 29

   'ENUM_SORT_MODE::SORT_DESCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_DESCEND' Table.mqh 1073 29

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 1073 29

   'ENUM_SORT_MODE::SORT_DESCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_DESCEND' Table.mqh 1073 29

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 1081 47

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 1081 47

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 1703 53

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 1703 53

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' Table.mqh 1711 53

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' Table.mqh 1711 53

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 444 58

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 444 58

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 444 58

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 444 58

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1050 30

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 1050 30

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1050 30

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 1050 30

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1360 113

   'ENUM_SORT_MODE::SORT_DESCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_DESCEND' CanvasTable.mqh 1360 113

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1361 29

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 1361 29

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1361 29

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 1361 29

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1363 29

   'ENUM_SORT_MODE::SORT_DESCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_DESCEND' CanvasTable.mqh 1363 29

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1363 29

   'ENUM_SORT_MODE::SORT_DESCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_DESCEND' CanvasTable.mqh 1363 29

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1650 53

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 1650 53

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 1658 53

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 1658 53

implicit conversion from 'enum ENUM_SORT_MODE' to 'enum ENUM_SORT_MODE' CanvasTable.mqh 2204 44

   'ENUM_SORT_MODE::SORT_ASCENDING' will be used instead of 'ENUM_SORT_MODE::SORT_ASCEND' CanvasTable.mqh 2204 44

28 errors, 25 warnings 29 26


Regards,

Sathish

 

rename to enum ENUM_SORT_MODE_