b_biddles

Biddles OI Weighted Average Price

b_biddles 已更新   
Ahoy!

This script calculates Open Interested Weighted Average Price for the following lookback periods:

- 7, 30, 60

e.g. On the 1D chart, you will see OIWAP for the past 7, 30, and 60 days. It works on any timeframe though.

It works with any ticker that TV's OI indicator supports, and has ticker override if you are looking at an exchange that's unsupported, but for an asset that is.

e.g. If you're looking at Bybit's BTCUSDT.P which is unsupported- you can override to get OI data from Binance's BTCUSDT.P which is supported.

=====
Open-Sourced + Crowd Sourcing Goals
=====

I am open sourcing this in hopes we can work together to find interesting signal/observation, and make the script better.

The only way I could think of to calculate the OIWAP for the lookback periods was to manually factor in each period in the formula.

e.g. For the 60-period lookback, it's manually taking price and OI for each individual period.

I am also hoping other folks will make interesting observations.

With the few hours I've spent thus far, they seem to operate much like MA bands, with crossovers having similar implications.

But I feel like there are many other observations left unnoticed!

If you find any, hmu on twitter: @thalamu_

=====
Interesting Calculations in the Script, but not Plotted on the Chart
=====

There are calculations for up to 60 days of OIWAP taking change in OI rather than just OI.

There's one set for absolute value of change in OI, and one set for raw change in OI.

I didn't notice anything spectacularly interesting - but perhaps you will if you tinker with it!

=====
Find something cool? Have an improvement?
=====

Hmu on twitter: @thalamu_
發布通知:
=====
UPDATE
=====

Use the script settings to select a timeframe other than your chart's current resolution for the OIWAP
發布通知:
=====
UPDATE
=====

* Fixed a bug in the timeframe selector
* Added 2W timeframe
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?