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 indicator will allow you to plot the indicator from a higher time frame onto a lower time frame chart
you will need the powerpivot Plus Add-on for this indicator to work
x:=Input("Number of Periods", 2,500,21);
Factor1:=Input("TFactor1", 0, 1000, 1);
offset:=Input("Offset", 0, 1000, 0);
HD:=ExtFml("PowerPivots.TDataCreate",1, factor1);
LD:=ExtFml("PowerPivots.TDataCreate",2, factor1);
CD:=ExtFml("PowerPivots.TDataCreate",3, factor1);
A1:=Mov((HD+LD+CD)/3,x,S);
A2:=Mov((HD+LD+CD)/3,x,S) + Mov((HD-LD),x,S);
A3:=Mov((HD+LD+CD)/3,x,S) - Mov((HD-LD),x,S);
A1:=ExtFml("PowerPivots.TDataLocalize", A1, factor1, offset);
A2:=ExtFml("PowerPivots.TDataLocalize", A2, factor1, offset);
A3:=ExtFml("PowerPivots.TDataLocalize", A3, factor1, offset);
A1;A2;A3;
|