It is what I found in documentation here:
MQL5 Reference - Technical Indicators - iStochastic
int iStochastic( string symbol, // symbol name ENUM_TIMEFRAMES period, // period int Kperiod, // K-period (number of bars for calculations) int Dperiod, // D-period (period of first smoothing) int slowing, // final smoothing ENUM_MA_METHOD ma_method, // type of smoothing ENUM_STO_PRICE price_field // stochastic calculation method );

- www.mql5.com
%K = (C−L14/H14−L14) × 100
Wrong.
%K = ( (C−L14)/ (H14−L14) ) × 100
It is what I found in documentation here:
MQL5 Reference - Technical Indicators - iStochastic
Thanks, but I can't find how to calculate this, variables is here with comments:
handle=iStochastic(name,period,Kperiod,Dperiod,slowing,ma_method,price_field);
Function with all parameters that need to calculate, but nothing about how to calculate this ... if I'm setting "Slowing" to 0 - I will lost all data of Stochastic. I think that is multiplier, but I don't know how to set value for exclude their works here (zero is not good, maybe 1 ... )
Get full formula will be better ...
They are not write about too ...

- www.metatrader5.com
Learn to search the CodeBase: Stochastic Oscillator by MetaQuotes.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have this
but I see that in MT5 using additional parameter "Slowing" that change result, but I can't find formula with this parameter ... Maybe anybody know or maybe I can see it in the program sources?