If you're diving into the world of trading with MetaTrader 5, you'll want to check out the XMA_BB_Pivot_HTF indicator. This handy tool features two colored rectangles that display channel levels, providing you with a visual representation of the Bollinger channel values right on your chart—no matter the timeframe you’re trading on.
Indicator Input Parameters:
//+----------------------------------------------+ //| Indicator input parameters | //+----------------------------------------------+ input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4;// Chart period 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 BandsDeviation1=2.0; // Deviation 1 input double BandsDeviation2=4.0; // Deviation 2 input Applied_price_ IPC=PRICE_CLOSE_;// Price constant input int Shift=0; // Horizontal indicator shift in bars input int PriceShift=0; // Vertical indicator shift in points //---- Colors of price labels input color Middle_color=clrBlue; input color Upper_color1=clrMediumSeaGreen; input color Lower_color1=clrRed; input color Upper_color2=clrDodgerBlue; input color Lower_color2=clrMagenta;
To use this indicator, you’ll need the XMA_BBx5_Cloud.mq5 file. Make sure to place it in your <terminal_data_folder>\MQL5\Indicators directory.

Fig1. The XMA_BB_Pivot_HTF indicator
Related Posts
- Unlocking MetaCOT 2: Your Ultimate CFTC Indicator Toolkit for MT4
- Mastering the Fibonacci ZigZag Indicator for MetaTrader 5
- Enhance Your MetaTrader 4 Experience with Account Info Indicators
- Boost Your Trading with ForexProfitBoost_2nb_HTF_Signal for MetaTrader 5
- Unlocking the Power of Master Tools for MetaTrader 4