Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
This was written By Sandon Racowsky
i1:=Input("Pivot (1=Minor 2=Interm 3=Major 4=Primary)", 1, 4, 2);
i2:=Input("Trend Direction",1,4,1);
fib1:=Input("Retrace % 1", -300, 300, .25);
fib2:=Input("Retrace % 2", -300, 300, .382);
fib3:=Input("Retrace % 3", -300, 300, .5);
fib4:=Input("Retrace % 4", -300, 300, .618);
aPivots:= ExtFml("PowerPivots.Pivots");
aTrend:= ExtFml("PowerPivots.TrendDirection",i1,i2);
ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,fib1);
ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,fib2);
ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,fib3);
ExtFml("PowerPivots.RetInd",0,aPivots,aTrend,i1,fib4);
ExtFml("PowerPivots.RetInd",1,aPivots,aTrend,i1,fib4);
ExtFml("PowerPivots.RetInd",2,aPivots,aTrend,i1,fib4);
|