Square weighted MA

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Square weighted MA

Postby Alexander.Gettinger » Mon Mar 21, 2011 11:24 pm

Formulas:
MA=(Sum-SumP*(SumW*Period-SumP*Sum)/(SumP2*Period-SumP*SumP))/Period, where
Sum[i]=Price[i]+Price[i-1]+...+Price[i-Period+1],
SumW[i]=Price[i-1]*1+Price[i-2]*2+...+Price[i-Period+1]*(Period-1),
SumP=1+2+...+(Period-1),
SumP2=1*1+2*2+...+(Period-1)*(Period-1).

SqW_MA.png


Download:
SqW_MA.lua
(1.62 KiB) Downloaded 1138 times


The indicator was revised and updated
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Square weighted MA

Postby Alexander.Gettinger » Fri Jun 29, 2012 1:44 pm

MQL4 version of this indicator: viewtopic.php?f=38&t=20680
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Square weighted MA

Postby Apprentice » Tue Apr 04, 2017 6:11 am

Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Square weighted MA

Postby xpertizetrading » Wed Apr 05, 2017 5:26 pm

What does it mean?

Thanks,
XpertizeTrading
xpertizetrading
 
Posts: 60
Joined: Fri Nov 22, 2013 12:30 pm

Re: Square weighted MA

Postby Apprentice » Thu Apr 06, 2017 1:30 pm

I started to test everything ever written,
Fix modify and optimize if necessary.

This is info for me, that particular indicator is revised.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 77 guests