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

The indicator displays a sloping trend line. Its parameters are set when the indicator is launched by a trader. The trend line defines the signal trigger level. The line breakthrough activates signals accompanied by emails and push notifications.

During the first launch, the line that sets the trigger level is colored gray and remains inactive.

Fig. 1. TrendLineAlert_V2 indicator. Inactive trend line

Fig. 1. TrendLineAlert_V2 indicator. Inactive trend line


When a trader changes the line position on the chart, it becomes active and changes its color to red.

Fig. 2. TrendLineAlert_V2 indicator. Active trend line.

Fig. 2. TrendLineAlert_V2 indicator. Active trend line


As soon as the price reaches the trigger line, the indicator activates alerts or audio signals.


Fig. 3. TrendLineAlert_V2 indicator. Activating an alert

Fig. 3. TrendLineAlert_V2 indicator. Activating an alert

The indicator provides signals at each tick, during which the line remains broken till the signal limit is reached. The limit is specified by the AlertTotal external variable (number of signals) in the indicator settings. After that, the trigger line is colored gray and becomes inactive until moved to required levels by a trader with the corresponding color change.

//+------------------------------------------------+
//| Indicator inputs                               |
//+------------------------------------------------+
input string level_name="Trend_Level_1";                            //trigger level name
input string level_comment="trend trigger level";                   //trigger level comment
input color active_level_color=clrRed;                              //activated level color
input color inactive_level_color=clrGray;                           //triggered level color
input ENUM_LINE_STYLE level_style=STYLE_SOLID;                      //trigger level style
input ENUM_WIDTH level_width=w_3;                                   //trigger level width
input bool AlertON=true;                                            //Allow alerts
input uint AlertTotal=3;                                            //number of signals
input bool EMailON=false;                                           //Allow emails
input bool PushON=false;                                            //Allow push notifications
input bool Deletelevel=true;                                        //remove level settings when changing timeframe 


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

XBullsBearsEyes_Vol_Direct XBullsBearsEyes_Vol_Direct

XBullsBearsEyes_Vol indicator shows direction of the histogram bars movement using colored icons on these bars

XBullsBearsEyes_Vol_HTF XBullsBearsEyes_Vol_HTF

XBullsBearsEyes_Vol indicator with the timeframe selection option available in input parameters

MAMy Expert MAMy Expert

MAMy v.3 indicator-based EA

Virtual Virtual

Virtual trading environment