Modified Moving Average

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

Modified Moving Average

Postby Alexander.Gettinger » Fri Dec 07, 2018 2:50 pm

This indicator has been described in Stocks&Commodities, January 2000.

Formula:
MMM = MA+6*Slope/K, where
MA - MVA(Price) with [Length] number of periods,
Slope(i) = Sum(Price[i-j+1]*(Length-Factor)/2), Factor = 1+2*(j-1) for j=1..Length,
K = Length*(Length+1).

Modified Moving Average.PNG


Download:
Modified Moving Average_JS.jsl
(1.7 KiB) Downloaded 460 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 5 guests