RicardoSantos

[RS]RSI Inverse Fisher Transform V0

RSI inverse fisher transform (fishy turbo) as described here:
https://autotradingstrategy.wordpress.com/2009/11/18/fishy-turbo-with-lu-band/
http://forexsb.com/repository/repository_indicators/forex_indicator_review/63/fishy-turbo
Remove from Favorite Scripts Add to Favorite Scripts
study(title='[RS]RSI Inverse Fisher Transform V0', shorttitle='iF', overlay=false)
src = input(title='Source', type=source, defval=close)
window01 = input(10)
window02 = input(5)
e = input(2.71)

f_fisher(_src, _window)=>
    _h = highest(_src, _window)
    _l = lowest(_src, _window)
    _value0 = .66 * ((_src - _l) / max(_h - _l, .001) - .5) + .67 * nz(_value0[1])
    _value1 = _value0 > .99 ? .999 : _value0 < -.99 ? -.999 : _value0
    _fisher = .5 * log((1 + _value1) / max(1 - _value1, .001)) + .5 * nz(_fisher[1])

f_inverse_fisher(_src, _e) => (pow(_e, 2*_src) - 1)/( pow(_e, 2*_src) + 1)

rsi = (ema(rsi(src, window01), window02) - 50) * 0.1
fish1 = f_inverse_fisher(rsi, e)

hline(1, color=black)
hline(0.5, color=color(maroon, 0))
hline(0, color=black)
hline(-0.5, color=color(green, 0))
hline(-1, color=black)

plot(series=fish1, title='F', style=area, color=color(black, 50))
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out