Download MetaTrader 5

Indicators: Convergent Divergent Range Volatility

To add comments, please log in or register
Need mobile version of MetaTrader 5? Download it and trade!
Automated-Trading
Admin
99087
Automated-Trading 2015.05.22 11:55 

Convergent Divergent Range Volatility:

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

Indicator

Author: raposter

raposter
1153
raposter 2015.05.22 19:57  

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:
To add comments, please log in or register