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 | Simple Support Resistance

The indicator shows on a price chart possible support/resistance levels.

Calculation formula:

Support[i] = 2*Min - Max,  Resistance[i] = 2*Max - Min  

where

Max, Min - the highest and the lowest price in the range from (i-Period) to (i-1)

The indicator has two input parameters:

  • Period - calculation period (* the range for the calculation of maximum and minimum prices);
  • Lines length - the length of the Support/Resistance levels.
* The larger the Period, the wider the area between the support line and the resistance line.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1. H1, Period = 1

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.2. H4, Period = 3

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.3. M5, Period = 15 (default)

20435

Best MetaTrader Indicators + Profitable Expert Advisors