Hurst oscillator

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

Moderator: admin

Hurst oscillator

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

Formula:
HO[i] = MA[i]-CMA[i-Length/2-1], where
CMA = MVA(Median price) with [Length] number of periods,
MA = MVA(FlowValue) with [Smooth] number of periods,
FlowValue[i] = High[i], if Close[i]>Close[i-1],
FlowValue[i] = Low[i], if Close[i]<Close[i-1],
FlowValue[i] = (High[i]+Low[i])/2, if Close[i]=Close[i-1].

Hurst_Oscillator.PNG


Download:
Hurst Oscillator_JS.jsl
(2.71 KiB) Downloaded 402 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Hurst oscillator

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

Hurst difference:

Hurst_Difference.PNG


Download:
Hurst_Difference_JS.jsl
(3.21 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 11 guests