Indicators: RSI + MOVING AVERAGE - page 2

 
lippmaje:

Don't post screenshots of code, use the code buttons to add it here.

Yes, it is noted. It will also be easier to do. :)


lippmaje:

Either change this line:

Or use a shift >0 in your iCustom call.

It's good now! I can advance and optimize my code.

Thanks :)

 

I try to read indicator buffers using iCustom .

But it returns EMPTY VALUE (214753....)

 

Use some other indicator

Among other things, in :

   for(int i=rates_total-prev_calculated-1; i>0; i--)

rates_total-prev_calculated-1 will result in -1 (ie: no calculation) for every new tick

You are getting empty value for all those new bars that were skipped to be calculated
 
Luc Levesque:

I try to read indicator buffers using iCustom .

But it returns EMPTY VALUE (214753....)

Problem resolved, please download the code again and try it again

 
Luc Levesque:

I try to read indicator buffers using iCustom .

But it returns EMPTY VALUE (214753....)

Thank you. It works perfectly.

Nice indicator

 
Can you add Over bought and over sold levels with alert to it?
 
Seyed Hadi Ghoreishimedyseh:


Moving average counts the price of the last 14 RSI candles I've seen in some places  traders look for this indicator.

 Using this indicator depends on your strategy.

Thanks for your work. Long time I used RSI+MA10 manually on F&O Trading. But I could not overlap MA with RSI in MT4 / MT5 Platform. What is the use of two MAs. Can you please clarify. I Hope one MA is enough as crossover with RSI.

Files: