MVA Range indicator

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

Moderator: admin

MVA Range indicator

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

The indicator shows the range in which changed the MVA (simple moving average) during the each bar.

Formulas:
MVA[i]=Sum[i]/Period, where
Sum[i]=sum close prices in the range from (i-Period+1) to (i),
Top of cloud=(Sum-Close+High)/Period and
Bottom of cloud=(Sum-Close+Low)/Period.

MVA_Range.PNG


Download:
MVA_Range_JS.jsl
(2.03 KiB) Downloaded 513 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