Avg_MA indicator

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

Moderator: admin

Avg_MA indicator

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

The indicator is a average value from several MA.

For example:
if first period=5,
K=2,
Count of MA=5
Avg_MA=(MA(5)+MA(7)+MA(9)+MA(11)+MA(13))/5.

Avg_MA.PNG


Download:
Avg_MA_JS.jsl
(4 KiB) Downloaded 463 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 11 guests