Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 8/9/2010 Posts: 86
|
Bruce, one other question on the condition scan I have for the average cross over on an hourly chart. Is there a way to set it to scan for the entire day and not just the moment?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You can do so if you can express the cross using a Condition Formula. If so, you can use the Condition Formula as the Boolean Formula in a Custom PCF % True Indicator with the Period set to 7 and the Average Type set to Simple on an hourly chart.
You need to know the settings and moving average types and the direction of the cross (if the direction doesn't matter, that is fine too, but we would need to know that) in order to create the Condition Formula to use as the Boolean Formula.
This really is very similar to what we are discussing in the Scan Question topic (and is actually what started the topic).
Once you figure out how the method of checking for the number of up bars in a day, it will be easier to understand the other method as well. It is very similar, but uses a Custom PCF % True Indicator instead of Custom PCF Indicator.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 8/9/2010 Posts: 86
|
So for a 10S cross up over a 30E would it be 7*ABS(10AVGC>30XAVGC) on a simple time frame for the indicator?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You would set the Period of the Custom PCF Indicator to 7.
You would set the Average of the Custom PCF Indicator to Simple.
You would use the following Formula in the Custom PCF Indicator:
7 * ABS(AVGC10 > XAVGC30 AND AVGC10.1 <= XAVGC30.1)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 8/9/2010 Posts: 86
|
Bruce, where does this type of indicator save to? I saved it as a condition and it doesn't show under that list either. I can't find it under the library formulas?
Also, is it possible to write this kind of formula using the MACD cross up over the 9?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you are creating it as instructed (as a Custom PCF Indicator), it would save as an indicator.
So you would select Add Plot to Chart (the green + in the upper left corner of the chart) and choose it from the list in the Indicators tab.
The following Indicator Formula assumes you are talking about an Exponential MACD 12,26,9.
7 * ABS(XAVGC12 - XAVGC26 > XAVG(XAVGC12,9) - XAVG(XAVGC26,9) AND XAVGC12.1 - XAVGC26.1 <= XAVG(XAVGC12.1,9) - XAVG(XAVGC26.1,9))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |