당사 팬 페이지에 가입하십시오
- 조회수:
- 11260
- 평가:
- 게시됨:
- 2010.09.21 11:20
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
An Expert Advisor opens position using two MACD indicators. It reverts the position in the case of loss. It uses a martingale with the limited number of doublings. The doublings can be disabled.
Input parameters:
- DML- amount of money, used for 1 lot;
- Ud - number of doublings. It starts from 0 - no doublings;
- Stop - stop loss in points;
- Tp - take profit in points;
- Slipage - slippage in points;
- MACD1Fast - Fast ЕМА of MACD, used for the entry;
- MACD1Slow - Slow ЕМА;
- MACD2Fast - Fast ЕМА of MACD, used to determine the trend;
- MACD2Slow - Slow ЕМА.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/186

The indicator allows to perform any arithmetic action with prices of two symbols and plot result on any other chart. It allows to calculate crosses (using multiplication and division), spread (subtract) or just to plot the other symbol's data on the chart.

There is a Price Channel indicator, but I don't like it, because it fills all the space between the upper and lower boundaries. This version of Price Channel looks like in MetaTrader 4.

The script calculates the number of lots to trade using the specified percentage of risk funds.

It plots the bar-averaged price charts (median price).