BollingerBands_Box - indicator for MetaTrader 5




BollingerBands_Box - indicator for MetaTrader 5


Displaying the latest closed values of indicator Bollinger Bands® with colored rectangles and background filling

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input string SirName="BollingerBands_Box";          //Object name
input ENUM_TIMEFRAMES Timeframe=PERIOD_D1;          //Indicator timeframe for calculating the indicator
input uint   NumberofBar=1;                         //Bar number to calculate the indicator
input uint                BBPeriod=20;              //Midline calculation period
input double              StdDeviation=2.0001;      //Number of deviations
input ENUM_APPLIED_PRICE  applied_price=PRICE_CLOSE;//Price type
input int                 Shift=0;                  //Horizontal shift of indicator in bars
input bool ShowPrice=true;                          //show price labels
input color Upper_color=clrLimeGreen;               //Upper price label color
input color Middle_color=clrSlateGray;              //Middle price label color
input color Lower_color=clrRed;                     //Lower price label color
input uint   BarsTotal=30;                          //number of bars of rectangles
input uint   RightTail=5;                           //shifting the rectangles beyond the zeroth bar to the right in the current chart bars
input color  Color_Res=C157,255,255;              //Color of the upper box
input color  Color_Sup=C255,176,255;              //Color of the lower box
//+----------------------------------------------+


Fig. 1. Indicator BollingerBands_Box

Fig. 1. Indicator BollingerBands_Box


Download BollingerBands_Box - indicator for MetaTrader 5




Related News




Latest News
U.S. women's veterans praise new era of Andonovski
08.03.2020 06:07
By Amy Tennery (Reuters) - Little more than four months on the job, U.S. women's soccer head coach Vlatko Andonovski is earning high praise from team veterans, as the squad looks to build off the momentum of its fourth World Cup win and shake off the demons of an early exit at Rio 2016. Andonovski, who took over in late October from longtime
Read more
Boca pip River to Argentine title with late Tevez screamer
08.03.2020 05:07
BUENOS AIRES (Reuters) - A dramatic late goal from Carlos Tevez gave Boca Juniors the Argentine league title on Saturday, as the Buenos Aires club overcame Gimnasia 1-0 to pip their arch rivals River Plate on an breathtaking last day of the season. River led the Superliga from Boca by a point going into their final round of games and could have
Read more
Boca pip River to Argentine title with late Tevez screamer
08.03.2020 05:04
BUENOS AIRES (Reuters) - A dramatic late goal from Carlos Tevez gave Boca Juniors the Argentine league title on Saturday, as the Buenos Aires club overcame Gimnasia 1-0 to pip their arch rivals River Plate on an breathtaking last day of the season. River led the Superliga from Boca by a point going into their final round of games and could have
Read more
Japan's 7-Eleven worker infected with coronavirus, another case likely caused meningitis
08.03.2020 04:06
TOKYO (Reuters) - A worker at Japan's 7-Eleven convenience store chain in Yamanashi prefecture, west of Tokyo, has contracted the new coronavirus, the company said on Sunday. 7-Eleven, a unit of Japanese retail group Seven & i Holdings said it temporarily closed the store for cleaning and disinfection after the case was confirmed on Saturday
Read more
U.S., Japan women's soccer teams keep focus on games as coronavirus fears swirl
08.03.2020 04:03
By Amy Tennery Harrison, NEW JERSEY (Reuters) - The U.S. and Japan women's national soccer teams said on Saturday they were laser-focused on preparing for the upcoming Olympics, even as a global coronavirus outbreak threatens the postponement or cancellation of the Tokyo Games. The two teams are expected to compete in the second of three
Read more