logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
nasdaqtrader  
#1 Posted : Monday, November 27, 2006 11:50:11 AM(UTC)
nasdaqtrader

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 2/2/2005(UTC)
Posts: 307

Thanks: 7 times
Was thanked: 3 time(s) in 3 post(s)

I want to know what the formula would be to plot on my charts a 20 D E M A Moving Average?

Can anyone please give me the formula to plot

Thank You

nasdaqtrader

Regards, Frank Koenig Trade Like a Pro Trend is your Friend
mstt  
#2 Posted : Monday, November 27, 2006 4:31:55 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)

nasdaqtrader

The syntax for DEMA is DEMA(data array, periods), and for a 20-period DEMA of CLOSE that would be DEMA(C,20).

If what you're asking for is the underlying construction of DEMA the following formula might be of some use. This seems to be the MetaStock interpretation.

{DEMA}
Periods:=Input("Periods",1,99,20);
Ema:=Mov(C,Periods,E);
2*Ema-Mov(Ema,Periods,E);

Roy

MetaStock Tips & Tools

Users browsing this topic
Guest (Hidden)
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.