당사 팬 페이지에 가입하십시오
- 조회수:
- 4862
- 평가:
- 게시됨:
- 2012.05.14 16:07
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Graphic control for color selection.
The class uses the IncGUI_v4.mqh and IncColors.mqh libraries.
IncGUI_v4. mqh, IncColors.mqh and IncGUI_ColorInput.mqh must be placed to terminal_data_folder\MQL5\Include
To use the class you need to include IncGUI_ColorInput.mqh:
#include <IncGUI_ColorInput.mqh>
Then, declare the class (CColorInput class instance):
CColorInput ci;
To get the selected color, use the Color() method, the color can be set using SetColor(color aColor) method.
The example of the class use is attached - see eTestColorDialog.mq5.
The details can be found in the articles:
- Custom Graphical Controls. Part 1: Creating a Simple Control
- Custom Graphical Controls. Part 2. Control Library
- Custom Graphical Controls. Part 3. Forms
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/889
![IncColors](https://c.mql5.com/i/code/library.png)
This class contains functions for working with colors. It has color conversion and other useful functions.
![MultiSignals_PCH](https://c.mql5.com/i/code/indicator.png)
This is the improved version of Price Channel indicator. Two additional price levels, trade signals and Stop Loss/Take Profit levels were added.
![Size Highs And Lows](https://c.mql5.com/i/code/indicator.png)
The indicator shows the size of Highs and Lows and their values over the specified period.
![Pearson correlation indicator](https://c.mql5.com/i/code/indicator.png)
Pearson correlation indicator shows the correlation between symbols.