【平台使用】cci_120计算结果不一致
由bq1hnkb2创建,最终由xiaoshao 被浏览 7 用户
-- cci_120: 商品通道指数。指标解释:计算方法: TP=(最高价+最低价+收盘价)÷3,CCI=(TP-TP的n1日均值)/(0.015*TP的n1日平均误差)。
(high + low + close) / 3 as _tp
(_tp - m_ta_sma(_tp,120)) / (0.015 * m_ta_sma(abs(_tp - m_ta_sma(_tp,120)),120)) as f7
m_ta_cci(high, low, close, 120) as f7_gt
可以帮我看一下为什么f7的计算结果和官方提供的cci_120计算的结果为什么不一致吗?