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



The 2pbIdealXOSMA indicator is represented by the 2pbIdeal1MA and 2pbIdeal3MA indicators and smoothed by one of ten average variants:
It should be noted that the Phase parameters of different smoothing algorithms have completely different meanings. For JMA, it is an external phase variable that varies from -100 to +100. For T3, it is the smoothed ratio multiplied by 100 for better visualization; for VIDYA, it is the CMO oscillation period; for AMA, it is the slow EMA period. In other algorithms, these parameters do not affect smoothing. For AMA the fast EMA period is a fixed value, equal to 2 by default. For AMA, the ratio of raised powers is also equal to 2.
The colors of the histogram and signal lines change based on current market conditions.
The indicator uses the SmoothAlgorithms.mqh library class (must be copied to terminal_data_folder\MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

Figure 1 2pbIdealXOSMA indicator
Attachment download
📎 2pbidealxosma.mq5 (9.79 KB)
📎 smoothalgorithms.mqh (133.8 KB)
Source: MQL5 #1164
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •