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

This is a modified Bollinger Bands® displaying the upper and lower borders of the price deviation from МА calculated considering the average volatility of the symbol according to ATR indicator. The internal MintCream-colored indicator channel stands for Bollinger Bands, while the pale light green and pale pink borders are formed by ATR by deviation from the channel.

//+----------------------------------------------+
//| INDICATOR INPUTS                             |
//+----------------------------------------------+
input uint ATR_Period=14; //ATR period
input double ATR_Ratio=2.0; //ATR ratio
input Smooth_Method XMA_Method=MODE_SMA_; //averaging method
input uint XLength=100; //depth of averaging
input int XPhase=15; //first averaging parameter,
//---- for JJMA within the range of -100 ... +100 it influences the quality of the transition process;
//---- For VIDIA it is a CMO period, for AMA it is a slow average period
input double BandsDeviation=2.0; //deviation
input Applied_price_ IPC=PRICE_CLOSE_;//price constant
input int Shift=0; // horizontal indicator shift in bars
input int PriceShift=0; // vertical shift of the indicator in points
//---- price label colors
input color Upper_color2=clrLime;
input color Upper_color1=clrMediumSeaGreen;
input color Middle_color=clrMediumPurple;
input color Lower_color1=clrRed;
input color Lower_color2=clrMagenta;
//+----------------------------------------------+

The indicator uses the classes of SmoothAlgorithms.mqh library (copy it to <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. XMA_BBxATR_Cloud indicator

Fig.1. XMA_BBxATR_Cloud indicator

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

Simple FX Simple FX

The Expert Advisor is based on moving averages crossing.

Yaanna_HTF Yaanna_HTF

The Yaanna indicator with the timeframe selection option available in the input parameters.

EnvelopesATR_Cloud_HTF EnvelopesATR_Cloud_HTF

The EnvelopesATR_Cloud indicator with the timeframe selection option available in the input parameters.

Exp_Bezier_ReOpen Exp_Bezier_ReOpen

The Exp_Bezier_ReOpen trading system is based on the Bezier indicator color change with adding to trend-following positions.