당사 팬 페이지에 가입하십시오
- 조회수:
- 5873
- 평가:
- 게시됨:
- 2012.03.05 10:53
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The signal is formed when a bar is closing. SilverTrend_Signal indicator's color dot serves as a market entry signal.
Place SilverTrend_Signal.ex5 compiled file to the terminal_data_folder\MQL5\Indicators.
Creation of a trading robot based on this trading signals module has nothing special in it. It has been described in details in the article "MQL5 Wizard for Dummies". The general idea of creating a trading signals module has been described in the article "Simple Trading Systems Using Semaphore Indicators".
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. Deals examples on the chart
Testing results for 2011 at USDCHF H4:
Fig.2. Test results chart
Note:
The Expert Advisor generated using MQL5 Wizard chooses the moments for opening and closing positions based on the results of the "voting" of trading signals added during the Expert Advisor creation. The main trading signals module (containing all added ones) also takes part in the "voting" but its LongCondition() and ShortCondition() methods always return 0.
Since the smoothing by the number of present modules (basic one + one additional module) is performed during the "votes" calculation, threshold values should be indicated considering this fact. For this reason, Signal_ThresholdOpen and Signal_ThresholdClose values must be set to 40=(0+80)/2 and 20=(0+40)/2, respectively, after creation of the Expert Advisor code using MQL5 Wizard.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/839
![Trading signals module based on ColorJFatl indicator](https://c.mql5.com/i/code/library.png)
Trading signals module for MQL5 Wizard. The moment, when ColorJFatl indicator changes its color, indicates the time for market entry.
![CFastFile - class for working with uchar array as a virtual file](https://c.mql5.com/i/code/library.png)
The CFastFile eliminates the need for an intermediate writing of data to the physical file on disk. It provides the significant acceleration when working with data.
![MA-Env](https://c.mql5.com/i/code/indicator.png)
Moving Average Envelopes.
![Price on Bollinger Channel](https://c.mql5.com/i/code/indicator.png)
The indicator draws (in a separate window) the Bollinger Bands relative to the moving average and projection of the price bars.