Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

EF_Distance - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 5 reads | 0 comments |

EF_distance - indicator for MetaTrader 5

Real author:

Another variation on the moving average…

Indicator input parameters:

 //+------------------------------------------------+
//|Indicator input parameters|
//+------------------------------------------------+
Input integer length = 10 ; //smooth depth
Enter double the power = 2.0 ; //average degree
Input application_price_IPC= PRICE_CLOSE ; //Price constant
/*, perform indicator calculation (1-CLOSE, 2-OPEN, 3-HIGH, 4-LOW, 
  5-Median, 6-Typical, 7-Weighted, 8-Simple, 9-Quarter, 10-Trend, 11-0.5 * Trend. )*/
Enter integer shift = 0 ; // horizontal movement of the indicator in bars
Input integer price movement = 0 ; // vertical movement of the indicator in points

The indicator was first implemented in MQL4 and published in the code base of mql4.com on September 18, 2008.

EF_distance - indicator for MetaTrader 5

Figure 1 EF_distance indicator


Attachment download

📎 ef_distance.mq5 (9.64 KB)

Source: MQL5 #1362

Verification code Refresh