搜尋
產品
社群
市場
新聞
經紀商
更多
TW
立即開始
Как создавать оповещения по своим условиям
教育
XRP / TetherUS PERPETUAL CONTRACT
(
BINANCE:XRPUSDT.P
)
IntelTrading
已更新
BINANCE:XRPUSDT.P
XRP / TetherUS PERPETUAL CONTRACT
Trend Analysis
alert
Relative Strength Index (RSI)
92
7
trendanalysis
alert
relativestrengthindex
В видео показал как можно создавать оповещения по своим собственным условиям, отличным от тех, что идут в базовой комплектации ТВ.
評論:
Просили код индикатора, вот он:
indicator("AlertCond")
act = input.symbol(defval = 'ETHUSDT', title = 'input Active 2')
source = input(defval = ohlc4, title = 'source')
p = input.int(title="period", defval = 30)
s = request.security(act, timeframe.period, source)
r1 = ta.rsi(source, p)
r2 = ta.rsi(s, p)
d = math.abs(r1 - r2)
plot(r1, color = color.red, linewidth = 2)
plot(r2, color = color.yellow, linewidth = 1)
alertcondition(r1 < 20 and r2 > 80, title = 'diver')
alertcondition(d>10, title = 'd>10')
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在
使用條款
閱讀更多資訊。
indicator("AlertCond")
act = input.symbol(defval = 'ETHUSDT', title = 'input Active 2')
source = input(defval = ohlc4, title = 'source')
p = input.int(title="period", defval = 30)
s = request.security(act, timeframe.period, source)
r1 = ta.rsi(source, p)
r2 = ta.rsi(s, p)
d = math.abs(r1 - r2)
plot(r1, color = color.red, linewidth = 2)
plot(r2, color = color.yellow, linewidth = 1)
alertcondition(r1 < 20 and r2 > 80, title = 'diver')
alertcondition(d>10, title = 'd>10')