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 | Average penetration bars

As described by Markos Katsanos and his article in the June 2018 edition of Technical Analysis of Stocks and Commodities magazine.

Additional choice of what is used for penetration criteria (in original only close price is used, in this version you can chose to use high/low instead too). Also, instead of using only simple moving average for averaging, it can be done using one of the 4 averages types:

  • Simple Moving Average
  • Exponential Moving Average
  • Smoothed Moving Average
  • Linear Weighted Moving Average

And finally : found one idea for calculating the trend that comes from someone that calls himself "Vonasi" on the net. I liked the idea (it is not showing the usual "greater than" or "smaller than" trend) and used it in this indicator too (as an option, so this indicator can calculate the trend the "classical" way as well as that custom way). Also, regardless of the indicator name, you can chose to display colored bars as well as colored candles

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

21924