OPEN-SOURCE SCRIPT
已更新 SD - Pivot Range

This script is an implementation of Central Pivot Range described at pivotboss.com/2010/05/31/a-quick-guide-to-the-pivot-range
版本注释
Central Pivot Range ('CPR') Indicator for TradingViewThis script is an implementation of Central Pivot Range described at pivotboss.com/2010/05/31/a-quick-guide-to-the-pivot-range.
Inputs
- Number of Daily 'CPR' Back: Set the number of calendar days back to plot historical daily 'CPR'. The default value is 7. Non-trading days are not taken into account. A value of 7, for example, would display only 5 'CPR' for a 24x5 market.
- Number of Weekly 'CPR' Back: Set the number of calendar weeks back to plot historical weekly 'CPR'. The default value is 0.
- Number of Monthly 'CPR' Back: Set the number of calendar months back to plot historical monthly 'CPR'. The default value is 0.
- Number of Yearly 'CPR' Back: Set the number of calendar years back to plot historical yearly 'CPR'. The default value is 0.
版本注释
Code cleanup版本注释
Ensure the highest level of TC and BC is labelled TC, and the lowest of the two is labelled BC版本注释
This version uses Pine Script v4 line objects版本注释
list]* Use new arrays feature to limit how may indicators to show[
* Allow color to be changed
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。