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 |

DEMA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
kirbyo
Posted : Monday, January 15, 2007 8:11:52 PM
Registered User
Joined: 12/17/2004
Posts: 3
I am looking to write a scan for a cross over with a DEMA and a SMA, any ideas on how to do it.. thanks in advance.

kirby
Bruce_L
Posted : Monday, January 15, 2007 8:39:54 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The formula for a DEMA is:

(2*n-day EMA)-(n-day EMA of EMA)

So, the following formula would return True if the 6-Period Simple Moving Average crossed up through the 5-Period DEMA:

AVGC6 > 2 * XAVGC5 - XAVG(XAVGC5,5) AND AVGC6.1 <= 2 * XAVGC5.1 - XAVG(XAVGC5.1,5)

Your formula would depend on your specific settings and the direction of the crossover. You may wish to review the following:

How to create a Personal Criteria Forumula (PCF)
Using EasyScan to find stocks that meet your own criteria
Handy PCF example formulas to help you learn the syntax of PCFs!
ZERO LAG EMA

-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.