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 |

Double-Smoothed MA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
thesolipsist
Posted : Monday, November 3, 2014 6:46:53 PM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 21

How is a PCF written for a double-smoothed 10-bar moving average?

Thank you.

Bruce_L
Posted : Tuesday, November 4, 2014 9:37:25 AM


Worden Trainer

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

I'm not quite sure what you mean by double smoothed. If you just mean a 10 period simple moving average of a 10 period simple moving average.

AVG(AVGC10,10)

But if you mean a 10-period DEMA.

2 * XAVGC10 - XAVG(XAVGC10,10)

Lag Efficient Moving Average



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kram
Posted : Friday, July 17, 2015 12:02:06 PM
Registered User
Joined: 10/7/2004
Posts: 80

Hi Bruce

 

Regarding the DEMA formula, how do I position the line on the price chart ?

When I create it, it positions itself as an indicator below the price chart.

 

Thanks

Bruce_L
Posted : Friday, July 17, 2015 12:16:50 PM


Worden Trainer

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

If the Custom PCF Indicator is in its own pane, click on the Move icon (an arrow pointing both up and down to the left of the name of the indicator) and then choose & Scale with in the Overlay prompt that appears in the pane where price is plotted.

If the it is already in the same pane as pric, click on the Custom PCF Indicator and select Scaling. Then choose to Scale with Price History (this will generally be the symbol in green).

Price Scaling (5:46)
Indicator Scaling (2:38)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kram
Posted : Friday, July 17, 2015 12:48:02 PM
Registered User
Joined: 10/7/2004
Posts: 80

thanks Bruce !

stochastics
Posted : Saturday, July 25, 2015 7:18:15 PM
Registered User
Joined: 3/3/2013
Posts: 57

Morning Bruce,

Please help w/ a PCF for the 5 DEMA crossing the 13 DEMA in either direction.  

2 * XAVGC5 - XAVG(XAVGC5,5)  

2 * XAVGC13 - XAVG(XAVGC13,13)

Bruce_L
Posted : Monday, July 27, 2015 3:03:15 PM


Worden Trainer

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

Please try the following Condition Formula.

SGN(2 * XAVGC5 - XAVG(XAVGC5,5) - 2 * XAVGC13 + XAVG(XAVGC13,13)) <> SGN(2 * XAVGC5.1 - XAVG(XAVGC5.1,5) - 2 * XAVGC13.1 + XAVG(XAVGC13.1,13))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
stochastics
Posted : Thursday, July 30, 2015 10:08:10 PM
Registered User
Joined: 3/3/2013
Posts: 57

Bruce,

It doesn't seem to plot for any stock.  The calculation always returns a value of zero.  

Bruce_L
Posted : Friday, July 31, 2015 10:02:51 AM


Worden Trainer

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

There was a - sign in both sections of the formula which should have been a + sign instead (either that or there needed to be an extra set of parentheses).

The changes have been made to the Monday, July 27, 2015 3:03:15 PM ET post. Please try the new version of the formula.



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