Aprizm1

EMA 1h Tunnel Detector 1

This is the one hour tunnel method im working on
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?
study(title="EMA 1h Tunnel Detector", shorttitle="EMA CROSS SIGNAL", overlay=true)
ema1_len=144
ema2_len=169
ema3_len=16



out1 = ema(close, ema1_len)
out2 = ema(close, ema2_len)
out3 = ema(close, ema3_len)

out = cross(out1, out3)
outb = cross(out2, out3)
outc = cross(close,out3)


plot((out2 - 0.0015), title="sell signal", color=orange)
plot((out1 + 0.0015), title="buy signal", color=blue)
plot(out2, title="ema169", color=red)
plot(out1, title="ema144", color=green)
plot(out3, title="ema12", color=yellow)
plot(out ? out1 : na, linewidth=4, style=cross, color=lime)
plot(outb ? out2 : na, linewidth=4, style=cross, color=red)


plot(outc ? out3 : na, linewidth=4, style=cross, color=blue)