LTOptions at a 33% discount during the Year End Holidays.
Tell me More

Sunday, August 21, 2016

Price/Moving Average Crossover indicator with alerts

The Price/Moving Average Crossover indicator displays crosses of price over or under a Moving Average of your choice. In order to not have to be glued to your computer, the indicator is able to send alerts via email (with attached screenshot of the chart), notification to your mobile device (Android, iPhone, iPad, etc), and additionally a pop up message and/or sound alerts in the Metatrader platform itself. That’s four different ways to alert the user. The period of the moving average can be customized, as well as the method (Simple, Exponential, Smoothed, Weighted).

Here's the indicator in action, displaying crosses price above and under a 50 Simple Moving Averages. These crosses would have optionally triggered alerts through all the vehicles mentioned earlier (email, mobile notification, pop up message, sound alert):

(Click on Image to enlarge)

The indicator was built for the Metatrader platform and will mostly be used therefore by Forex traders.

Once you add the indicator to a chart, you get the Parameters Dialog Box. Go to the Inputs tab to configure the parameters:

movingAveragePeriod: Period length for the Moving Average of your choice

movingAverageMethod: Possible values are SMA = Simple, EMA = Exponential, SMMA = Smoothed, LWMA = Linear Weighted

movingAverageAppliedTo: Price used for the calculation of the moving average. Possible values are CLOSE, OPEN. HIGH, LOW, MEDIAN 

displayPopUpAlert: true or false depending on whether you want an alert dialog inside Metatrader to be displayed when a new crossover is confirmed.

displaySoundAlert: true or false depending on whether you want a sound alert to be played when a new crossover is confirmed.

soundAlertFile:The sound file to be played if displaySoundAlert is set to true. The file must be located in the /Sounds/ directory of your MetaTrader installation folder.

sendMobileAlert: true or false depending on whether you want to receive notifications in your mobile device (Android, iPhone, iPad) when an alert is issued by the indicator. Your device must be configured in MT4 via Tools -> Options -> Notifications. For more information visit this guide.

Finally, the Email Settings.
The indicator has its own implementation of an email sender engine. That means, it doesn't use the built in engine of Metatrader, but its own. The reason for that is in order to be able to send emails with attachments (chart screenshots) and also to provide users with the ability to have email alerts sent to popular public email servers such as Gmail. Those two features cannot be accomplished with Metatrader's email sender. 

sendEmailAlert: Whether or not you want the indicator to send email alerts when a signal is triggered.

server: The public SMTP server of your email provider. is used by default.

user: your complete email address

pass: your password

port: The Port open on your SMTP server of choice. For Gmail it is 465.

sendChartScreenShot: when set to true it will attach an image of the chart to the email alert.

I hope this indicator becomes useful in your trading, and that you can benefit from it.

Price/Moving Average Crossover Indicator $15.00

Buy Now

It is a one time payment only and you can use the indicator indefinitely in as many Metatrader accounts as you want. As part of the purchase you receive a pdf guide with clear step by step instructions on how to install the indicator and how to set up the parameters. If you have any problem with the indicator feel free to contact me at

This tool is related to the Moving Average Crossover Indicator, which is a pure crossover between two moving averages, instead of price and a moving average. If you are interested in getting both, you can do so at a 33% discount.

Moving Average Crossover Indicator
Price/Moving Average Crossover Indicator
(a $30 value for only $20, a 33% discount)

Buy Now

Thanks for your interest.
For more indicators and tools feel free to visit the Products page

Related Articles:

Moving Average Crossover indicator
How to measure a system's edge
An expectancy analysis of Regular MACD Divergences for the EURUSD currency pair
Stochastics Divergence Indicator for Metatrader
RSI Divergence Indicator for Metatrader

Go to the bottom of this page in order to see the Legal Stuff

No comments:

Post a Comment