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)
|
Here are two indicators for the StochRSI
the first requires The powerPivots + Add-on, it allows for multi Time frame indicators to be plotted on a lower time frame chart
the second is just a normal Metastock StochRSI Indicator
Per1:=Input("length of RS",1,100,21);
Per2:=Input("length of stoch",1,100,13);
Per3:=Input("length of ma",1,100,8);
Per4:=Input("length of ma2",1,100,8);
factor:=Input("TFactor", 0, 1000, 1);
offset:=Input("Offset", 0, 1000, 0);
CD:=ExtFml("PowerPivots.TDataCreate",3, factor);
IN:=RSI(CD,Per1);
A:= (((In-LLV(In,Per2))/(HHV(In,Per2)-LLV(In,Per2)))*100);
A1:=Mov((((In-LLV(In,Per2))/(HHV(In,Per2)-LLV(In,Per2)))*100),Per3,S);
A2:= Mov((Mov((((In-LLV(In,Per2))/(HHV(In,Per2)-LLV(In,Per2)))*100),Per3,S)),Per4,S);
A:=ExtFml("PowerPivots.TDataLocalize",A, factor, offset);
A1:=ExtFml("PowerPivots.TDataLocalize",A1, factor, offset);
A2:=ExtFml("PowerPivots.TDataLocalize",A2, factor, offset);
A;A1;A2;
Per1:=Input("length of RS",1,100,21);
Per2:=Input("length of stoch",1,100,13);
Per3:=Input("length of ma",1,100,8);
Per4:=Input("length of ma2",1,100,8);
IN:=RSI(C,Per1);
A:= (((In-LLV(In,Per2))/(HHV(In,Per2)-LLV(In,Per2)))*100);
A1:=Mov((((In-LLV(In,Per2))/(HHV(In,Per2)-LLV(In,Per2)))*100),Per3,S);
A2:= Mov((Mov((((In-LLV(In,Per2))/(HHV(In,Per2)-LLV(In,Per2)))*100),Per3,S)),Per4,S);
A;A1;A2;
|