Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5416
- Rating:
- Published:
- 2018.06.16 10:08
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Slow Stochastic oscillator shows in a separate window a stochastic calculated as follows:
SSD[i] = SMA(FSK,PeriodD)
SSDS[i] = SMA(SSD,Slowing)
where:
FSK[i] = (min / max) * 100.0, SSD[i] = SMA(FSK,PeriodD), min = close[i] - low[BL], max = high[BH] - low[BL], BH is the highest price index within the range from PeriodK to i, BL is the lowest price index within the range from PeriodK to i,
if max = 0,
FSK[i] = 50.0
The indicator has five input parameters:
- Period K - the period of calculating line K;
- Period D - the period of calculating line D;
- Slowing - the slowing period;
- Overbought - overbought level;
- Oversold - oversold level.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20571

Fast Stochastic.

Instantaneous Trendline - John Ehlers "instantaneous" trendline.