Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

CenterOfGravityCandle - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

CenterOfGravityCandle - indicator for MetaTrader 5

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" .

CenterOfGravityCandle - indicator for MetaTrader 5

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

Verification code Refresh