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)
|
You can use this indicator on different time frames from a higher time frame on a lower time frame.
It requires the forum dll and the PowerPivots Plus add-on
{similar to the Jurik DMX- a lowlag DMI}
{written by Preston Umrysh}
{This indicator uses Dll software developed by MetaStock Forum Crew}
{http://forum.equis.com}
factor:=Input("TimeFactor", 0, 1000, 1);
offset:=Input("Offset", 0, 1000, 0);
CD:=ExtFml("PowerPivots.TDataCreate",3,factor);
Vt:=(Stdev(CD,5)/Mov(Stdev(CD,5),10,E))*10;
Vt:=Max(vt,.0000001);
Period:= Input("ZeroLag Period",1,250,10);
EMA1:= Mov(CD,Period,E);
EMA2:= Mov(EMA1,Period,E);
Difference:= EMA1 - EMA2;
x:= EMA1 + Difference;
T1:=ExtFml("Forum.RSI",x,vt);
T1:=ExtFml("PowerPivots.TDataLocalize", T1, factor,offset);
T1;
|