Volume Price Momentum Oscillator

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

Volume Price Momentum Oscillator

Postby Apprentice » Mon Sep 22, 2014 11:47 am

Volume Price Momentum Oscillator.png


Colby (in his book The Encyclopedia of Technical Market Indicators, 2nd. ed., McGraw-Hill, 2003, pg. 774) notes that “As with simple momentum indicators generally, when the n-period exponential moving average of V*PMO is positive, momentum is bullish, so we buy, entering or initiating a long position.”

Code: Select all
First, calculate today’s V*PMO input value:

VTODAY * (CPTODAY – CPTODAY-1)

where

VTODAY = today’s volume
CPTODAY = today’s closing price
CPTODAY-1 = yesterday’s closing price

Then smooth the values using a 3-day exponential moving average (EMA):

V*PMO = EMA(3)(VTODAY,VTODAY-1,VTODAY-2)


Volume Price Momentum Oscillator.lua
(2.35 KiB) Downloaded 190 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17385
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volume Price Momentum Oscillator

Postby Alexander.Gettinger » Wed Apr 08, 2015 11:33 am

MQL4 version of oscillator: viewtopic.php?f=38&t=62089.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 2894
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Volume Price Momentum Oscillator

Postby Apprentice » Tue Aug 08, 2017 5:33 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17385
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 16 guests