Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 07:32:29 +0000



[User Discussion] - Reverse Engineering RSI

View Count: 2348

[2015-02-21 20:43:49]
moonmist - Posts: 127
Hi,

I am looking for an indicator called Reverse Engineering RSI:

http://www.ninjatrader.com/support/forum/showthread.php?t=68103


Has this indicator been ported to Sierra Chart ?

Thanks.


[2015-12-30 17:27:52]
User380760 - Posts: 88
Hi, Can you possibly implement the reverse engineering RSI soon? ThinkorSwim also have it.
[2018-06-29 16:00:50]
User80860 - Posts: 5
Is there anyone still reading this forum? I hope so.

I would also like to have the Reverse Engineering RSI ported to Sierra Chart, if possible. I find it more valuable than all other Moving Averages I know.

It shouldn't take more than 5 minutes to someone who knows what they're doing.



Here's the code from Thinkscript:

input length = 50;
input price = close;
input rsiValue = 50.0;
input smoothingType = {default Wilders, EMA};

def coeff = rsiValue / (100 - rsiValue);
def chg = price - price[1];
def diff;
switch (smoothingType) {
case Wilders:
diff = (length - 1) * (WildersAverage(Max(-chg, 0), length) * coeff - WildersAverage(Max(chg, 0), length));
case EMA:
diff = (length - 1) * (ExpAverage(Max(-chg, 0), length) * coeff - ExpAverage(Max(chg, 0), length)) / 2;
}

def value = price + if diff >= 0 then diff else diff / coeff;
plot RevEngRSI = CompoundValue(1, value[1], Double.NaN);
RevEngRSI.SetDefaultColor(GetColor(8));



Thanks!
Date Time Of Last Edit: 2018-06-29 16:01:48
[2018-06-29 16:18:50]
User80860 - Posts: 5
Never mind, I found out that RevEngRSI and Wilder's moving average are (almost) exactly the same.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account