Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

EMA Cross scan issue... Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
trendchange
Posted : Monday, December 3, 2012 1:00:37 PM
Registered User
Joined: 2/5/2005
Posts: 55

Hi Bruce!

I was hoping you would try this scan and see if you are getting the same results as me.  I am scanning for stocks in the Russel 3K for a weekly 50EMA crossing above the 200EMA in the last 20 bars using this formula:

XAVGC50 > XAVGC200 AND (XAVGC50.1 <= XAVGC200.1 OR XAVGC50.2 <= XAVGC200.2 OR XAVGC50.3 <= XAVGC200.3 OR XAVGC50.4 <= XAVGC200.4 OR XAVGC50.5 <= XAVGC200.5 OR XAVGC50.6 <= XAVGC200.6 OR XAVGC50.7 <= XAVGC200.7 OR XAVGC50.8 <= XAVGC200.8 OR XAVGC50.9 <= XAVGC200.9 OR XAVGC50.10 <= XAVGC200.10 OR XAVGC50.11 <= XAVGC200.11 OR XAVGC50.12 <= XAVGC200.12 OR XAVGC50.13 <= XAVGC200.13 OR XAVGC50.14 <= XAVGC200.14 OR XAVGC50.15 <= XAVGC200.15 OR XAVGC50.16 <= XAVGC200.16 OR XAVGC50.17 <= XAVGC200.17 OR XAVGC50.18 <= XAVGC200.18 OR XAVGC50.19 <= XAVGC200.19 OR XAVGC50.20 <= XAVGC200.20)
 

When I run the scan, TC2000 is giving me results that either have not enough data to generate a 200 week EMA such as the ticker FRAM, or RM or the software is giving tickers such as KCAP and RUTH that has no cross in the last 20 bars.  The weekly 50 EMA is clearly has not crossed above the 200 yet.

If you have any insights into what I am doing wrong or need to change, I would greatly appreciate it!  Thanks so much!


Dave

Bruce_L
Posted : Monday, December 3, 2012 1:13:42 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

There simply is not enough data available in TC2000 version 12.2 for this Condition Formula to exactly match the charts. That said, I do not show it currently returning true for RM, KCAP or RUTH (and don't have FRAM as a ticker).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
trendchange
Posted : Monday, December 3, 2012 1:36:11 PM
Registered User
Joined: 2/5/2005
Posts: 55

Interesting, I ran the scan again and I am still getting cross over that are true for RM, KCAP, RUTH and ALJ but no crossovers on the charts.  Those appear to be false signals. 

FRAM should be ticker symbol FRAN. I mixed up the "N" 

I am pulling the list from the component section and choosing Russel 3000.   

 

Dave

Bruce_L
Posted : Monday, December 3, 2012 1:53:57 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

FRAN doesn't show as currently returning true for me either. Are you using a Daily Time Frame for the Condition Formula and for the chart?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
trendchange
Posted : Monday, December 3, 2012 2:17:48 PM
Registered User
Joined: 2/5/2005
Posts: 55

I have everything set to weekly.  Weekly scan and weekly chart time frame.  I ran ALJ as the test symbol in the conditions menu and it returned "True" but the weekly chart says it is "False" as the EMAs are clearly not cross and have not been for some time.

trendchange
Posted : Monday, December 3, 2012 3:13:46 PM
Registered User
Joined: 2/5/2005
Posts: 55

Bruce,

I ran ALJ in stockcharts.com and indeed it has crossed!  The TC2000 chart with a weekly 50 EMA and 200 EMA does not show that.  On my charts is shows the 50 EMA below the 200 with no cross.  There seems to be a display bug on the charting side as the calculations are correct.

 

Dave

Bruce_L
Posted : Monday, December 3, 2012 3:37:19 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The main issue is that there is only 500 bars of data in any given Time Frame in TC2000 version 12.2 and you are trying to calculate 200-Period Exponential Moving Averages.

A 200-Period Exponential Moving Average needs something closer to 1000 bars of data to be calculated in way that most of the possible algorithms used in its calculation would come to the same result. About the longest Exponential Moving Average that you are going to be able to use in TC2000 version 12.2 that is going to closely match all sources would be a 100-Period Exponential Moving Average.

Note that there is another technical issue in your results besides the above. You are getting results (as am I) before there should be enough data to calculate the EMAs at all. This would be a bug.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
trendchange
Posted : Monday, December 3, 2012 4:28:53 PM
Registered User
Joined: 2/5/2005
Posts: 55

Thanks Bruce!  I will have to rethink and approach what I am trying to do.

 

Dave

Bruce_L
Posted : Monday, December 3, 2012 4:42:03 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.