Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/12/2005 Posts: 9
|
Hi there
I'm a new user of TC2005 and need to screen stocks based on a personal criteria formula but don't know how to write the formula. I plot ADX (Directional Movement) on the middle panel using +DI and -DI visible and ADX itself invisible. I need to filter stocks (EoD) that have +DI just crossing above -DI and another screen for -DI crossing above +DI. Then to complete the signal I nedd to add that the price must cross or be above 200 MA or for the second screen the price must cross below or be below 200 MA. Have no idea how to build this formula and would appreciate your help. Luca Franciosi (email removed by moderator)
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please check out the following topics and videos already in the forums:
PCF for Wilder's Directional Movement DMI-crossovers Sorting by the ADX indicator PCF for Wilder's DX, and/or a CI for Wilder's ADX Average Directional Index (ADX)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/12/2005 Posts: 9
|
Thanks Bruce will check immediately
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Probably the easiest way to do this would be to implement Tanstaafl's post of Wednesday, December 15, 2004 7:35:09 AM in PCF for Wilder's Directional Movement DMI-crossovers and sort an EasyScan containing one of the following Personal Criteria Formula:
Price vs 200-Period SMA: C/AVGC200
Price vs 200-Periad EMA: C/XAVGC200
Conditions for first EasyScan: Price vs 200-Period MA: Value: 1 to MAX
Conditions for second EasyScan: Price vs 200-Period MA: Value: Min to 1
The following videos show how to create PCFs, EasyScans and sort Indicators:
How to create a Personal Criteria Forumula (PCF) Using EasyScan to find stocks that meet your own criteria Sorting price and indicators by their Actual Value
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/12/2005 Posts: 9
|
Bruce thanks for you help, I think I'm getting there but not yet This is what I have done: I have created a Custom Indicator with the formula provided and it works perfectly so I only have one line crossing above or below zero and it coincides with +DI and -DI crossover. Now I need to create an EasyScan to find Optionable stocks that just crossed the line. I have done what I know and created a PCF adding >=1 or <=1 at the end. The result is that I get all stocks with the custom indicator above or below 0. What I don't know how to do is to set the PCF to find only those stocks that crossed above or below the 0 line in the past 2-3 days. Can you help?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I must have missed the Optional Stocks part. Anyway, unless you want to use one of the really long formulas instead of the shorter one mentioned in Tanstaafl's post, you are not going to add the ADX related PCF to your EasyScan. Your EasyScan only needs the following conditions (you will have two EasyScans, one for each direction):
Watchlist: All Stocks Optionable Stocks Price vs 200-Period MA set to either 1 to Max or Min to 1 depending on direction.
You then SORT BY the Custom Indicator with the appropriate Exponential Smoothing:
(H-H1)*(H-H1>L1-L)*(H>H1)-(L1-L)*(H-H1<L1-L)*(L<L1)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/12/2005 Posts: 9
|
Thanks Bruce I think I'm all set now Have a nice weekend Luca
|
|
Registered User Joined: 7/5/2006 Posts: 1
|
Hello Bruce,
I read your post on how to scan for ADX +DI/-DI crossings using PCF's. I am trying now to create a more accurate scan using the TC2000 developer's kit. My question is in TeleChart the ADX lines look different in 1-day versus 9-day candle-bar charts; exactly what calculations are going on? For example, does the 9-day plot show every 9th day of the 1-day ADX values or is a 9-day simple average being computed or what?
Gloria
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
ADX (like the other indicators in TeleChart) work off of bars.
If you are on a 9-day chart, it uses the open, high, low and close of each bar.
- Craig Here to Help!
|
|
Registered User Joined: 1/1/2005 Posts: 2,645
|
QUOTE (Craig_S) ADX (like the other indicators in TeleChart) work off of bars.
If you are on a 9-day chart, it uses the open, high, low and close of each bar.
As far as I know, the only exception is the built-in Cumulative MoneyStream Indicator. If you are on a 9-Day Chart, every ninth day of Daily MS is plotted.
Thanks, Jim Murphy
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
Correct
- Craig Here to Help!
|
|
Guest-1 |