MQL4 - Average body of a candle
Is there another way to derive the body of the candle, rather then using moving average.
You could use a ratio, it would give you a value between 0 and 1.
double ratio = MathAbs(open - close) / (high - low);