Elastic Volume Weighted Moving Average

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Elastic Volume Weighted Moving Average

Postby Apprentice » Mon Aug 12, 2013 5:29 am

EVWMA.png


Total =Sum(volume, Period);

EVWMA = ((Total-volume)*EVWMA[-1]+ volume[period]*close)/Total;

EVWMA.lua
(2.19 KiB) Downloaded 951 times



One Note.
For forex, it is impossible to know, total number or "shares"
In this calculation, I use the sum of last N period Volume.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Elastic Volume Weighted Moving Average

Postby Alexander.Gettinger » Thu Aug 29, 2013 10:53 am

Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk



Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 55 guests