CenterOfGravityCandle - MetaTrader 5 Script - MT4/MT5 Resources

Indicator in the form of an Ehlers center of gravity candle . There are two versions: DRAW_COLOR_CANDLES and DRAW_CANDLES styles.
The indicator uses the СMoving_Average class 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. CenterOfGravityCandle and CenterOfGravityCandle_ indicators
Attachment download
📎 CenterOfGravityCandle.mq5 (14.82 KB)
📎 CenterOfGravityCandle_.mq5 (14.28 KB)
📎 SmoothAlgorithms.mqh (130.2 KB)
Source: MQL5 #16734
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •