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 |

WMA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rabin
Posted : Thursday, October 19, 2006 11:15:42 AM
Registered User
Joined: 3/14/2005
Posts: 311
Is this a correct way to write a 50 day Weigthed MA? for some reason the 10 day plots but the 50 day doesn't.

(C*50+ C1*49*C2*48+ C3*47+C4*46+C5*45+C6*44+ C7*43+C8*42+C9*41+C10*40+C11*39+C12*38+C13*37+ C14*36+C15*35+C16*34+C17*33+C18*32+C19*31+C20*30+C21*29+C22*28+C23*27+C24*26+C25*25+C26*24+ C27*23+C28*22+C29*21+C30*20+C31*19+C32*18+C33*17+C34*16+C35*15+C36*14+C37*13+C38*12+C39*11+ C40*10+C41*9+C42*8+C43*7+C44*8+C45*5+C46*4+C47*3+C48*2+C49)/1275
rabin
Posted : Thursday, October 19, 2006 11:19:08 AM
Registered User
Joined: 3/14/2005
Posts: 311
I know what I did wrong, I multyplied C1*49 to C2*48 rather than adding, typo.
sorry
Craig_S
Posted : Friday, October 20, 2006 9:06:24 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Glad you got it!

- Craig
Here to Help!
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.