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

The real author:

WizardSerg

The SlopeDirectionLine trend indicator with the ability to change the algorithms of averaging and triggering alerts, push notifications and sending e-mail messages.

Indicator input parameters:

//+-----------------------------------+
//| Indicator input parameters        |
//+-----------------------------------+
input Smooth_Method MA_Method1=MODE_LWMA; // First smoothing method
input uint Length1=12;                    // First smoothing depth                
input int Phase1=15;                      // First smoothing parameter
//--- Phase1: for JJMA that can change withing the range -100 ... +100. It impacts the quality of the intermediate process of smoothing;
//--- Phase1: for VIDIA, it is a CMO period, for AMA, it is a slow moving average period
input Smooth_Method MA_Method2=MODE_SMA;  // Second smoothing averaging method
input int Phase2=15;                      // Second smoothing parameter
//---Phase2: for JJMA that can change withing the range -100 ... +100. It impacts the quality of the intermediate process of smoothing;
//---Phase2: for VIDIA, it is a CMO period, for AMA, it is a slow moving average period
input Applied_price_ IPC=PRICE_CLOSE;     // Price constant
input int Shift=0;                        // Horizontal shift of the indicator in bars
input int PriceShift=0;                   // Vertical shift of the indicator in points
input bool On_Push = false;                           // Allow to send push-messages
input bool On_Email = false;                          // Allow to send e-mail messages
input bool On_Alert = true;                           // Allow to put alert
input bool On_Play_Sound = false;                     // Allow to put sound signal
input string NameFileSound = "expert.wav";            // Name of the file with sound
input string  CommentSirName="SlopeDirectionLine: ";  // The first part of the alert comment
input uint SignalBar=1;                               // Bar index for getting an entry signal

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging price series for intermediate calculations without using additional buffers".

Fig.1 The SlopeDirectionLine indicator

Fig.1 The SlopeDirectionLine indicator

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

Paromon Paromon

The indicator draws the lines of day start and its high and low price values.

super-signals super-signals

The semaphore arrow indicator of trend change

R-Squared_v1 R-Squared_v1

R-squared is the linear regression indicator to calculate "reliability" of the current trend

QQEA QQEA

QQEA is Forex oscillator with an undistinguished name drawn on the basis of the Moving Averages and the RSI technical indicator.