i-SpectrAnalysis_OsMA - MetaTrader 5 Script - MT4/MT5 Resources

This indicator is an example of smoothing the OsMA indicator time series by filtering 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 almost no delay.
Indicator input parameters:
//+------------------------------------------------------------------------+ //|Indicator input parameters | //+------------------------------------------------------------------------+ Input unit fast EMA= 12 ; Input unit slow EMA= 26 ; Input unit McDermar= 9 ; Input ENUM_APPLIED_PRICE Average price = PRICE_CLOSE ; Input unit N= 7 ; // Number length Input unit SS= 20 ; // Smoothing factor input integer shift = 0 ; // shift indicator in horizontal bar
Where:
Indicator operations require the library: https://www.mql5.com/en/code/7000 .

Figure 1. i-SpectrAnalysis_OsMA indicator
Attachment download
📎dt_fft.mqh (28.84 KB)
📎 i-spectranalysis_osma.mq5 (13.81 KB)
Source: MQL5 #16076
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •