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 | Alert Crossing Moving Average Nth Bar

An alert (an audio alert, email and push notification) is generated when the iMA (Moving Average, MA) indicator crosses the bar with index N.

MetaTrader Experts, Indicators, Scripts and Libraries

Input Parameters:

  • period of ma - Moving Average indicator averaging period;
  • ma_shift - shift of the Moving Average indicator;
  • ma_method - MA averaging method;
  • applied_price - the price used for the Moving Average calculation;
  • Play sound - flag for playing an audio file;
  • sound_filename - the name of the audio file;
  • Send mail - flag for sending email notifications;
  • Send notification - flag for sending push notifications;
  • N bar - the index of the bar, for which intersection with the Moving Average is checked.
19335

Best MetaTrader Indicators + Profitable Expert Advisors