Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

OBV breakout moving average 19 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
happy1398
Posted : Friday, March 7, 2008 9:13:55 AM
Registered User
Joined: 11/14/2005
Posts: 77
Hi,
How can I write a PCF for OBV break up its simple moving average 19 in a Weekly chart? And it keeps above the moving average?

Thank you
happy1398
Posted : Friday, March 7, 2008 11:01:44 AM
Registered User
Joined: 11/14/2005
Posts: 77
and OBV break down please
Thank you
Bruce_L
Posted : Friday, March 7, 2008 11:35:11 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please try the following:

Weekly OBV xUp its own SMA19:

18 * SGN(C - C5) * AVGV5 + 17 * SGN(C5 - C10) * AVGV5.5 + 16 * SGN(C10 - C15) * AVGV5.10 + 15 * SGN(C15 - C20) * AVGV5.15 + 14 * SGN(C20 - C25) * AVGV5.20 + 13 * SGN(C25 - C30) * AVGV5.25 + 12 * SGN(C30 - C35) * AVGV5.30 + 11 * SGN(C35 - C40) * AVGV5.35 + 10 * SGN(C40 - C45) * AVGV5.40 + 9 * SGN(C45 - C50) * AVGV5.45 + 8 * SGN(C50 - C55) * AVGV5.50 + 7 * SGN(C55 - C60) * AVGV5.55 + 6 * SGN(C60 - C65) * AVGV5.60 + 5 * SGN(C65 - C70) * AVGV5.65 + 4 * SGN(C70 - C75) * AVGV5.70 + 3 * SGN(C75 - C80) * AVGV5.75 + 2 * SGN(C80 - C85) * AVGV5.80 + SGN(C85 - C90) * AVGV5.85 > 0 AND 18 * SGN(C5 - C10) * AVGV5.5 + 17 * SGN(C10 - C15) * AVGV5.10 + 16 * SGN(C15 - C20) * AVGV5.15 + 15 * SGN(C20 - C25) * AVGV5.20 + 14 * SGN(C25 - C30) * AVGV5.25 + 13 * SGN(C30 - C35) * AVGV5.30 + 12 * SGN(C35 - C40) * AVGV5.35 + 11 * SGN(C40 - C45) * AVGV5.40 + 10 * SGN(C45 - C50) * AVGV5.45 + 9 * SGN(C50 - C55) * AVGV5.50 + 8 * SGN(C55 - C60) * AVGV5.55 + 7 * SGN(C60 - C65) * AVGV5.60 + 6 * SGN(C65 - C70) * AVGV5.65 + 5 * SGN(C70 - C75) * AVGV5.70 + 4 * SGN(C75 - C80) * AVGV5.75 + 3 * SGN(C80 - C85) * AVGV5.80 + 2 * SGN(C85 - C90) * AVGV5.85 + SGN(C90 - C95) * AVGV5.90 <= 0

Weekly OBV xDn its own SMA19:

18 * SGN(C - C5) * AVGV5 + 17 * SGN(C5 - C10) * AVGV5.5 + 16 * SGN(C10 - C15) * AVGV5.10 + 15 * SGN(C15 - C20) * AVGV5.15 + 14 * SGN(C20 - C25) * AVGV5.20 + 13 * SGN(C25 - C30) * AVGV5.25 + 12 * SGN(C30 - C35) * AVGV5.30 + 11 * SGN(C35 - C40) * AVGV5.35 + 10 * SGN(C40 - C45) * AVGV5.40 + 9 * SGN(C45 - C50) * AVGV5.45 + 8 * SGN(C50 - C55) * AVGV5.50 + 7 * SGN(C55 - C60) * AVGV5.55 + 6 * SGN(C60 - C65) * AVGV5.60 + 5 * SGN(C65 - C70) * AVGV5.65 + 4 * SGN(C70 - C75) * AVGV5.70 + 3 * SGN(C75 - C80) * AVGV5.75 + 2 * SGN(C80 - C85) * AVGV5.80 + SGN(C85 - C90) * AVGV5.85 < 0 AND 18 * SGN(C5 - C10) * AVGV5.5 + 17 * SGN(C10 - C15) * AVGV5.10 + 16 * SGN(C15 - C20) * AVGV5.15 + 15 * SGN(C20 - C25) * AVGV5.20 + 14 * SGN(C25 - C30) * AVGV5.25 + 13 * SGN(C30 - C35) * AVGV5.30 + 12 * SGN(C35 - C40) * AVGV5.35 + 11 * SGN(C40 - C45) * AVGV5.40 + 10 * SGN(C45 - C50) * AVGV5.45 + 9 * SGN(C50 - C55) * AVGV5.50 + 8 * SGN(C55 - C60) * AVGV5.55 + 7 * SGN(C60 - C65) * AVGV5.60 + 6 * SGN(C65 - C70) * AVGV5.65 + 5 * SGN(C70 - C75) * AVGV5.70 + 4 * SGN(C75 - C80) * AVGV5.75 + 3 * SGN(C80 - C85) * AVGV5.80 + 2 * SGN(C85 - C90) * AVGV5.85 + SGN(C90 - C95) * AVGV5.90 >= 0

You may wish to review the following:

How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
happy1398
Posted : Friday, March 7, 2008 12:07:48 PM
Registered User
Joined: 11/14/2005
Posts: 77
Thank you
Bruce_L
Posted : Friday, March 7, 2008 12:08:39 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

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.