XMA_Keltner_Pivot_HTF - MetaTrader 5 Script - MT4/MT5 Resources

Two colored filled rectangles showing channel levels. These rectangles are the XMA_KLx5_Cloud indicator drawn between the values of the two Keltner Channels on one bar of any time frame.
Indicator input parameters :
//+------------------------------------------------+ //| Indicator input parameters | //+------------------------------------------------+ Input ENUM_TIMEFRAMES time range = PERIOD_H4 ; // chart period Enter KeltnerSymbols_Mr.Name = "XMA_Keltner_Pivot_" ; // Name of the indicator label Enter Smooth_Method XMA_Method=MODE_SMA_; //Method to find the average Input unit X length = 100 ; // average depth Input integer X phase = 15 ; // first averaging parameter, 3//----For JJMA in the range of -100...+100, it affects the quality of the transition process; //----For VIDIA, it is the CMO cycle, for AMA, it is the slow average cycle Enter double ratio 1= 1.0 ; // deviation 1 Enter double ratio 2 = 3.0 ; // deviation 2 Enter Applied_price_IPC=PRICE_CLOSE_; // price constant Input color up color = clr sky blue ; // Color of the upper band Input color middle color = gray gray ; // color of the middle line Input color DN_color = clr hot pink ; // color of lower band Enter the unit signal bar = 0 ; // Get the bar index of the indicator value Input unit signal length = 40 ; // length of indicator band //----The color of the price label input color mid color = clear blue ; input color upper_color1 = clr mid sea green ; input color lower_color1 = red blood cell ; input color upper_color2 = clr dodge blue ; input color lower_color2 = magenta ;
This indicator requires the XMA_KLx5_Cloud.mq5 indicator file. Place it in <terminal data folder>\MQL5\Indicators.

Figure 1. XMA_Keltner_Pivot_HTF indicator
Attachment download
📎 SmoothAlgorithms.mqh (130.2 KB)
📎 XMA_Keltner_Pivot_HTF.mq5 (29.99 KB)
📎 XMA_KLx5_Cloud.mq5 (27.97 KB)
Source: MQL5 #18169
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •