CMx Oscillator

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

Moderator: admin

CMx Oscillator

Postby Alexander.Gettinger » Wed Aug 15, 2018 2:21 pm

The indicator is compilation of Moving Average, CCI, ADX и Fibonacci levels.

Formulas:
CMx[i] = CCI[i]*ADX[i]/(L*K), where
ADX[i] - Average Directional Movement Index with Period as Length,
CCI[i] = (Diff[i]-mean)/(meandev*0.015),
mean, meandev - mean and mean deviation of Diff at range from (i-K_Period+1) to i,
Diff[i] = EMA[i]-EMA_K[i],
EMA - exponential moving average with Period as Length,
EMA_K - exponential moving average with K_Period as Length,
K_Period = Period*K.

CMx.PNG


Download:
CMx_JS.jsl
(3.41 KiB) Downloaded 455 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 4 guests