OPEN-SOURCE SCRIPT

Weiss Wave Open Interest Bars

Обновлено
Firstly :

LazyBear ' s "Weiss Wave " codes are used for open interests.
Original Weiss Wave Volume :
Indicator: Weis Wave Volume [LazyBear]


Let's start :

Open Interest vs. Volume: An Overview
Volume and open interest are two key measurements that describe the liquidity and activity of contracts In the options and futures markets. However, their meanings and applications are different. Volume refers to the number of contracts traded in a given period, while open interest denotes the number of active contracts.

Volume
Trading volume measures the number of options or futures contracts being exchanged between buyers and sellers, identifying the level of activity for that particular contract. For every buyer, there is a seller, and the transaction itself counts toward the daily volume.

Open Interest
Open interest indicates the number of options or futures contracts that are held by traders and investors in active positions. These positions have not been closed out, expired, or exercised. Open interest decreases when holders and writers of options (or buyers and sellers of futures) close out their positions. To close out positions, they must take offsetting positions or exercise their options. Open interest increases once again when investors and traders open new long positions or writers/sellers take on new short positions. Open interest also increases when new options or futures contracts are created.

Options or futures contract trading volume can only increase while open interest can either increase or decrease. While trading volume indicates the number of contracts that have been bought or sold, open interest identifies the number of contracts that are currently held.
Reference : investopedia.com/ask/answers/050615/what-difference-between-open-interest-and-volume.asp

*** Worked to define all futures . You can look them in codes (between line : 13 to line 94 )

** CAUTION 1 : Since each instrument in the list has its own unique contract data, you must first enter its name to display it. I recommend you to select OANDA from the markets. Finally, when the COT reports are issued, it may repaints. However, this repaint is usually close to closing or after close .(When COT reports are so sharp ) So use this script only 1W ( 1 week ) or 1 M ( 1 month ) timeframe.

** CAUTION 2 : This data is taken to Tradingview with the help of Quandl. This is a tremendous possibility, but the system will not work if there is a malfunction.

Best regards.

Информация о релизе
UPDATE : Bitcoin added . Now it opens : all BTCUSD and XBTUSD charts.

Switchable Preferences added. Now Futures using Open Interest Bars and others using Volume Bars. You can choose from on settings !
Информация о релизе

  • TV Pinescript v6 update

  • With LibraryCOT integration, the data access problem has been solved.
cfdscftcCommitment of Traders (COT)COTfuturesOpen InterestquandlVolumeweiswave

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности