本页源码来自 TradingView 公开发布的开源脚本,版权归原作者所有, 请遵循其原始许可(Pine 脚本常见 CC BY-NC-SA / MPL-2.0 / MIT)。 本项目仅用于研究检索与许可范围内的移植。
// author KIVANC @fr3762 on twitter
// creator John EHLERS
//
study("Inverse Fisher Transform COMBO", shorttitle="IFTCOMBO")
ccilength=input(5, "CCI Length")
wmalength=input(9, title="Smoothing Length")
v11=0.1*(cci(close, ccilength)/4)
v21=wma(v11, wmalength)
INV1=(exp(2*v21)-1)/(exp(2*v21)+1)
rsilength=input(5, "RSI Length")
v12=0.1*(rsi(close, rsilength)-50)
v22=wma(v12,wmalength)
INV2=(exp(2*v22)-1)/(exp(2*v22)+1)
stochlength=input(5, "STOCH Length")
v1=0.1*(stoch(close, high, low, stochlength)-50)
v2=wma(v1, wmalength)
INV=(exp(2*v2)-1)/(exp(2*v2)+1)
plot(INV, color=blue, linewidth=1, title="STOCH")
plot(INV1, color=red, linewidth=3, title="CCIv2")
plot(INV2, color=black, linewidth=2, title="RSI")
hline(0.5, color=red)
hline(-0.5, color=green)