TradingView
jamc
2015年6月6日午前9時31分

Ichimoku_on_steroids v 1.0 IN 

Euro Fx/U.S. DollarFXCM

詳細

Same as the overlay version, without the leading / price lines, as an indicator.
コメント
nikakolin
It's a pity. I can not do it.
Thank you.
cristian.d
study("Ichimoku_on_steroids v 1.0 IN")

varLo = input(title="Fast Leading Line", type=integer, defval=9, minval=1, maxval=99999)
varHi = input(title="Slow Leading Line", type=integer, defval=26, minval=1, maxval=99999)
emafreq = input(title="Ema on price frequency", type=integer, defval=10, minval=1, maxval=99999)

a = lowest(varLo)
b = highest(varLo)
c = (a + b ) / 2

d = lowest(varHi)
e = highest(varHi)
f = (d + e) / 2

g = ((c + f) / 2)
h = ((highest(varHi * 2) + lowest(varHi * 2)) / 2)

z = ema(close, emafreq)

bgcolor(z > h and z > g ? green : z < h and z < g ? red : yellow, transp=70)
nikakolin
Is it possible to write the same indicator, but for the cloud without displacement to the future?
jamc
to remove the displacement, all you need to do is remove the [varHi] from the code :)
jamc
hm ... remove the 'squarebracket' varHi 'squarebracket' ...
詳細