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

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

author EAcpu | 5 reads | 0 comments |

ForexLine - indicator for MetaTrader 5

A trend indicator in the form of a moving average that changes color depending on the direction of the trend. Trend direction is determined using the relative position of two smoothed averages, one fast and the other slow.

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

The indicator was originally written in MQL4 and first published in the code base on January 4, 2016.

ForexLine - indicator for MetaTrader 5

Figure 1. Forex Line Indicator


Attachment download

📎 ForexLine.mq5 (9.86 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #14857

Verification code Refresh