Instantaneous Trendline

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

Moderator: admin

Instantaneous Trendline

Postby Alexander.Gettinger » Wed May 02, 2018 11:34 am

As described in an article by John Ehlers' article "Modeling
The Market = Building Trading Strategies "
August 2006 of S & C Magazine

Formulas:
Instantaneous Trendline = MVA(Price, Length)+SmoothSlope/2, where
SmoothSlope[i] = (Slope[i]+2*Slope[i-1]+2*Slope[i-2]+Slope[i-3])/6,
Slope[i] = Price[i]-Price[i-Length+1].

IT.PNG


Download:
IT_JS.jsl
(1.69 KiB) Downloaded 404 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 10 guests