XMA_BB_Pivot_HTF – indicator MetaTrader 5

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values โ€‹โ€‹of two Bollinger channels on one bar of any timeframe of the XMA_BBx5_Cloud indicator.

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,
3//---- 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;

The indicator requires XMA_BBx5_Cloud.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.

  Yaanna_HTF - indicator MetaTrader 5

Fig1. The XMA_BB_Pivot_HTF indicator

Fig1. The XMA_BB_Pivot_HTF indicator


๐Ÿ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks