Zero Lag Stochastic

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

Moderator: admin

Zero Lag Stochastic

Postby Alexander.Gettinger » Sat Jan 06, 2018 6:45 pm

Formulas:
K = (S1+S2+S3+S4+S5)/SumWeight,
D[i] = K[i]/Smoothing+D[i-1]*(Smoothing-1)/Smoothing, where
S1 - Stochastic with [K_Length1], [D_Length1], [D_Slowing1], [Method1], [PriceField1],
S2 - Stochastic with [K_Length2], [D_Length2], [D_Slowing2], [Method2], [PriceField2],
S3 - Stochastic with [K_Length3], [D_Length3], [D_Slowing3], [Method3], [PriceField3],
S4 - Stochastic with [K_Length4], [D_Length4], [D_Slowing4], [Method4], [PriceField4],
S5 - Stochastic with [K_Length5], [D_Length5], [D_Slowing5], [Method5], [PriceField5],
SumWeight = Weight1+Weight2+Weight3+Weight4+Weight5.

ZLS_JS.PNG


Download:
ZLS_JS.jsl
(6.46 KiB) Downloaded 481 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