Indicators: RSICandleKeltner

 

RSICandleKeltner:

The RSI indicator in a candlestick form with the Keltner channel calculated relative to RSI averaging.

Fig1. The RSICandleKeltner indicator

Author: Nikolay Kositsin

 

Very Nice...

Does this indicator have a version for MT4?
 
Automated-Trading:

RSICandleKeltner:

Author: Nikolay Kositsin

The indicator is a little bit wrong. It needs to be corrected.

this

      double Max=MathMax(ExtOpenBuffer[bar],ExtCloseBuffer[bar]);
      double Min=MathMin(ExtOpenBuffer[bar],ExtCloseBuffer[bar]);

      ExtHighBuffer[bar]=MathMax(Max,ExtHighBuffer[bar]);
      ExtLowBuffer[bar]=MathMin(Min,ExtLowBuffer[bar]);

this

      double Max = MathMax(ExtOpenBuffer[bar], ExtCloseBuffer[bar]);
      Max = MathMax(Max, ExtLowBuffer[bar]);
      Max = MathMax(Max, ExtHighBuffer[bar]);

      double Min = MathMin(ExtOpenBuffer[bar], ExtCloseBuffer[bar]);
      Min = MathMin(Min, ExtHighBuffer[bar]);
      Min = MathMin(Min, ExtLowBuffer[bar]);

      ExtHighBuffer[bar] = Max;
      ExtLowBuffer[bar] = Min;

In this form, the display of candlesticks is correct.

I have attached the file of the correct indicator. If you do not see the attached file, click on Go to the discussion on the traders forum

Индикаторы: RSICandleKeltner
Индикаторы: RSICandleKeltner
  • 2017.01.24
  • www.mql5.com
RSICandleKeltner: Автор: Nikolay Kositsin...
Files: