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 4 Indicator | Highest High and Lowest Low in Neighbourhood

MetaTrader Experts, Indicators, Scripts and Libraries

This code identifies highest high and lowest low in the neighbourhood.

This code compares the high of candles with the high of the candles to its left and to its right. If the high of the candle in question is more than the high of the candle to its left or to its right then the an arrow is plotted.

Similarly for lows.

37561