거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
11294
평가:
(4)
게시됨:
2008.06.07 07:37
업데이트됨:
2014.04.21 14:52
HarVesteR.mq4 (4.44 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The original of the trade strategy is available by this link:
http://www.unfx.ru/strategies_to_trade/strategies_131.php

The EA was written to check the effectiveness of the trade strategy, described by the author. The educt and the description of EA parameters can be viewed in our lates journal number:
http://www.fortrader.ru/ftgate.php?id=0&num=42

Short Description of EA Algorithm:

1. Time period: H1-D;
2. Instrument: Trend financial instruments;
Volume: whole lot; (0.2,0.4,0.8,1.0 и т.д).
3. Indicator: MA with the period of 50, MA with the period of 100. MACD with standard parameters.

Buy signal
The price is above the MA indicator with the period of 50 and 100 by 10 points, MACD is above zero. At that, the MACD must have the negative values for five last bars before the signal has appeared. StopLoss is set on the minimum of last five bars.

Sell signal
The price is below the MA indicator with the period of 50 and 100 by 10 points, MACD is below zero. At that, the MACD must have the positive values for five last bars before the signal has appeared. StopLoss is set on the maximum of last five bars.


Management of positions
1. Once the signal has appeared the order is opened on a whole lot.
2. The first target is specified on the double StopLoss level; as soon as the objective is reached, half of the position will be closed. The StopLoss will be moved to the lossless level.


Position closing
The opened position is closed by the StopLoss, otherwise the remaining half of the position is closed as the price crosses the 50-period average from top downward by 10 points for buy and as the price crosses the 50-period average bottom up by 10 points for sell.

Testing of the EA with the standard parameters:

After optimization of parameters:

You can view the full analysis of the strategy with the test on future quotes in our journal:
http://www.fortrader.ru/ftgate.php?id=0&num=42


P.S. All the possible variables of the strategy are taken to the external varibles, you can pick out not bad parameters for the intraday charts too, experiment. It is preferably to test on the ticks, because the profit is closed at the market.








MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/8158

StepByStep StepByStep

A step-by-step passing of historical data for manual testing of trading.

Interception Interception

Script interception of pressing keys or mouse buttons in the windows of MetaTrader 4. It can be helpful in writing controls.

Normalized Volume Normalized Volume

Indicator of the normalized volume

Karbofos Karbofos

A simple system without indicators.