Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图理解 CCI 脚本,但我没有看到它使用“高”和“低”值来计算商品渠道指数 (CCI) 公式中解释的典型价格,对吗?
从文档中:
CCI(商品通道指数)计算为商品的典型价格与其简单移动平均线之间的差值除以典型价格的平均绝对偏差。该索引按 0.015 的反向因子缩放,以提供更易读的数字
“高”和“低”值不用于计算CCI。我假设您混淆了术语typical price和true range.
CCI
typical price
true range
[添加]
pine 脚本允许您选择将执行的一系列计算。根据您的情况选择HLС3。
HLС3