- 显示:
- 3563
- 等级:
- 已发布:
- 2006.10.27 16:06
- 已更新:
- 2014.04.21 14:56
-
需要基于此代码的EA交易或指标吗?请在自由职业者服务中订购 进入自由职业者服务
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);
where:
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).

由MetaQuotes Ltd译自俄语
原代码: https://www.mql5.com/ru/code/10054

The Indicator ZeroLag Stochs_true is an George C. Lane’s indicator Stochastic Oscillator (Stoch) with zero delay.

The Indicator Fast Stochastic is a kind of George C. Lane’s stochastic oscillator.

The Expert Adviser ZeroLagEA-AIP v0.0.4 uses for calculation of the signal indicator ZeroLag MACD, which is an indicator Moving Average Convergence/Divergence, MACD with zero delay.

The purpose of this indicator is to identify market fases that have too small amplitudes. These fases are useless even for systems designed for trading ranges markets. When the green line is BELOW the gray line - DON'T trade.