Indicators: ATR Channels - page 2

 

Don't download the zip, it's crooked.

All errors are the same. The author forgot to specify the scope of "CXMA::" at each use.

Here is a piece of enum used in the indicator (there is nothing wrong with it itself, no need to fix anything).

class CXMA
  {
public:

   enum Smooth_Method
     {
      MODE_SMA_,  //SMA
      MODE_EMA_,  //EMA
      MODE_SMMA_, //SMMA
      MODE_LWMA_, //LWMA
      MODE_JJMA,  //JJMA.
      MODE_JurX,  //JurX
      MODE_ParMA, //ParMA
      MODE_T3,     //T3
      MODE_VIDYA,  //VIDYA
      MODE_AMA     //AMA
     };

Wherever there is Smooth_Method or its items in the indicator or header (mqh), you should add CXMA: before them:

Other messages about other errors will disappear by themselves.

 
I have not been able to install the indicator, it does not appear in the list. Please help me, what could be the reason. I copied the indicator to the "indicators" folder in mt5, copied the second file to includ. but when I try to open (insert - indicators) it is not in the list.
 
VVFF #:
I have not been able to install the indicator, it does not appear in the list. Please help me, what could be the reason. I copied the indicator to the "indicators" folder in mt5, copied the second file to includ. but when I try to open (insert - indicators) it is not in the list.

This is the source of the indicator. To run it, you need to copy it. Automatic compilation is performed when the terminal is loaded. Sometimes it does not happen. In this case, you will have to compile it manually. Open the main indicator file in Meta Editor and press F7.