Distance from the moving average

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

Moderator: admin

Distance from the moving average

Postby Alexander.Gettinger » Sat Mar 30, 2019 11:31 am

Formulas:
Dist = Price-MA(Price) with [Length1] number of periods and [Method1] type,
Smoothed = MA(Dist) with [Length2] number of periods and [Method2] type.

Distance from the moving average.PNG


Download:
Distance from the moving average_JS.jsl
(4.54 KiB) Downloaded 205 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 3 guests