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 | EF distance

The real author:

Doji Starr

Another variation on Moving Averages...

Indicator input parameters:

//+-----------------------------------+
//|INDICATOR INPUT PARAMETERS         |
//+-----------------------------------+
input int Length=10; //the depth of smoothing                    
input double Power=2.0; //the degree of averaging
input Applied_price_ IPC=PRICE_CLOSE;//price constant
/* , on which the indicator calculations performed ( 1-CLOSE, 2-OPEN, 3-HIGH, 4-LOW, 
  5-MEDIAN, 6-TYPICAL, 7-WEIGHTED, 8-SIMPL, 9-QUARTER, 10-TRENDFOLLOW, 11-0.5 * TRENDFOLLOW.) */
input int Shift=0; // horizontal shift of the indicator in bars
input int PriceShift=0; // vertical shift of the indicator in points 

This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 18.09.2008.  

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1 The EF_distance indicator 

1362

Best MetaTrader Indicators + Profitable Expert Advisors