pine-script - 未来如何获得收盘价?
问题描述
The Chikou Span, also known as the lagging span, is represented by a green line. It is formed by taking the current price and shifting it back 26 periods to the left.
那么如何获得未来 26 个周期出现的收盘价(如果存在)?
解决方案
向过去/向左移动 26 个周期的收盘价是当前收盘价。它只是在视觉上发生了变化。
这与offset
使用plot()
.
plot(close, offset=-26)
推荐阅读
- dart - Flutter 标准包
- mysql - 迁移后的 AWS DMS 问题
- string - 计算字符串变量中出现的值
- java - 在 JMeter groovy 脚本中包含功能代码片段形成一个 groovy 文件
- jhipster - JHipster 和社交登录按钮
- contract - 可以将前提条件(用于验证)表示为简单条件吗?
- javascript - 在 es6 中扩展单例类
- c# - FilePicker 以字符串形式返回名称和路径
- java - Informix JDBC ISO-8859-2 编码问题
- ios - 代码在同一线程上的 dispatch_async 中运行两次 - 目标 c,ios