Guppy RSI Osc

This is the place to discuss EdgeRater Chart Script

Moderator: Chris White

Post Reply
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Guppy RSI Osc

Post by henry1224 »

under the parameter tab

SN double 5 3 100

Here is the indicator

RS1:= RSI(C,3)-RSI(C,12);
RS2:= 2*(RSI(C,5)-RSI(C,20));
RS3:= 3*(RSI(C,8)-RSI(C,32));
RS4:= 4*(RSI(C,13)-RSI(C,52));
RS5:= 5*(RSI(C,21)-RSI(C,84));
B:=MA(MA((RS1+RS2+RS3+RS4+RS5)/15,2),2);
Signal: MA(B,SN),ColorBlue;
Con1:= B >= 0;
Con2:= B < 0;
Con3:= B > Ref(B,1);
Con4:= B < Ref(B,1);
BullRise: If(Con1 & Con3, B,0),ColorLime;
BullFall: If(Con1 & Con4, B,0),ColorGreem;
BearFall: If(Con2 & Con4, B,0),ColorRed;
BearRise: If(Con2 & Con3, B,0),ColorDarkRed;
ZeroLine:0,ColorBlack;
UZ: MA(B,34)+(1.3185*Std(B,34)),Width2,ColorViolet;
LZ: MA(B,34)-(1.3185*Std(B,34)),Width2,ColorViolet;
FillRgn(1,BullRise,0),Brush#5000FF00;
FillRgn(1,BullFall,0),Brush#50006400;
FillRgn(1,BearRise,0),Brush#508B0000;
FillRgn(1,BearFall,0),Brush#50FF0000;
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Re: Guppy RSI Osc

Post by henry1224 »

Here is another version w volatility


RS1:= RSI(C,3)-RSI(C,12);
RS2:= 2*(RSI(C,5)-RSI(C,20));
RS3:= 3*(RSI(C,8)-RSI(C,32));
RS4:= 4*(RSI(C,13)-RSI(C,52));
RS5:= 5*(RSI(C,21)-RSI(C,84));
K1:=Std(RS1,4);
K2:=Std(RS2,7);
K3:=Std(RS3,12);
K4:=Std(RS4,19);
K5:=Std(RS5,31);
B:=MA(MA((RS1*K1+RS2*K2+RS3*K3+RS4*K4+RS5*K5)/(K1+2*K2+3*K3+4*K4+5*K5),2),2);
Signal: MA(B,SN),ColorBlue;
Con1:= B >= 0;
Con2:= B < 0;
Con3:= B > Ref(B,1);
Con4:= B < Ref(B,1);
BullRise: If(Con1 & Con3, B,0),ColorLime;
BullFall: If(Con1 & Con4, B,0),ColorGreem;
BearFall: If(Con2 & Con4, B,0),ColorRed;
BearRise: If(Con2 & Con3, B,0),ColorDarkRed;
ZeroLine:0,ColorBlack;
UZ: MA(B,34)+(1.3185*Std(B,34)),Width2,ColorViolet;
LZ: MA(B,34)-(1.3185*Std(B,34)),Width2,ColorViolet;
FillRgn(1,BullRise,0),Brush#5000FF00;
FillRgn(1,BullFall,0),Brush#50006400;
FillRgn(1,BearRise,0),Brush#508B0000;
FillRgn(1,BearFall,0),Brush#50FF0000;
Post Reply