Watch how to download trading robots for free
Find us on Telegram!
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
Experts

Simple EA MA plus MACD - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
9984
Rating:
(31)
Published:
2018.11.20 12:48
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Author of the idea - Vladimir Khlystov

mq5 code author - barabashkakvn

This is a simple Expert Advisor using two indicators: iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). The EA opens only one position at a time, therefore it is able to work both on hedging and netting accounts.

First, the indicator looks for a signal bar: when a new bar (#0) appears, check if MACD indicator in bar #1 crosses the zero line. A crossing means a signal bar has been found. Sample signal SELL bar:

Signal "SELL" bar

As soon as a signal bar is found, remember High and Low prices of a signal bar and wait till the price breaks through one of the prices. In case of a SELL bar: if the price breaks through Low, open SELL,

Open SELL

if the price breaks through High, reset the SELL signal.

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

FT CCI MA FT CCI MA

The Expert Advisor is based on iCCI (Commodity Channel Index, CCI) and iMA (Moving Average, MA) indicators.

DayImpuls DayImpuls

Impulse detector. The indicator applies MovingAverages.mqh

Parabolic SAR EA Parabolic SAR EA

The Expert Advisor follows iSAR (Parabolic SAR) indicator.

Breakeven v3 Breakeven v3

Moving positions to breakeven