XMA_Keltner_Pivot - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

Two colored filled rectangles drawn between the values of the two Keltner channels on a bar.
Indicator input parameters:
//+------------------------------------------------+ //| Indicator input parameters | //+------------------------------------------------+ 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 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 indicator uses SmoothAlgorithms.mqh library class (copy it to

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