Thanks!
Can we have mt4 version?

- www.mql5.com
I love this indicator, it immediately found a place in my way of trading, but sometimes it doesn't show up in M1, M5 and even M15.Would it be possible to fix the problem?
I love this indicator, it immediately found a place in my way of trading, but sometimes it doesn't show up in M1, M5 and even M15.Would it be possible to fix the problem?
I have been testing my trading algorithm using this indicator as part of my system, I get a similar problem.
I get errors copying the volatility data for some charts, after further checking i found 0 Divide errors at the line commented out:
double deviationAverage = m_array[i].sumd/(double)m_period; // return(deviationAverage != 0 ? m_array[i].deviation/deviationAverage : 1); if ((deviationAverage != 0) && (m_array[i].deviation != 0)){ return(m_array[i].deviation/deviationAverage); } else { return(1); }
I am not sure why this occurs i tried to fix it by modifying the code as seen, but maybe mladen can assist, theoretically 0 divide errors should be impossible with this code but it still seems to happen, it may be the chart data, as it does not happen with all charts, and even the ones it happens to are only temporary.
Example charts FRA40, XAUAUD

- www.mql5.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Volatility ratio:
Volatility ratio - standard deviations based
Author: Mladen Rakic