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
Experts

One MA EA - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
5730
Rating:
(14)
Published:
2018.08.23 13:17
One MA EA.mq5 (31.39 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Author of the idea: Iurii Tokman

MQL5 code author: barabashkakvn

The EA trades by a single iMA (Moving Average, MA) indicator. All indicator parameters are included to the inputs. Operation is performed at each tick: as soon as a signal is received and there are no open positions in the direction of a signal, the signal can be executed.


Position opening decision logic

Indicator data are taken from Current Bar (get MA). Open, High and Low data are taken from Current Bar (get OHLC). Conditions for being in the channel, where the upper border is calculated as "MA" plus Ceiling of the channel and the lower one is "MA" minus Floor of the channel.


Levels

Stop Loss and Take Profit parameters can be disabled. To do this, set "0". Keep in mind that if Stop Loss is "0", we may receive frozen loss-making positions that are never closed by the EA.

Sample test on EURUSD M15:

One MA EA

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

Chaikin_Volatility_Histogram Chaikin_Volatility_Histogram

Chaikin volatility indicator as a colored histogram.

3sma 3sma

The EA based on three iMA (Moving Average, MA) indicators.

AMA Histogram Normalize AMA Histogram Normalize

Version of the AMA Histogram indicator.

Ozymandias_System_Alert Ozymandias_System_Alert

Ozymandias_System indicator provides alerts, sends email and push notifications when the candles break through the indicator channel.