RicardoSantos

Function Fisher Transform V0

241 0 18
Adapted from the builtin code:
easy to use fisher function.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Function Fisher Transform V0", shorttitle="F")
window01 = input(21)
window02 = input(55)
window03 = input(120)

f_fisher(_window)=>
    _h = highest(hl2, _window)
    _l = lowest(hl2, _window)
    _value0 = .66 * ((hl2 - _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])

fish1 = f_fisher(window01)
fish2 = f_fisher(window02)
fish3 = f_fisher(window03)

hline(1.5, color=black)
hline(0, color=black)
hline(-1.5, color=black)
plot(fish1, color=blue, title="Fast")
plot(fish2, color=black, title="Normal")
plot(fish3, color=red, title="Slow")
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
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 Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out