Multiple Bollinger Bands Deviation Lines

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

Moderator: admin

Multiple Bollinger Bands Deviation Lines

Postby Alexander.Gettinger » Fri Dec 07, 2018 2:45 pm

Formulas:
U1 = MA+d,
L1 = MA-d,
U2 = MA+2*d,
L2 = MA-2*d,
U3 = MA+3*d,
L3 = MA-3*d,
U4 = MA+4*d,
L4 = MA-4*d, where
MA - moving average with [Length] number of periods and [Method] type,
d = Deviation*StdDev,
StdDev - standard deviation.

MBBD.PNG


Download:
MBBD_JS.jsl
(5.08 KiB) Downloaded 287 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 2 guests