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:
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Convergent Divergent Range Volatility:
The indicator analyzes price volatility for optimal setting of Take Profit and Stop Loss.
Author: raposter