Indicators: iMax3

 

iMax3:

iMAX3 indicator - Fast Trend Detector

iMax3

Author: Scriptor

 

It seems like the indicator does not work on latest MT5 build.

By changing this initialization of the arrays to this it works:

      ArrayInitialize(BufferHPX0,0);
      ArrayInitialize(BufferHPX1,0);
      ArrayInitialize(BufferHP0,0);
      ArrayInitialize(BufferHP1,0);
      ArrayInitialize(BufferIMAX0,0);
      ArrayInitialize(BufferIMAX1,0);

Unless changing this, all values become EMPTY_VALUE, and the indicator does not show. I do think this might be a MT5 bug or change. (Cannot find info on it in the changelog though)

 
Leif Christian Ringstad:

It seems like the indicator does not work on latest MT5 build.

By changing this initialization of the arrays to this it works:

      ArrayInitialize(BufferHPX0,0);
      ArrayInitialize(BufferHPX1,0);
      ArrayInitialize(BufferHP0,0);
      ArrayInitialize(BufferHP1,0);
      ArrayInitialize(BufferIMAX0,0);
      ArrayInitialize(BufferIMAX1,0);

Unless changing this, all values become EMPTY_VALUE, and the indicator does not show. I do think this might be a MT5 bug or change. (Cannot find info on it in the changelog though)

Thanks! This worked, I guess new versions of MT5 require initialization to 0...
Reason: