ColorZeroLAG_MA_StDev - MetaTrader 5 Script - MT4/MT5 Resources

This ColorZeroLAG_MA indicator has an additional trend strength indication, using colored points based on the standard deviation algorithm.
If the standard deviation of the ColorZeroLAG_MA 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 SmoothAlgorithms.mqh library class (copy it to

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