Gold Customer
Joined: 3/23/2005 Posts: 10
|
I would like to write a formula for intraday. 10 period moving average moving up through 20 period moving average and 10 period moving average moving down through 20 period moving average. I need two separate formulas.
would also like to figure out a formula to pick up waterfalls where the price falls steeper and steeper and the volume rises up like it is trying to touch the falling price. Once the price stabilzes, these are good candidates to buy on 2 or 5 minute candle.
i am not sure how to do this, but urbn is a great picture of the setup I want to find. It started down at the open and if you look at it, this is what I want to find.
Thanks,
Mike
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (texastyphoon) I would like to write a formula for intraday.
In TC2000 version 12, you can set the Time Frame of a formula when it is created or edited. A formula for a 10-Period Simple Moving Average crossing up through a 20-Period Simple Moving Average could be written as:
Moving Average PCF Templates
Things to check if your moving averages don't "seem right" or "seem to match"
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
AVGC10 > AVGC20 AND AVGC10.1 <= AVGC20.1
A formula for a 10-Period Simple Moving Average crossing down through a 20-Period Simple Moving Average could be written as:
AVGC10 < AVGC20 AND AVGC10.1 >= AVGC20.1
In TC2000 version 12, you are generally better off clicking on one of the Moving Averages and selecting Create Condition instead of writing a formula. It should be both easier to do and create a more efficient Condition than writing a Condition Formula.
Indicators, Sorting & Scanning
In TeleChart 2007, Personal Criteria Formulas are always calculated using Daily Data (although you can create Custom Indicators and use them in Sorts).
Visually Backtesting Specific Symbols
Plotting Custom Indicators with Examples
Sorting price and indicators by their Actual Value
Real time indicator sorting (available at the Platinum level)
How to create a Personal Criteria Forumula (PCF)
QUOTE (texastyphoon) would also like to figure out a formula to pick up waterfalls where the price falls steeper and steeper...
This would seem to mean each price drop is larger than the previous price drop. A formula to check for this happening over three bars could be written as:
C - C1 < C1 - C2 AND C1 - C2 < C2 - C3 AND C2 < C3
QUOTE (texastyphoon) ...and the volume rises up like it is trying to touch the falling price.
Adding a requirement for volume to be increasing for each of these three bars as well would result in:
C - C1 < C1 - C2 AND C1 - C2 < C2 - C3 AND C2 < C3 AND V > V1 AND V1 > V2 AND V2 > V3
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Gold Customer
Joined: 3/23/2005 Posts: 10
|
Bruce,
Thanks for the help and the additional information. You did a great job.
Mike
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|