chenyiming666

OWEN 34-144EMA Trader

//@version=3
study("OWEN 34-144EMA Trader", overlay=true)

m = ema (close, 34)
pm = ema (close, 34)
t = ema (close, 144)
pt = ema (close, 144)
prev = pm - pt
curr = m - t

plot(m, "Momentum", blue, transp=0)
plot(t, "Trend", red, transp=0)


cross_up = prev <= 0 and curr > 0
cross_down = prev >= 0 and curr < 0
开源脚本

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

想在图表上使用此脚本?