首页 > 解决方案 > 未来如何获得收盘价?

问题描述

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 个周期出现的收盘价(如果存在)?

标签: pine-script

解决方案


向过去/向左移动 26 个周期的收盘价是当前收盘价。它只是在视觉上发生了变化。

这与offset使用plot().

plot(close, offset=-26)

推荐阅读