Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCF for Ultimate Oscillator value Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mcubas
Posted : Tuesday, October 16, 2012 11:03:40 AM
Registered User
Joined: 4/7/2011
Posts: 69

Hi,

What is the variable name to get the value of today's and yesterday's Ultimate Oscillator in a PCF?

Thanks! 

Bruce_L
Posted : Tuesday, October 16, 2012 11:13:19 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The Ultimate Oscillator is not built into the Personal Criteria Formula Language. A PCF for the Ultimate Oscillator would depend on the settings. The Ultimate Oscillator topic contains formulas for several settings. You would need to add 1 to all of the bars ago parameters to create a version for 1-bar ago instead of for the current bar.

That said, I would not create a formula for this at all if you are using TC2000 version 12.2. You can click on the indicator and select Create Scan Condition or Show values in WachList to create Conditions based on or display the vaules of the Ultimate Oscillator. You can add a 1-Period Simple Moving Average with an Offset of 1 to the Ultimate Oscillator to do the same for the Ultimate Oscillator of 1-bar ago.

Creating Scan and Sort Conditions
Setting Up WatchList Columns



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mcubas
Posted : Tuesday, October 16, 2012 11:25:14 AM
Registered User
Joined: 4/7/2011
Posts: 69

Sounds good! thanks a lot Bruce.

DVDSTAHL
Posted : Sunday, July 28, 2013 5:44:10 PM
Registered User
Joined: 3/28/2005
Posts: 3

Bruce,

Need  pcf for Ulitmate Oscillator (1,2,4).  Having problems converting.

Thank you,

David Stahl

Bruce_L
Posted : Monday, August 5, 2013 7:50:52 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following Indicator Formula:

(400 * (2 * C - L - C1 + ABS(L - C1)) / (H - L + ABS(H - C1) + ABS(L - C1)) + 200 * (4 * AVGC2 - 2 * AVGL2 - 2 * AVGC2.1 + ABS(L - C1) + ABS(L1 - C2)) / (2 * AVGH2 - 2 * AVGL2 + ABS(H - C1) + ABS(L - C1) + ABS(H1 - C2) + ABS(L1 - C2)) + 100 * (8 * AVGC4 - 4 * AVGL4 - 4 * AVGC4.1 + ABS(L - C1) + ABS(L1 - C2) + ABS(L2 - C3) + ABS(L3 - C4)) / (4 * AVGH4 - 4 * AVGL4 + ABS(H - C1) + ABS(L - C1) + ABS(H1 - C2) + ABS(L1 - C2) + ABS(H2 - C3) + ABS(L2 - C3) + ABS(H3 - C4) + ABS(L3 - C4))) / 7



-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.