如何在松树脚本中找到蜡烛的当天最高点/最低点
如何找到当天最高价和最低价相同的蜡烛?
我正在使用 5 分钟图表,我想自动绘制趋势线。但我需要找到蜡烛有当日最高点和蜡烛有当日最低点..有什么办法可以做到吗?
how to find the candle which has day high and the same way day low?
I am using 5 mins chart, I want to draw a trend line automatically. but I need to find the candle has day high and the candle has day low.. is there any way to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
声明 D 时间范围上的变量
[ dayOpen , dayHigh , dayLow , dayClose] = request.security(syminfo.ticker, "D", [open,high,low,close], Lookahead=barmerge.lookahead_on)
Declare the variables on D timeframe
[ dayOpen , dayHigh , dayLow , dayClose] = request.security(syminfo.ticker, "D", [open,high,low,close], lookahead=barmerge.lookahead_on)