Mastering the XMA Keltner Pivot HTF Indicator for MetaTrader 5

Mike 2017.05.30 00:52 40 0 0
Attachments

Hey traders! Today, let’s dive into the XMA Keltner Pivot HTF indicator for MetaTrader 5. This nifty tool features two colored filled rectangles that display channel levels, drawn between the values of two Keltner channels on any timeframe. You’ll find it particularly useful for your trading strategy!

Indicator Input Parameters

Here’s a quick rundown of the input parameters you’ll need to set up:

//+------------------------------------------------+//|  Indicator input parameters                      |//+------------------------------------------------+inputENUM_TIMEFRAMES TimeFrame=PERIOD_H4;     // Chart periodinputstring Symbols_Sirname="XMA_Keltner_Pivot_";  // Name for the indicator labelsinput Smooth_Method XMA_Method=MODE_SMA_;      // Method of averaginginputuint XLength=100;           // Depth of averaginginputint 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 periodinputdouble Ratio1=1.0;                      // Deviation 1inputdouble Ratio2=3.0;                      // Deviation 2inputdouble Applied_price_IPC=PRICE_CLOSE_;      // Price constantinputcolor Up_Color=clrSkyBlue;              // The color of the upper bandinputcolor Middle_Color=clrGray;              // The color of the middle lineinputcolor Dn_Color=clrHotPink;              // The color of the lower bandinputuint SignalBar=0;                        // Bar index to get the indicator valuesinputuint SignalLen=40;                      // The length of the indicator bands//---- Colors of price labelsinputcolor Middle_color=clrBlue;
inputcolor Upper_color1=clrMediumSeaGreen;
inputcolor Lower_color1=clrRed;
inputcolor Upper_color2=clrDodgerBlue;
inputcolor Lower_color2=clrMagenta;

Don't forget, this indicator works in conjunction with the XMA_KLx5_Cloud.mq5 file. Make sure you place it in your <terminal_data_folder>\MQL5\Indicators directory.

XMA Keltner Pivot HTF Indicator

Fig1. The XMA Keltner Pivot HTF indicator

List
Comments 0