Indicators: RSI accumulated (floating levels)

 

RSI accumulated (floating levels):

RSI accumulated (floating levels).

Author: Mladen Rakic

 

Hi Mladen,

Could you please explain the indicator Alert's messages ?

" lower level broken down" means breakout direction for sell trade or wait for long trade ?

" lower level broken up " means buy trade ? 

Thanks for your helps

 

спасибо Младен 

 
 Младен

у меня не работает почему то.

 
Артем Белов:

у меня не работает почему то.

Add this line :

for (int i=0; i<indicator_buffers; i++) SetIndexStyle(i,DRAW_LINE);

to the start of OnInit() and it will work just fine (that is the issue that build 1090 has with lines)

 
sgnlforex #:

Hi Mladen,

Could you please explain the indicator Alert's messages ?

" lower level broken down" means breakout direction for sell trade or wait for long trade ?

" lower level broken up " means buy trade ? 

Thanks for your helps

void manageAlerts()

  {

   if(alertsOn)

     {

      int whichBar=1; if(alertsOnCurrent) whichBar=0;

      if(state[whichBar]!=state[whichBar+1])

        {

         if(state[whichBar] == -1)                            doAlert(whichBar," lower level broken down");

         if(state[whichBar] ==  1)                            doAlert(whichBar," upper level broken up");

         if(state[whichBar] ==  0 && state[whichBar+1] == -1) doAlert(whichBar," lower level broken up");

         if(state[whichBar] ==  0 && state[whichBar+1] ==  1) doAlert(whichBar," upper level broken down");

        }

     }

  }

Reason: