plot - 如何在 TradingView PineScript 中为特定日期时间添加箭头
问题描述
我是 TradingView PineScript 的新手。我正在 TradingView 中的 PineScript 中尝试以下脚本来绘制特定日期时间的箭头。但它会在 TradingView 中的所有蜡烛上绘制箭头。如何仅获取特定日期/时间的箭头,而不是所有蜡烛。
study("plotarrow example", overlay=true)
plotarrow(timestamp(2021, 08, 05, 09, 30, 00), colorup=color.fuchsia, colordown=color.yellow, maxheight=30, transp=0)
解决方案
推荐阅读
- angular - Angular7:如何通过检查内部循环中存在的子复选框来通过外部for循环中的ID检查父复选框?
- docker - 如何在存储在单独容器中的烧瓶 HTML 模板中引用?
- c - 在 c 中处理管道时关闭文件描述符
- javascript - 如何在javascript setInterval函数中显示毫秒和秒
- typescript - 带有打字稿的 RamdaJs,在无点时避免错误
- kubernetes - microk8s 连接到端口 16443 被拒绝
- azure - Azure - 获取用户刷新令牌失败
- python - ParserError("字符串不包含日期:%s", timestr) 错误
- javascript - Javascript 随机图像,随机过渡幻灯片
- python - matplotlib.pyplot.show() 的意义是什么?