Page 1 of 1

Geometric Mean moving average

PostPosted: Thu Jul 05, 2012 5:05 pm
by Alexander.Gettinger
Formula:
GeoMeanMA[i]=(Price[i]*Price[i-1]*…*Price[i-N+1])^(1/N).

GeoMeanMA_MQL.PNG


Download:
GeoMin_MA.mq4
(1.59 KiB) Downloaded 1533 times

Re: Geometric Mean moving average

PostPosted: Mon Mar 13, 2023 1:08 pm
by Gilles
Hi Alexander, Apprentice,

Please a LUA version.
Thank you :) !

Re: Geometric Mean moving average

PostPosted: Mon Mar 13, 2023 2:05 pm
by Gilles
Hi Apprentice,

I worked on my own and I'm sharing my version of the geometric mean for FX Trading Station.
[attachment=0]GMA.lua[/attachment]

Re: Geometric Mean moving average

PostPosted: Tue Mar 14, 2023 3:07 pm
by Apprentice
Any help is welcome,
as I have quite a stressful period in my life.

Moving into a New apartment, having a new baby, and working on a new degree...

Re: Geometric Mean moving average

PostPosted: Thu Mar 16, 2023 2:48 am
by Gilles
Hi Apprentice,
I wish you and your family all the best :)!
This is such a happy event :)!!!
I understand why you're short on time :)!