Adaptable_CCI - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources





Oscillator Adaptable_CCI. In addition to calculating price and period, unlike standard indicators, this indicator allows you to change parameters such as calculation range, correction coefficient and smoothing method.
It has seven configurable parameters:
CCI = (price - mean) / (mean difference * correction factor)
Where:
Average = MA (apply price, period, method) meandev = SumD / deviation period SumD - absolute sum over the deviation period (applied price - average) Average = SMA (applied price, deviation period)

Figure 1. Default value (consistent with standard CCI)

Figure 2 EMA calculation method

Figure 3 SMMA calculation method

Figure 4 LWMA calculation method

Figure 5. Calculation range of 28 bars
Attachment download
📎 adaptable_cci.mq5 (11.57 KB)
Source: MQL5 #21256
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •