Join our fan page
- Published by:
- Vladimir Karputov
- Views:
- 6183
- Rating:
- Published:
- 2018.08.23 13:26
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The author of the idea: Andrey Baluev
MQL5 code author: barabashkakvn
The EA only operates when a new bar appears. Position volume is set in the Lots parameter. Separate Stop Loss Buy, Stop Loss Sell, Take Profit Buy and Take Profit Sell parameters are provided for Buy and Sell positions, while Trailing Stop and Trailing Step are the same for all position types.
Maximum positions allows you to set the maximum number of positions opened at a time.
The EA defines a trend by crossing of two Moving Average indicators (First and Second). The Minimum distance between MA's for Buy and Minimum distance between MA's for Sell parameters define the minimum acceptable distance between the Moving Average indicators (First and Second).
After defining a trend direction, the filters are enabled: iATR (Average True Range, ATR) and iStdDev (Standard Deviation, StdDev) indicators with separate input parameters for Buy and Sell.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21523

The EA is based on two iMAs (Moving Average, MA) and iMomentum (Momentum) filter crossing.

The Rj_SlidingRangeRj_Digit_System indicator with the timeframe selection option available in the input parameters.