BollingerBands_Box – indicator MetaTrader 5

Fig. 1. Indicator BollingerBands_Box
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 … Read more