Relative Projected Ema

I realized that I can use my PEMA indicator ( as ocillator too, so I created this indicator.

Good to compare top and bottom (get divergences), and oversold and overbought areas (like RSI ).

If you liked, send me a small amout of bitcoin             to 1NR9tyn8tAn6nuQzosaZ2SkfT38PLxN5mf it will encorage me to create other indicators open source.
Remove from Favorite Scripts Add to Favorite Scripts
study("Relative PEMA","R_PEMA")

src = close

ema2 = ema(src, input(100,"EMA 1"))
ema1 = ema(src, input(200,"EMA 2"))

dif = ema2- ema1
max = ema2 + 6*dif
min = ema1 - 2*dif

zero = min > max ? max : min
cem = min > max ? min : max

value = src < zero ? 0 : src > cem ? 100 : ((src - zero)/(cem-zero))*100

plot(value, color=navy)
band1 = hline(70)
band0 = hline(30)

fill(band1, band0, color=navy, transp=90)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
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