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

Notification

Icon
Error

Options
Go to last post Go to first unread
Derek Worswick  
#1 Posted : Wednesday, June 29, 2011 3:02:12 PM(UTC)
Derek Worswick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 8/11/2005(UTC)
Posts: 104

Hi, Could anyone help me with the formula for Price Expansions (EXP) With acknowledgments to Henry 1224 Using Power Pivots Plus i1:=Input("Pivot (1=Minor 2=Interm 3=Major 4=Primary)",1,4,2); i2:=Input("Trend Direction",1,4,1); aPivots:= ExtFml("PowerPivots.Pivots"); aTrend:= ExtFml("PowerPivots.TrendDirection",i1,i2); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,0); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.118); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.207); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.272); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.382); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.500); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.618); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.7071); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.7861); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,1); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,1); ExtFml("PowerPivots.RetInd",1,aPivots,aTrend,i1,1); ExtFml("PowerPivots.RetInd",2,aPivots,aTrend,i1,1); Regards, Derek
Derek Worswick  
#2 Posted : Thursday, June 30, 2011 12:33:57 PM(UTC)
Derek Worswick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 8/11/2005(UTC)
Posts: 104

{ second attempt } 1:=Input("Pivot (1=Minor 2=Interm 3=Major 4=Primary)",1,4,3); i2:=Input("Trend Direction",1,4,1); aPivots:= ExtFml("PowerPivots.Pivots"); aTrend:= ExtFml("PowerPivots.TrendDirection",i1,i2); PLT:=Input("Highest lines",1,8,3); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,0); ValueWhen( 1, PLT>=1,ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.118)); ValueWhen( 1, PLT>=2,ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.207)); ValueWhen( 1, PLT>=3,ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.272)); ValueWhen( 1, PLT>=4,ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.382)); ValueWhen( 1, PLT>=5, ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.500)); ValueWhen( 1, PLT>=6, ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.618)); ValueWhen( 1, PLT>=7,ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.7071)); ValueWhen( 1, PLT>=8,ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,-0.7861)); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,1); ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,1); ExtFml("PowerPivots.RetInd",1,aPivots,aTrend,i1,1); ExtFml("PowerPivots.RetInd",2,aPivots,aTrend,i1,1);
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.