Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Alert Crossing Moving Average Nth Bar - indicator for MetaTrader 5

Views:
10122
Rating:
(26)
Published:
2018.01.22 09:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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

Alert Crossing MovingAverage Nth Bar


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.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19335

MAMACD MAMACD

A strategy based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD).

Count of candles in interval (histogram) Count of candles in interval (histogram)

The indicator shows the number of bullish and bearish bars in the given interval.

ShadeOpen ShadeOpen

The indicator marks the time period specified in the indicator settings using colored rectangles.

ShadeOpenX ShadeOpenX

The indicator marks the current day's time period specified in the indicator settings using colored rectangles.