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 |

PCF for Crossover Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
KennedyG
Posted : Sunday, February 16, 2014 3:19:23 PM
Registered User
Joined: 3/30/2013
Posts: 8

Hi Bruce,

 

Can you help me to write a PCF for the following or direct me to a link where it was done before:

open is less than the Exponential Moving Average 21

open is less than the Exponential Moving Average 8

open is less than the Exponential Moving Average 4

close is greater than the Exponential Moving Average 21

close is greater than the Exponential Moving Average 8

close is greater than the Exponential Moving Average 4

close is greater than open

close from 3 bars ago is less than Exponential Moving Average 21

close from 5 bars ago is less than close from 3 bars ago

Thanks.

 

Bruce_L
Posted : Tuesday, February 18, 2014 5:48:25 PM


Worden Trainer

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

QUOTE (KennedyG)
open is less than the Exponential Moving Average 21

O < XAVGC21

QUOTE (KennedyG)
open is less than the Exponential Moving Average 8

O < XAVGC8

QUOTE (KennedyG)
open is less than the Exponential Moving Average 4

O < XAVGC4

QUOTE (KennedyG)
close is greater than the Exponential Moving Average 21

C > XAVGC21

QUOTE (KennedyG)
close is greater than the Exponential Moving Average 8

C > XAVGC8

QUOTE (KennedyG)
close is greater than the Exponential Moving Average 4

C > XAVGC4

QUOTE (KennedyG)
close is greater than open

C > O

QUOTE (KennedyG)
close from 3 bars ago is less than Exponential Moving Average 21

C3 < XAVGC21.3

QUOTE (KennedyG)
close from 5 bars ago is less than close from 3 bars ago

C5 > C3

Combining these into a single Condition Formula would result in:

O < XAVGC21 AND O < XAVGC8 AND O < XAVGC4 AND XAVGC4 < C AND XAVGC8 < C AND XAVGC21 < C AND C5 < C3 AND C3 < XAVGC21.3

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



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