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:
- 4636
- Rating:
- Published:
- 2018.06.16 10:08
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Fast Stochastic oscillator shows in a separate window a stochastic calculated as follows:
FSK[i] = (min / max) * 100.0,
FSD[i] = SMA(FSK,PeriodD)
where:
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 four input parameters:
- Period K - the period of calculating line K;
- Period D - the period of calculating line D;
- Overbought - overbought level;
- Oversold - oversold level.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20570