Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 1/3/2014 Posts: 36
|
using the ROC to determine the slope, i am trying to figure out the pcf for
ROC(MACDH(19,39,12)) - ROC(MACDH(65,90,12))
Where the ROC is averaged over 3, and MACDH is the MACD Histogram.
Can u pls help.
thx
mo.trader
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm really not quite sure what is being asked. Do you want the 3 period simple moving average of the difference between the 1 period rate of change of the two MACD histograms, do you want the difference in the 3 period rate of change of the two MACD histograms or do you want something else entirely?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/3/2014 Posts: 36
|
The Delta of slopes of 2 MACD Histograms.
[Slope of MACD Histogram(19,39,12)] - [Slope of MACD Histogram(65,90,12)]
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
[Slope of MACD Histogram(19,39,12)] - [Slope of MACD Histogram(65,90,12)] can be done as the following as long as a 1 period net rate of change is being used for both histograms.
(1193931 * C - 5716700 * XAVGC12.1 + 5320458 * XAVGC19.1 - 689689 * XAVGC39.1 - 212940 * XAVGC65.1 + 104940 * XAVGC90.1) / 33857460
But where does the "ROC is averaged over 3" come into play?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/3/2014 Posts: 36
|
Thought there would be a way to use a expression using the ROC indicator to calc the slope
ROC(MACDH(19,3912)) - ROC(MACDH(65,90,12))
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
There is no built in syntax for either ROC or MACD in the Personal Criteria Formula Language. You need to manually construct the both using the syntax which is available.
Personal Criteria Formula Syntax
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |