Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Platinum Customer
Joined: 10/7/2004 Posts: 21
|
How is a PCF written for a double-smoothed 10-bar moving average?
Thank you.
|
|
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
|
|
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
|
|
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
|
|
Registered User Joined: 10/7/2004 Posts: 80
|
thanks Bruce !
|
|
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)
|
|
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
|
|
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.
|
|
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
|
|
Guest-1 |