Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/30/2008 Posts: 97
|
What would be the PCF to determine the daily difference between the high and low of each succeeding day, which I would show in the bottom pane. And then to add a separate moving average of that ongoing daily range. This is different from the ATR... simply high of the day, minus the low of the day for each day, and then the MA of that.
Hopefully I communicated that clearly!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The difference between the High and Low of a Bar can be written as:
H - L
The Average of this would depend on the Moving Average used. For example, a 5-Period Simple Moving Average of Range could be written as:
AVGH5 - AVGL5
While a 10-Period Exponential Moving Average of Range could be written as:
XAVGH5 - XAVGL5
If what you are doing is a Plot, you may want to just Plot the Range as a Custom Indicator and then add a Moving Average to that as a Child Indicator.
You may wish to review the following:
Plotting Custom Indicators with Examples
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/30/2008 Posts: 97
|
Thanks, Bruce, works like a charm. :)
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 7/14/2009 Posts: 9
|
Hello, i would like to know how add criteria for average volume above 1million for easyscan?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
dannyegg,
One option would be to just use one of the following built in System Criteria as an EasyScan Condition with the EasyScan Rangefinder set to Value: 10000 to Max.
Definitions of all built in scanning and sorting criteria
Using EasyScan to find stocks that meet your own criteria
Volume 5-Day - Average number of shares traded over the last five market days. Value given in 100s.
Volume 90-Day - Average number of shares traded over the last 90 market days. Value given in 100s.
Another option would be to create a Boolean (True or False) Personal Criteria Formula and use it as an EasyScan Condition. for example, the following Personal Criteria Formula would check for the 21-Period Simple Moving Average of Volume to be greater than a million shares (Volume in TeleChart is generally reported in blocks of 100 shares).
How to create a Personal Criteria Forumula (PCF)
AVGV21 > 10000
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 7/14/2009 Posts: 9
|
thanks Bruce!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
dannyegg,
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |