Click here to Login





                                                   On Balance Volume Sign Changes

  0

0
Tom Upton
2011-05-20 09:02:01


I've overlaid the OBV indicator and noticed that at times the OBV value will suddenly change from large positive to large negative, in a way that does not obviously relate to the actual OBV calculation (ie value change is far larger than the daily volume). This occurs with both OBV indicators in the library. When I use OBV-2, I see this when using "close" as one of the arguments. If I change this to "open" the OBV values change more regularly with volume. This looks like a bug, but I may be doing something wrong. Can someone comment? An example would be plotting OBV on AMAT.t


QuantShare
2011-05-20 14:09:10

  0

Hi,

It is probably because your "OBV" indicator is using the default scale.
Because OBV returns high values, it must have its own scale (when used as an overlay indicator). Update the indicator and set "StyleOwnScale" style.



Tom Upton
2011-05-22 07:42:29

  0

I've been using StyleOwnScale throughout. Have you tried my example case (charting Applied Materials, going back to 2008-2009)? There are other cases as well where this sign flip occurs.
Thanks.



QuantShare
2011-05-23 05:29:31

  0

Hi Tom,

I have checked AMAT and located the problem. It occurs because the volume sum exceeds the double variable type limit.
We will make the appropriate changes. In the meantime, you can type the following formula:

a = Obv(close, volume/1000);

Thank you for reporting this.



QuantShare
2011-05-24 04:08:12

  -1

The correction will be available in the next release. (in few weeks)


Tom Upton
2011-11-12 13:17:35

  0

Just noticed that I still get this error on OBV. Look at chart of Intel over last 2-3 years. Is there an update?


QuantShare
2011-11-13 07:34:43

  0

Best Answer
Please forget my first response.

The problem is caused because OBV uses its own scale. You have to set the scale of OBV to "StyleSymbolNone".

You can change the scale of other studies (in the same pane) to "StyleOwnScale".

Let me know if this works for you.



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Market Breadth Indicator: Average On Balance Volume
Volume Trend Index - Market Indicator
TFS Volume Oscillator
Advance Stocks & Volume - Stock that advanced with a volume incre...
US Stocks: Size & Share Volume

How-to Lessons
How to create volume bar charts
How to change volume bar colors when the price closes down
How to create trading rules based on Put and Call volume data
How to filter stocks in a market composite
How to export trading data to a CSV file

Related Forum Threads
Average Volume
Intraday Volume Discrepancies
^VIX and Volume for S&P
Change volume color based on criterion
average volume

Blog Posts
Different Types of Trading Indicators: Trend, Momentum, Volatilit...
QuantShare Programming Language Tutorial
Long Term Trading with Technical Analysis
Fundamental Stock Analysis: Rank stocks based on a valuation rati...
Composite Indicators









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2025 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.