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

2006.10.27 16:06

DS Stochastic - indicator for MetaTrader 4

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

votes: 4

The Indicator DS_Stochastic presents an original Stochastic Oscillator (Stoch), in which aplying EMA smoothing.

The Indicator Fast Stochastic is removed on graph in the manner of two lines %K and %D.

The Formula of the calculation of the indicator Fast Stochastic is following:

DIF1(i) = EMA(Close(i) - MaxHigh(N), S);

DIF2(i) = EMA(MaxHigh(N) - MinLow(N), S);

%K(i) = 100*DIF1(i) / DIF2(i);

%D(i) = 100*EMA(DIF1(i), P) / EMA(DIF2(i), P);

Close(i) - a price of the closing of the current bar;
MaxHigh(N) - maximum High for N previous period;
MinLow(N) - minimum Low for N previous period;
EMA - exponential moving average;
N - a length of the range of the calculation High/Low;
S - a period of the smoothing for %K(i);
P - a period of the smoothing for %D(i).

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Yen Trader Yen Trader

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.