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

Notification

Icon
Error

Options
Go to last post Go to first unread
uasish  
#1 Posted : Thursday, March 29, 2007 7:00:11 AM(UTC)
uasish

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 8/13/2005(UTC)
Posts: 170

Thanks: 7 times

Hi,

Changing the numerical no .1818 to any number best fit on past data.

.......................8..........................................

If(Cum(1)=1,C,PREV*(1-.1818)+C*.1818);

.............................8............

Asish

wabbit  
#2 Posted : Thursday, March 29, 2007 7:47:58 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
uasish wrote:
If(Cum(1)=1,C,PREV*(1-.1818)+C*.1818);


... which is more easily written as:

Code:

Mov(C,10,E);


Why re-invent the wheel?



wabbit [:D]


*PP  
#3 Posted : Thursday, March 29, 2007 8:27:56 AM(UTC)
*PP

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/1/2006(UTC)
Posts: 135
Location: Romania

to be able to re-invent the wheel is a good thing but in this case useles.
uasish  
#4 Posted : Thursday, March 29, 2007 9:56:59 AM(UTC)
uasish

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 8/13/2005(UTC)
Posts: 170

Thanks: 7 times

Wabbit,

Every body who have slightest understanding & watched your's,Jose's,Hayseed's,codes knows this is 10 period Exponential.When one desires to get a fractional period in Mov Avg,this one line code will help.

Asish

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.