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

Real author:
This MA_Round indicator has an additional trend strength indication, using colored points based on the standard deviation algorithm.
If the standard deviation of the MA_Rounding indicator is between the dK1 and dK2 parameter values, a small colored dot will appear on the moving average. Its color corresponds to the current trend direction.
Enter double dK1= 1.5 ; // square law filter coefficient 1 Enter double dK2= 2.5 ; // square law filter coefficient 2
If the standard deviation is higher than the dK2 input parameter value, the point size increases. Therefore, we get 3 levels of trend strength indication:
The indicator uses the СMoving_Average and CXMA classes of the SmoothAlgorithms.mqh library. How to use this class is described in detail in the article "Average price series for intermediate calculations without using additional buffers" .

Figure 1. MA_RoundingStDev indicator
Attachment download
📎 ma_roundingstdev.mq5 (14.58 KB)
📎 smoothalgorithms.mqh (130.19 KB)
Source: MQL5 #14081
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •