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 |

Changing PCF from simple to exponential Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
retire5912
Posted : Wednesday, August 26, 2009 2:46:44 PM
Platinum Customer Platinum Customer

Joined: 7/3/2007
Posts: 27
Hi.  I need some help to make these PCF's work for an exponential moving average.  Thanks!
 
 
 
(STOC50.22 >= AVG(STOC50.22,10) AND STOC50.22.1 < AVG(STOC50.22.1,10))  
 
 
(STOC50.22 < AVG(STOC50.22,10) AND STOC50.22.1 >= AVG(STOC50.22.1,10))
 

STOC50.22
 
 
AVG(STOC50.22,10)
 
 
STOC50.22 - AVG(STOC50.22,10)


Bruce_L
Posted : Wednesday, August 26, 2009 3:04:31 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (tryn2makit4u)
(STOC50.22 >= AVG(STOC50.22,10) AND STOC50.22.1 < AVG(STOC50.22.1,10))

XAVG(STOC50,22) <= XAVG(STOC50,10) AND XAVG(STOC50.1.1,22) > XAVG(STOC50.1.1,10)
 
QUOTE (tryn2makit4u)
(STOC50.22 < AVG(STOC50.22,10) AND STOC50.22.1 >= AVG(STOC50.22.1,10))

XAVG(STOC50,22) > XAVG(STOC50,10) AND XAVG(STOC50.1.1,22) <= XAVG(STOC50.1.1,10)
 
QUOTE (tryn2makit4u)
STOC50.22

XAVG(STOC50,22)
 
QUOTE (tryn2makit4u)
AVG(STOC50.22,10)

(21 * XAVG(STOC50,22) - 9 * XAVG(STOC50,10)) / 12

Or:

(7 * XAVG(STOC50,22) - 3 * XAVG(STOC50,10)) / 4
 
QUOTE (tryn2makit4u)
STOC50.22 - AVG(STOC50.22,10)

XAVG(STOC50,22) - (21 * XAVG(STOC50,22) - 9 * XAVG(STOC50,10)) / 12

Or:

3 * (XAVG(STOC50,10) - XAVG(STOC50,22)) / 4

You may wish to review the following:

Cascades of Moving Averages
Understanding Stochastics
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
retire5912
Posted : Wednesday, August 26, 2009 3:13:46 PM
Platinum Customer Platinum Customer

Joined: 7/3/2007
Posts: 27
Thank you!  I appreciate it.
Bruce_L
Posted : Wednesday, August 26, 2009 3:16:14 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.