Forex Trend Range detector MT4 Indicator

Forex Trend Range detector MT4 Indicator:

About the Forex Trend Range detector MT4 Indicator

Trend/Range Detector is an indicator that allows to determine with accuracy if the future price will range or trend in the following bars.

The Indicator is drawn in a separate window where two lines are displayed : the crossing of the main signal (blue) with a moving average (orange) will determine if each zone is a trending or ranging market.

Parameters :

  • period : the number of bars to look back (default = 20)
  • type : type of the main signal (trend or range) (default = RangeDetector)

Moving average :

  • showMovingAverage : display Moving Average line (default = true)
  • averagePeriod : value for the average period (default = 200)
  • MAMode : mode of the moving average (default = MODE_SMA)

Alerts :

  • MACrossingAlert : triggers an Alert when the moving average crosses the main line (default = true)
  • AudioAlert : triggers an Audio Alert in MT4 (default = true)
  • EmailAlert : triggers an Email Alert (default = true)
  • PushAlert : triggers a Push Alert (default = true)

Test results:

Forex Trend Range detector MT4 Indicator

Copy and paste the file into the MQL4 Indicators folder of the Metatrader 4 trading platform.

You can access this folder from the top menu as follows:

File > Open Data Folder > MQL4 > Indicators (paste here)

Other forex trading Expert Advisors

Leave a Comment