Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

i-SpectrAnalysis_CCI - indicator for MetaTrader 5

author EAcpu | 3 reads | 0 comments |

i-SpectrAnalysis_CCI - indicator for MetaTrader 5

This indicator exemplifies the smoothing of CCI of price time series by filtering the indicator for higher order harmonics.

This method can be used to smooth the values ​​of any indicator. The main advantage of this method is that there is really no delay.

Indicator input parameters:

 //+------------------------------------------------------------------------+
//|Input parameters of the indicator |
//+------------------------------------------------------------------------+
Input integer CCIP period = 14 ; Input ENUM_APPLIED_PRICE CCI price = PRICE_MEDIAN ; Input unit N= 7 ; // Series length
Input unit SS= 20 ; // Smoothing coefficient
Enter integer shift = 0 ; // horizontal movement of the indicator in bars

Where:

https://www.mql5.com/ru/code/7000 Indicator operations require libraries.

i-SpectrAnalysis_CCI - indicator for MetaTrader 5

Figure 1. i-SpectrAnalysis_CCI indicator


Attachment download

📎dt_fft.mqh (28.84 KB)

📎 i-spectranalysis_cci.mq5 (5.45 KB)

Source: MQL5 #7012

Verification code Refresh