搜索
产品
社区
市场
新闻
经纪商
更多
CN
开始
社区
/
观点
/
VIRTUAL/WETH Pool with Upper/Lower Limits and Alerting
VIRTUAL PROTOCOL / WRAPPED ETHER on BASE (0x95652709F0cE29C1bf16576eA1d3DE2a007727F4)
做多
VIRTUAL/WETH Pool with Upper/Lower Limits and Alerting
由k7equity提供
关注
关注
已更新
1月4日
0
1月4日
Wrote this to monitor my VIRTUAL/WETH pool with upper and lower range limits and alerting.
Adjust the pine script to your liking.
1月4日
交易开始
//
version
=5
indicator("Liquidity Pool Price Range with Alerts (Clean)", overlay=true)
// Input fields for upper and lower price limits
lower_limit = input.float(0.001137, title="Lower Price Limit")
upper_limit = input.float(0.001662, title="Upper Price Limit")
// Plot the lower and upper price limits as clean horizontal lines
line.new(bar_index[0], lower_limit, bar_index[1], lower_limit, color=color.red, width=2, extend=extend.right)
line.new(bar_index[0], upper_limit, bar_index[1], upper_limit, color=color.green, width=2, extend=extend.right)
// Alerts for when price crosses limits
if close < lower_limit
alert("Price has crossed below the Lower Limit!", alert.freq_once_per_bar)
if close > upper_limit
alert("Price has crossed above the Upper Limit!", alert.freq_once_per_bar)
Fundamental Analysis
k7equity
关注
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在
使用条款
阅读更多信息。