OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Professional Forum
OmniLanguage Discussion
Up Down Volume
Last Activity 11/29/2022 8:13 AM
1 replies, 66 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
Duxx

Elite
5001001001002525
Posts: 871
Online

Joined: 2/18/2009

User Profile
 
Subject : Up Down Volume
Posted : 11/11/2022 7:50 PM
Post #32105

HI

Its been a while that I have not written a code

Trying to write an Up / Down Volume Ratio.

Total Volume on Up Days divided by total volume in down days

>1 implies positive demand for the stock

I forgot how to count the number of up or down days in code

If someone can give some pointers is appreciated, it

Thanks
^ Top
TonyJ

Member

Posts: 5

Joined: 12/10/2006

User Profile
 
Subject : RE: Up Down Volume
Posted : 11/12/2022 1:27 AM
Post #32106 - In reply to #32105

It's been a while since I've written any OmniLanguage code but perhaps you don't need to. It's sounds like what you're looking for in an indicator known as On Balance Volume (OBV). If you're just looking to plot that in a chart, then I believe that's available in OmniTrader without any special plugin. If you're still looking to use OBV in an OmniLanguage script, then I believe there's an OBV() function that you can use. You might want to check out the other volume based indicators in OmniTrader - see https://www.omnitrader.com/PDFs/indicators.pdf
Hope this helps.
Tony
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.