logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Brent  
#1 Posted : Thursday, May 30, 2013 1:35:01 PM(UTC)
Brent

Rank: Member

Groups: Registered, Registered Users
Joined: 10/22/2007(UTC)
Posts: 14

How can I vary the number of days the OBV() indicator is calculated on?
haddison  
#2 Posted : Friday, May 31, 2013 10:44:45 AM(UTC)
haddison

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/6/2010(UTC)
Posts: 113
Location: London

The Metastock manual gives a way to calculate OBV (thought it might help you):

( If( C > Ref( C, -1), 1,
If( C < Ref( C, -1 ), -1, 0 ) ) * VOLUME )
PREV

Be careful though, PREV tends to be slow.
Brent  
#3 Posted : Friday, May 31, 2013 6:25:14 PM(UTC)
Brent

Rank: Member

Groups: Registered, Registered Users
Joined: 10/22/2007(UTC)
Posts: 14

Thanks!
wplaurence  
#4 Posted : Monday, June 10, 2013 11:53:53 AM(UTC)
wplaurence

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 6/10/2013(UTC)
Posts: 2

Hi,
Is there a way to compare OBV from today versus a previous period ( one month, two month) in the system scan. I tried using OBV(C) > OBV(c-20) but that threw an error in the function.


mstt  
#5 Posted : Monday, June 10, 2013 1:42:42 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)

Check out the Ref() function in the User Manual. The correct syntax is...

OBV(C) > Ref(OBV(C),-20);

Roy
wplaurence  
#6 Posted : Monday, June 10, 2013 2:44:21 PM(UTC)
wplaurence

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 6/10/2013(UTC)
Posts: 2

Thanks, I think I had syntax error before.


Users browsing this topic
Guest (Hidden)
Similar Topics
How to determine the adjusted volume for OBV? (Formula Assistance)
by oem7110 5/6/2014 5:51:49 PM(UTC)
Hoping this is a simple adjustment to existing OBV formula (Formula Assistance)
by chewyboot 5/27/2012 9:23:22 AM(UTC)
OBV/EMA cross expert (Formula Assistance)
by longjon 12/5/2007 11:20:34 AM(UTC)
OBV differences (Formula Assistance)
by StorkBite 7/20/2005 8:33:51 PM(UTC)
OBV() Function Inconsistencies (Formula Assistance)
by cassianoqs 7/20/2005 1:04:50 AM(UTC)
OBV >15 Expert (Formula Assistance)
by henry1224 4/16/2005 2:53:49 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.