OPEN-SOURCE SCRIPT

COT-index range

已更新
A graph showing the commercials (part of COT-data) positioning in relation to its own range, X periods back. I usually choose the look-back period to equal approximately one year. This will be around 52 on a weekly chart and 250 on a daily chart.

In my opinion a high data-point for the commercials is bullish and vice versa. But instead of only looking att absolute values I now look more at how the commercials are positioned compared to the previous 12 och 6 months.

Example:
a) if COT-index range = 0.8, then the commercials are in the 80th percentile for this specific look-back period, i.e. the commercials has only been more bullish 20% of the time and more bearish 80% of the time.

b) a) if COT-index range = 0.5, then the commercials are in the 50th percentile for this specific look-back period, i.e. the commercials has been more bullish 50% of the time and more bearish 50% of the time.

c) if COT-index range = 0.2, then the commercials are in the 20th percentile for this specific look-back period, i.e. the commercials has been more bullish 80% of the time and more bearish 20% of the time.

In other words, a high reading is bullish and a low reading is bearish.
發行說明
Updated version
發行說明
*Updated*

Script showing positioning as reported by the commitment of traders (COT) report, as before.

Whats updated:
1. COT Index
- The COT index shows the net commercial positioning, relative to its own range the last x periods. A high value (default: >80 in a 24 week period) indicates that the net commercials are accumulating long positions. <20 has the same interpretation, but for short positions.

The COT index can basically be interpreted as a percentile, where 100 is the longest, and 0 is the shortest, net positioning the commercials has had for the given period (default 24 weeks).
發行說明
*Updated the default settings*
- Note that most lines has to be unticked in order to properly display the COT Index.
發行說明
*Updated defaults and visuals*
- All COT data lines, not used to interpret the COT Index, are not displayed by default.
- Color opacity is lowered for the COT Index zones.
COTcot-analysiscot-reportsentimentstatisticsTrend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明