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

UniversalMACrossEA - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
3189
Rating:
(6)
Published:
2018.06.16 10:19
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Scriptor

MQL5 code by: Vladimir Karputov

The EA trades on two Moving Average indicators and allows selecting the method of defining the position size: Manually (having set the Lots parameter to more than zero, and the Risk parameter to zero) or in the risk percentage of free margin per trade (having set the Risk parameter to more than zero and the Lots parameter to zero).

Stop Loss, Take Profit, and Trailing can be enabled/disabled. You can trade within a limited time period (having set the Use Hour Trade parameter to "true" and defined the values of the Start Hour and End Hour parameters).

The test results on H1 in the "Every Tick" mode from 2018.01.01 to 2018.05.01:

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

2XMA_Ichimoku_Oscillator_HTF 2XMA_Ichimoku_Oscillator_HTF

Indicator 2XMA_Ichimoku_Oscillator with the timeframe selection option available in input parameters.

2XMA_Ichimoku_Oscillator 2XMA_Ichimoku_Oscillator

An oscillator based on the difference of two smoothed, different-period Tenkan-Sen lines in form of a colored histogram.

Sar_HTF_Alert Sar_HTF_Alert

Indicator iSAR with the timeframe selection option in input parameters, implemented in color, with the possibility to generate alerts when the trend changes its direction.

EA Moving Average EA Moving Average

The EA is based on Moving Average.mq5 from standard delivery. Working with OnTradeTransaction to get the price of the last closed position.