Skip to content

Simple moving average crossover expert advisor for MetaTrader 5

Notifications You must be signed in to change notification settings

5oclockshadow/MT5-MA-Crossover-Bot

This branch is up to date with LucasMarianoVieira/MT5-MA-Crossover-Bot:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9be2c56 · Sep 12, 2017

History

4 Commits
Sep 11, 2017
Sep 11, 2017
Sep 12, 2017

Repository files navigation

MT5-MA-Crossover-Bot

This is the code for a very simple Expert Advisor(bot) for the algorithmic trading plataform MetaTrader 5.

This bot works using the moving average crossover strategy. In this strategy, the bot calculates two moving averages over the given price, per default the price used is the closing price for the period.

When the short-term moving average crosses above the long-term average, the bot closes its current position and issues a buy order with the given stop loss and take profit margins.

Similary, when the short-term moving average crosses under the long-term average, the bot closes its current position and issues a sell order.

The user can change several parameters like the periods of the averages, the price used, the type of average, the stop loss and take profit margins and the volume to be negociated.

About

Simple moving average crossover expert advisor for MetaTrader 5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MQL5 100.0%