Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 11/10/2004(UTC) Posts: 31
|
Was hoping someone could help in plotting an indicator, Linear Regression Slope of RSI(14), "LinRegSlope(RSI(14),20)", so that it is normalized to oscillate above and below 100 rather than above and below zero.
I want to be able to get away from the zero line to more accurately see peaks and troughs.
Thank you for any help.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 11/10/2004(UTC) Posts: 31
|
Never fails... just after asking for help I think I got it.
Thank you. This is a great forum.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
:lol: I wish the forum would work its magic for everyone like that :P
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
TK- would you share your solution? I'm sure this would be of interest for all sorts of oscillator indicators.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 11/10/2004(UTC) Posts: 31
|
I'm sorry, I should have posted it.
I'm not the programming type, so don't laugh. All I did was add 100 to the value:
LRSRSI100:=LinRegSlope(RSI(14),20) + 100;
LRSRSI100
You will have to combine it with some type of trending indicator (moving average, pp+, etc). If your stock is in an uptrend (higher lows, higher highs), it might help you spot bottoms. Tops if your stock is trending down for shorts.
I was playing around with the peak/trough functions with it, but because it oscillated around zero, values close to the zero line tended to fire a lot of unnecessary signals.
Any crits welcome.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
You can get around the zero-line proximity problem by using points-based Peak/Trough functions, such as used in the ZigZag-based set indicator.
jose '-)
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.