https://forum.mql4.com/47539
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
Hi,
In most of the literature around the Stochastic oscillator is defined as:
%K = 100*(CLOSE - MIN (LOW, Pk), Sk) / (MAX (HIGH, Pk) - MIN (LOW, Pk)), Sk)
However in MT4 the Stochastic is defined as:
%K = 100*SUM (CLOSE - MIN (LOW, Pk), Sk) / SUM (MAX (HIGH, Pk) - MIN (LOW, Pk)), Sk)
The main difference is the summation over a period Sk in both the numerators and denominators. Why is this? Are the two definitions equivalent?
Thank you,
Nikos