Join our fan page
- Published by:
- Nikolay Kositsin
- Views:
- 9709
- Rating:
- Published:
- 2011.09.14 12:46
- Updated:
- 2023.03.29 13:43
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
The indicator shows the current market trend.
It is calculated as follows:
Go = SMA(CLOSE[bar] - OPEN[bar], period)
where:
- OPEN[bar] - bar opening price;
- CLOSE[bar] - bar closing price;
- SMA() - smoothing algorithm;
- period - SMA() smoothing period;
- bar - bar index.
Indicator basic signals:
- Zero line upward crossing - BUY;
- Zero line downward crossing - SELL.
The author recommends to use this indicator with smoothing period 174, though it is possible to use other values.
The indicator uses the СMoving_Average class of the SmoothAlgorithms.mqh library. The use of the class was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
This indicator was first implemented in MQL4 and published in Code Base 03.08.2006.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/440

Extrapolator is a result of a long-term research in the field of Timeseries Forecasting. This indicator forecasts future price behavior.

Slow adaptive trend line with ultralinear and JMA smoothings.

Using JMA adaptive moving average is the best way to smooth price ranges with a minimum time lag.

The indicator generates buy and sell signals and issues alerts in case of the Stochastic Oscillator indicator overbought or oversold levels crossing.