당사 팬 페이지에 가입하십시오
- 조회수:
- 4970
- 평가:
- 게시됨:
- 2013.12.18 10:50
- 업데이트됨:
- 2023.03.29 13:42
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
A trading system that uses the Candle Momentum indicator.
A trade decision is made when the momentum changes direction or at the breakthrough of the zero line. The following input parameter is used for selecting an entry algorithm option:
input AlgMode Mode=twist; //the algorithm to enter the market
For a correct operation of the EA, place the compiled indicator file BlauCMomentum.ex5 to the terminal_data_folder\MQL5\Indicators.
It should be considered that the TradeAlgorithms.mqh library file is designed to use Expert Advisors by brokers who offer nonzero spread and ability to set Stop Loss and Take Profit simultaneously opening a position. Other variants of this library can be downloaded from https://www.mql5.com/en/code/1578.
Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. The instances of history of deals on the chart.
Testing results for 2012-2013 at EURUSD H4:
Fig. 2. Chart of testing results
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/1935

A trading system that uses the Candle Momentum Index.

William Blau's Directional Trend Index in the form of a colored histogram.

Ergodic MACD-Oscillator implemented in the form of a color histogram.

Three Moving Averages with three different timeframes on one chart.