stochastic indicator calculations
-
Q. Can anyone confirm/or deny that the stochastic indicator is calculated differently in MT4 ?
I seem to think so, as I was testing my EA against our manual (visual/ old school way) and the entries were different. I discovered the stochastic with the same settings were different.
if the calculation is different. Does anyone no how to emulate the MT4 code ? As all our structure is based on this.
Found this on, https://www.mql5.com/en/forum/139095
MT4 averages C-LL then divided by average of HH-LL instead of taking the average of (C-LL)/(HH-LL) ....
-
I have no idea if it is true or not, but you can check it easy. Create an EA to catch ever bar's value of the indicator and print them on the log file. Then check them out visually on your platform.