Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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
|
|

 Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
Glad you got it!
- Craig Here to Help!
|
|
Guest-1 |