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

PCF info needed Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
kevinvoisin
Posted : Tuesday, August 28, 2012 9:27:54 AM
Registered User
Joined: 10/26/2009
Posts: 24

Not sure how to write a custom PCF, eg- CCI 8 period hourly & DI+ DI- 8 period & TSF 7 Xing a 2 open MA, all hourly, then I want to use these for an Alert triggers.

Bruce_L
Posted : Tuesday, August 28, 2012 10:57:35 AM


Worden Trainer

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

In general you are better off clicking on an indicator and selecting Create Scan Condition than trying to create a Condition Formula.

Creating Scan and Sort Conditions

An Indicator Formula for an 8-Period CCI could be written as:

(H + L + C - AVGH8 - AVGL8 - AVGC8) * 1600 / 3 / (ABS(H + L + C - AVGH8 - AVGL8 - AVGC8) + ABS(H1 + L1 + C1 - AVGH8 - AVGL8 - AVGC8) + ABS(H2 + L2 + C2 - AVGH8 - AVGL8 - AVGC8) + ABS(H3 + L3 + C3 - AVGH8 - AVGL8 - AVGC8) + ABS(H4 + L4 + C4 - AVGH8 - AVGL8 - AVGC8) + ABS(H5 + L5 + C5 - AVGH8 - AVGL8 - AVGC8) + ABS(H6 + L6 + C6 - AVGH8 - AVGL8 - AVGC8) + ABS(H7 + L7 + C7 - AVGH8 - AVGL8 - AVGC8) + .000001)

CCI INDICATOR

Indicator Formulas for +DI and -DI are too long and slow to be practical or for me to post in the forums.

PCF for Wilder's Directional Movement DMI-crossovers
PCF for Wilder's DX, and/or a CI for Wilder's ADX

A Condition Formula for a 7-Period Simple TSV crossing up through its own 2-Period Simple Moving Average could be written as:

TSV7 > AVG(TSV7,2) AND TSV7.1 <= AVG(TSV7.1,2)

Any changes to these settings would require adjusting the formula.

There is a Time Frame drop-down menu available when creating or editing a Condition Formula which will allow you to adjust its settings.

Personal Criteria Formula Conditions

In either case, you will probably want to use the Conditions as EasyScan Conditions.

EasyScan Basics
EasyScan Expanded



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kevinvoisin
Posted : Tuesday, August 28, 2012 11:16:48 AM
Registered User
Joined: 10/26/2009
Posts: 24

Thanks, that was a TSF (time series forecast) not TSV, would I just change the TSV to TSF?

Bruce_L
Posted : Tuesday, August 28, 2012 11:33:14 AM


Worden Trainer

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

A Condition Formula for a 7-Period Time Series Forecast with Forecast Bars set to 1 crossing up through a 2-Period Simple Moving Average of the Open could be written as:

AVGC7 + 4 * (3 * C + 2 * C1 + C2 - C4 - 2 * C5 - 3 * C6) / 28 > AVGO2 AND AVGC7.1 + 4 * (3 * C1 + 2 * C2 + C3 - C5 - 2 * C6 - 3 * C7) / 28 <= AVGO2.1

Using Linear Regression vs Classical Peaks/Valleys for Divergence Analysis



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