PROTECTED SOURCE SCRIPT
已更新

COT Index and OI Index

494
COT Index and OI Index

It calculates COT Index for Commercials and Open Interest Index. Both for a custom period depending of the asset nature. These periods can be adjusted. You can also choose to have signals drawn on the chart when the following conditions are met



If "Extreme Positions" option is chosen:

* COT Index for Commercials > Extreme Long (adjustable parameter in %) and COT Index for Large Speculators and Small Speculators < Extreme Short (adjustable parameter in %). This will show a green triangle up in the last weekly bar/candle

* COT Index for Commercials < Extreme Short (adjustable parameter in %) and COT Index for Large Speculators and Small Speculators > Extreme Long (adjustable parameter in %). This will show a red triangle down in the last weekly bar/candle



If "Extreme Commercials and OI Index" option is chosen:

* COT Index for Commercials > Extreme Long (adjustable parameter in %) and OI Index < Extreme Short (adjustable parameter in %). This will show a green triangle up in the last weekly bar/candle

* COT Index for Commercials < Extreme Short (adjustable parameter in %) and OI Index > Extreme Long (adjustable parameter in %). This will show a red triangle down in the last weekly bar/candle
版本注释
Minor corrections
版本注释
Minor changes
版本注释
minor changes
版本注释
delayed COT data issue fixed
版本注释
Weekly offset parameter issue fixed

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。