Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2013.01.23 15:54

FastStochastic - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 13

The Fast Stochastic indicator is one of modifications of a popular stochastic oscillator of С. Lane's stochastic that means "fast stochastic". The main objective of the oscillator is definition of overbought / oversold zones of the market after which the price reversal comes.

The Fast Stochastic oscillator formula calculates the ratio of the current close price to the maximum or the minimum for a certain period, thus, the dynamics of the indicator can indicate the speed of the price action.

As a traditional Stochastic, the Fast Stochastic is realized in the chart in the form of %K and %D lines which are calculated using the following formula:

%K[i] = 100*(Price[i] — MaxHigh[N]) / (MaxHigh[N] — MinLow[N]);
%D[i] = MA(%K[i], P); 

This is a little modified version of the standard indicator, thus, its signals are represented by crossing of %K and %D lines and also the output from the critical ranges.

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging price series for intermediate calculations without using additional buffers".

Fig.1 The FastStochastic indicator

Fig.1 The FastStochastic indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

ADX Cross Hull Style ADX Cross Hull Style

A semaphore, arrow indicator drawn on the basis of the ADX technical indicator


The breakthrough trading system based on the signals of the TMA indicator

ChannelAnt ChannelAnt

The channel indicator that draws support and resistance lines.

Exp_MBKAsctrend3 Exp_MBKAsctrend3

The Expert Advisor drawn on the principle of the semaphore, signal MBKAsctrend3 indicator.