StockFetcher Forums · General Discussion · On Balance Volume - OBV<< >>Post Follow-up
four
5,087 posts
msg #85367
Ignore four
1/1/2010 2:05:30 AM

Article: On Balance Volume, Tom Aspray





mystiq
650 posts
msg #85368
Ignore mystiq
1/1/2010 6:40:24 AM

nice article:

trying to duplicate the obv with wma21. but cannot code it correctly. so far seem to be stuck on:

*wma -OR- vma*

draw weekly vma(obv,21)

draw weekly vma(21) of obv(21)

draw weekly vMA(OBV(21),21)

draw weekly obv(21vma)

draw weekly obv(vma21)

ANY SUGGESTIONS ?

Kevin_in_GA
4,599 posts
msg #85369
Ignore Kevin_in_GA
1/1/2010 8:25:44 AM

nice article:

trying to duplicate the obv with wma21. but cannot code it correctly. so far seem to be stuck on:

*wma -OR- vma*

draw weekly vma(obv,21)

draw weekly vma(21) of obv(21)

draw weekly vMA(OBV(21),21)

draw weekly obv(21vma)

draw weekly obv(vma21)

ANY SUGGESTIONS ?
++++++++++++++++++++++

The differences between a weighted MA and an EMA are small enough that you can simply use a custom EMA for this. This is built into the SF OBV function - just add the number of days you want the EMA to be in parentheses after "OBV"

Examples:

Fetcher[
draw OBV(21)
symlist(spy)
]



for weekly versions:

Fetcher[
draw weekly OBV(21)
symlist(spy)
chart-display is weekly
chart-time is 1 year
]



Kevin

mystiq
650 posts
msg #85370
Ignore mystiq
1/1/2010 8:36:24 AM

Thx for the info Kevin....

tomm1111
202 posts
msg #85371
Ignore tomm1111
1/1/2010 10:50:06 AM

This might work using wma. The difference is small. The top plot is ema and the bottom is wma. Top plot is ema and bottom plot is wma.

Fetcher[
set{obvwma21,cwma(obv,21)}

draw obv(21)
draw obvwma21 on plot obv(1)

symlist(spy)
]




Looking into this further something isn't right even if we use cema. It looks like there is an offset that is probably affecting the cwma as well.

Fetcher[
set{obvema1,cema(obv,1)}

draw obv(21)
draw obvema1 on plot obv(1)

symlist(spy)
]




mystiq
650 posts
msg #85394
Ignore mystiq
1/1/2010 10:01:17 PM

...thanks Tom.

but using the info provided, the best display is I have found is:

Fetcher[
draw weekly obv(21)

symlist(spy)
]



mystiq
650 posts
msg #85549
Ignore mystiq
1/5/2010 4:24:05 AM

*code alert*
can anybody code weekly OBV(21) where "the weekly OBV line crosses the weekly ema(21) line" ?

chetron
2,817 posts
msg #85551
Ignore chetron
modified
1/5/2010 6:38:25 AM

NOT ALLOWED


thanx mystiq for getting this allowed.


clickable...



Fetcher[
weekly obv(21) crossed above weekly average obv(21)
]



mystiq
650 posts
msg #85553
Ignore mystiq
modified
1/5/2010 7:16:01 AM

mystiq 1/5/2010 4:24:05 AM
*code alert*
can anybody code weekly OBV(21) where "the weekly OBV line crosses the weekly ema(21) line" ?
chetron 1/5/2010 6:38:25 AM
NOT ALLOWED
@@@@@@@@@@@@@@@@@@@@@

Thanks Chetron, .....then can obv(1) crossing obv(21) be coded ?

@@@@@@@@@@@@@@@@@@@@@
Kevin_in_GA suggested this code-
- Ignore Kevin_in_GA 1/5/2010 6:59:20 AM

set{obvma, CMA(obv,21)}
obv above obvma

?::any more suggestions::?

mystiq
650 posts
msg #85561
Ignore mystiq
1/5/2010 11:32:20 AM

...asked SF support and got:

weekly obv(21) crossed above weekly average obv(21)


(-.-)

StockFetcher Forums · General Discussion · On Balance Volume - OBV<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.