Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Experts

ma-shift Puria method - expert for MetaTrader 5

| English Русский 中文 Español Deutsch Português

Published by:
Vladimir Karputov
Views:
692
Rating:
votes: 14
Published:
2018.01.22 10:03

Author of the idea: Sergey Deev, mq5 code author: barabashkakvn.

The Expert Advisor is based on Puria method with a few changes.

The EA does not use the signal of intersection of fast and slow MAs, but uses their movement in one direction instead. The signal is confirmed by the crossover of MACD and its zero level and the slope of MA, which is measured as a number of pips per tick (parameter Shift (vertically) between MA Fast and MA Slow). The EA uses a traditional trailing stop function or the fractal-based trailing.

Optimization was performed using OHLC prices on the period of 2010, testing was performed in the Every Tick mode using data for 2010-2017:

ma-shift Puria method


Input Parameters

  • Manual lot: "true" -> use MANUAL lot, "false" -> use risk percent - position volume calculation principle: manual or percent of free margin;
  • Lots - manually set position volume;
  • Stop loss (in pips) - stop loss value;
  • Take profit (in pips) - take profit value;
  • Trailing stop, if use Fractal trailing - do not use Trailing (in pips) - trailing stop value, the option should be disabled if fractal based trailing is used;
  • Trailing step (in pips) - trailing step value;
  • Risk in percent for a deal from a free MARGIN - risk per trade as percent of free margin;
  • Maximum number of positions in one direction - sets the maximum number of open positions in one direction;
  • magic number - Expert Advisor identifier;
  • Fractal trailing, if use Trailing stop - do not use Fractal trailing - fractal based trailing, should be disabled if traditional trailing is used;
  • MA Fast: averaging period - the averaging period of the fast Moving Average;
  • MA Slow: averaging period - the averaging period of the slow Moving Average;
  • Shift (vertically) between MA Fast and MA Slow (in pips) - minimum vertical distance between two Moving Averages;
  • MACD: period for Fast average calculation - fast moving average period;
  • MACD: period for Slow average calculation - slow moving average period.

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/19578

Momo_trades Momo_trades

The Expert Advisor trades based on the signals of iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). The minimum distance between the price and the MA indicator is taken into account.

ichimok2005 ichimok2005

An Expert Advisor based on the iIchimoku (Ichimoku Kinko Hyo) indicator. Fixed lot.

Four clicks to draw an arc-shaped channel Four clicks to draw an arc-shaped channel

A quick way to draw an arc-shaped channel using four mouse clicks.

Dealers Trade v 7.91 ZeroLag MACD Dealers Trade v 7.91 ZeroLag MACD

A further development of code "Dealers Trade v 7.74 MACD" (https://www.mql5.com/en/code/19535). "Zero-lag MACD" (https://www.mql5.com/en/code/170) is used. When the number of positions increases, the following is also increased: step between positions, lot size, take profit (martingale).