당사 팬 페이지에 가입하십시오
- 게시자:
- Vladimir Karputov
- 조회수:
- 9154
- 평가:
- 게시됨:
- 2018.01.22 09:57
- 업데이트됨:
- 2018.02.28 14:40
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Author of the idea: bobby, mq5 code author: barabashkakvn.
The EA uses two indicators: MA Cross 3MACross Alert WarnSig and Price Channel.
The following three options are available for setting stop loss and take profit:
- Trailing Stop is greater than zero. In this case a usual trailing stop function will be applied to positions;
- Auto SL/TP is set to 'true'. In this case the TP and SL levels are determined based on the "Price Channel" indicator;
- BreakEven is greater than zero: if a position has reached 'BreakEven' points of profit, the position is moved to BreakEven points.
Important note: only one of the three options can be selected. If one of the options is selected, the other two must be disabled. For example BreakEven is set to 15. Then the Trailing Stop parameter must be set to zero, and Auto SL/TP must be set to false (these are the default EA parameters).
Also, there are two options for setting position volume: fixed lot equal to Lots or risk percent of free margin Risk in percent for a deal from a free margin. Only one option can be selected: if Lots is equal to or less than zero, risk percent per trade will be used.
The EA was optimized for USDJPY,H1 (these parameters are used in the EA by default):
Input Parameters
- Trade parameters:
- Lots (if <=0 -> use risk from a free margin) - position volume;
- Stop Loss
- Take Profit
- Trailing Stop
- Risk - risk per trade as percent of free margin;
- Auto SL/TP - stop loss and take profit based on the "Price Channel" indicator;
- Trade at close bar - trading on a closed bar: if 'true' the EA uses data of bar #1, if 'false' the EA trades on bar #0;
- BreakEven;
- Max open positions - the maximum allowed number of positions in one direction.
- MA Cross 3MACross Alert WarnSigindicator parameters:
- Parameters of the first Moving Average:
- Period of the first Moving Average;
- Shift of the first Moving Average;
- Method of the first Moving Average.
- Parameters of the second Moving Average:
- Period of the second Moving Average;
- Shift of the second Moving Average;
- Method of the second Moving Average.
- Parameters of the Third Moving Average:
- Period of the third Moving Average;
- Shift of the third Moving Average;
- Method of the third Moving Average.
- Parameters of the first Moving Average:
- crossesOnCurrent;
- alertsOn;
- alertsMessage;
- alertsSound;
- alertsEmail;
- Price Channel indicator parameters:
- InpChannelPeriod - calculation period (the number of bars).
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/19525
![MA Cross 3MACross Alert WarnSig](https://c.mql5.com/i/code/indicator.png)
Crossover of three iMAs (Moving Average, MA). Alert, sound notification and email notification of the first crossover. Arrows mark the crossover.
![Precipice MartIn](https://c.mql5.com/i/code/expert.png)
A trading strategy using the Martingale system.
![Dealers Trade v 7.74 MACD](https://c.mql5.com/i/code/expert.png)
The EA trades using signals of the iMACD (Moving Average Convergence/Divergence, MACD) indicator. Lot is increased when the number of position grows (Martingale)
![Show Pips](https://c.mql5.com/i/code/expert.png)
Information about profit, points, percent, spread and time remaining until the close the bar on the current currency pair and timeframe in a compact and convenient form.