Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

BollingerBands_Box - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

BollingerBands_Box - indicator for MetaTrader 5

Shows the latest closing value of the indicator Bollinger Bands® with colored rectangle and background fill

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Enter Mr. String name = "Bollinger Bands_Box" ; //Object name
Input ENUM_TIMEFRAMES time range = PERIOD_D1 ; //Calculate the indicator time range of the indicator
Input unit Number of bars = 1 ; //Calculate the number of bars of the indicator
Input unit BBP period = 20 ; //Midline calculation period
Enter double standard deviation = 2.0001 ; //number of deviations
Input ENUM_APPLIED_PRICE application price = PRICE_CLOSE ; //Price type
Input integer shift = 0 ; //Horizontal movement of the columnar indicator
input boolean show price = true ; //show price tag
Input color upper color = lime green ; // upper price label color
Input color medium color = clr slate gray ; // middle price label color
Input color lower color = red blood cells ; //lower price label color
Input unit Total number of bars = 30 ; //Number of rectangular bars
Input unit right tail = 5 ; //Move the rectangle other than the zeroth bar line in the current chart bar to the right
Input color color_resolution = C'157,255,255' ; //upper frame color
Input color Color_Sup= C'255,176,255' ; //Lower box color
//+------------------------------------------------------------------------+


BollingerBands_Box - indicator for MetaTrader 5

Figure 1. Indicator BollingerBands_Box


Attachment download

📎 bollingerbands_box.mq5 (19.91 KB)

Source: MQL5 #23582

Verification code Refresh