당사 팬 페이지에 가입하십시오
- 조회수:
- 13739
- 평가:
- 게시됨:
- 2011.12.19 17:28
- 업데이트됨:
- 2016.11.22 07:32
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
The indicator displays the horizontal line that sets the signal actuating level.
During the first launch of the indicator the actuation level line is gray and not active. When a trader changes its position on a chart it becomes active and turns red. As soon as the price reaches the actuation level, the indicator starts giving alerts or sound alarms.
After the moment the price crosses the level, the indicator will give one alert at each tick, until the limit of signals defined by the AlertTotal (number of alerts) external variable is reached. After that the actuation level line will turn gray and become inactive, until it is again relocated by a trader to a desired level.
Input parameters:
//+------------------------------------------------+ //| Indicator input parameters | //+------------------------------------------------+ input string level_name="Price_Level_1"; // Actuation level name input string level_comment="actuation level"; // Actuation level comment input color active_level_color=Red; // Active level color input color inactive_level_color=Gray; // Inactive level color input ENUM_LINE_STYLE level_style=STYLE_SOLID; // Actuation level style input ENUM_WIDTH level_width=w_3; // Actuation level width input ENUM_ALERT_MODE alert_mode=OnlyAlert; // Actuation indication version input uint AlertTotal=10; // Number of alerts input bool Deletelevel=true; // Level deletion
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/656
![VGridLine_Intraday X8](https://c.mql5.com/i/code/indicator.png)
Vertical time grid with eight hours step.
![IncMACDOnArray](https://c.mql5.com/i/code/library.png)
CMACDOnArray class is designed for calculation of MACD (Moving Average Convergence/Divergence) values on indicator buffers. The example of use of the class is provided.
![VGridLine_Intraday X3](https://c.mql5.com/i/code/indicator.png)
Vertical time grid with three hours step.
![Trinity-Impulse](https://c.mql5.com/i/code/indicator.png)
Trinity-Impulse indicator shows market entries and periods of flat.