Indicators: Convergent Divergent Range Volatility

 

Convergent Divergent Range Volatility:

The indicator analyzes price volatility for optimal setting of Take Profit and Stop Loss.

Indicator

Author: raposter

 

A revision is need for proper operation of the indicator when the MT4 platform is restarted.

In the Start()  function, the modified code is:

    if(counted_bars<1)

     {

      for(i=1;i<=SMAPeriod;i++) CnvBuffer[Bars-i]=0.0;

      for(i=1;i<=SMAPeriod;i++) DvrBuffer[Bars-i]=0.0;

      BCtr=0;

      BarPrev=0;

     } 

Corrected file is also attached. 

Files:
Reason: