Ehlers Ideal RSI v1.0 by JustUncleL

Created by Request: Description: This is an implementation of Dr             . Ehlers Ideal RSI . It uses a Homodyne Discriminator to calculate the dominate cycle of the trend and then uses the half cycle as the length for the RSI calculation.

Main Reference:
- "http://www.jstas.com/RSI/RSI ideaal.htm" it's in Dutch, use Google             translate
Remove from Favorite Scripts Add to Favorite Scripts
Thanks for this indicator, its really good and under appreciated. Works great to spot trend changes on daily and 4h where i primarily use it. You do great work.
@ClearTA, You are welcome, yes this is an under valued indicator, particularly on the higher time frames. Good for divergence analysis on the higher times to. It was particularly challenging to get it to work within Pinescript's limitation.

I've been following your indicators for awhile now and they're the best I've used on Tradingview. I'm switching over to Tradestation now but I'm having a problem converting my favorite code of yours, the Ehlers Ideal Rsi. Is there any way you could help me with this? I don't quite understand how nan or nz values are used in easylanguage nor do I get how you are able to get the code to refernce the source with "p" on line 25 without a " p = source " statement.

Thanks! Bryar
Hi uncle on line 70 "II = nz(Period)" what period stand for? day, hours, mins etc?

On line 25, what p in the function "irma(p,l) =>" stand for? Same on line 29 "up = irma(max(change(p), 0), l)"

Also on line 72 "Period = dp*0.2 + nz(Period)*0.8" period?

Is period on code lines are the same as p on the functions?

Thanks a lot.

JustUncleL syracusepro
@syracusepro, The "Period" is whatever your chart time frame is set at. The "p" refers to the "source" passed to the sub-function and is not related to the main programs "Period".
syracusepro JustUncleL
@JustUncleL, Thanks a lot.
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out