How to create and save a Condition (PCF) Formula

Personal Criteria Formulas (PCFs) come in two types. Condition Formulas are Boolean formulas and return either true or false. If your PCF returns a numeric result it will save as an Indicator Formula instead of as a Condition Formula.

1. Click the New button in your toolbar.

1. Click the New button in your toolbar.

2. Click Condition (PCF) Formula.

2. Click Condition (PCF) Formula.

3. Name your PCF.

3. Name your PCF.

4. Select the time frame you wish to use.

4. Select the time frame you wish to use.

5. Type or paste in your PCF formula.

5. Type or paste in your PCF formula.

You can test the formula if you like by clicking the Test Formula button.

You can test the formula if you like by clicking the Test Formula button.

Value = True or Value = False are not error messages. These messages just mean the formulas returns true or false for the test symbol. This would also mean this is a Condition Formula and not an Indicator Formula (which returns a numeric value instead). The test function uses daily data from regular trading hours.

6. To save the formula to the condition library for re-use, click the save icon, confirm the name then click save again.

6. Click OK to save the PCF to your condition library and open targeting mode.

7. Selecting OK (with or without saving the indicator) will open targeting mode.

Targeting mode lets you add this PCF condition to an existing chart, watchlist , or create a new filtered watchlist or sort using this condition formula. If you do not want to apply the PCF condition you can press "Esc" to exit targeting mode.

7. Targeting mode lets you add this PCF to an existing watchlist or scan, or create a new scan or sort using this condition. If you do not want to use the PCF at this time you can press "Esc" to exit targeting mode.