PROTECTED SOURCE SCRIPT
已更新 COT Index and OI Index

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
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。