Quoted from Wikipedia:
In mathematics, the logarithmic mean is a function of two non-negative numbers which is equal to their difference divided by the logarithm of their quotient. This calculation is applicable in engineering problems involving heat and mass transfer.
Use as is or develop further to serve your purpose
Harmonic Moving Average
MQL5 version of harmonic moving average
iForexSessions
Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).
Simple Code for Detect A "New Bar or New Candle " Received
This code block detects a New Bar or a New Candle when it has received.
Code Block for "Trailing Stop" based on current market price. (Ask / Bid)
This code block loops through all opened position and do trailing based on Ask and Bid prices.