Bar Based Stochastic

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

Moderator: admin

Bar Based Stochastic

Postby Alexander.Gettinger » Wed Apr 11, 2018 2:07 pm

Formulas:
K = MA(FastK) with [D_Slowing] number of periods and [K_Smoothing_Method] type,
D = MA(K) with [D_Length] number of periods and [D_Smoothing_Method] type, where
FastK[i] = 100*mins[i]/maxes[i],
mins[i] = Close[i]-minLow,
maxes[i] = maxHigh-minLow,
minLow, maxHigh - minimum and maximum prices at range from (i-K_Length+1) to (i).

BBS.PNG


Download:
BBS_JS.jsl
(8.29 KiB) Downloaded 474 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 6 guests