This is one thread about - Stochastic
thanks @Sergey Golubev
good thread, unfortunately does not help me understand more of what is going in that piece of code.
do you have any idea?
billysballo:
thanks @Sergey Golubev
good thread, unfortunately does not help me understand more of what is going in that piece of code.
do you have any idea?
I am not a coder sorry..

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 the Stochastic Indicator that you can find in MT4, there is a recurring if statement
which I do not understand. Why does it subtract -2 ? what the point of the code above?
This is the onCalculate() function to give a bit more of context around the code above: