Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Go

Real author:

Victor Chebotariov

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:

  1. Zero line upward crossing - BUY;
  2. 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.

MetaTrader Experts, Indicators, Scripts and Libraries

440

Best MetaTrader Indicators + Profitable Expert Advisors