b_biddles

Biddles OI Weighted Average Price

b_biddles Mis à jour   
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_
Notes de version:
=====
UPDATE
=====

Use the script settings to select a timeframe other than your chart's current resolution for the OIWAP
Notes de version:
=====
UPDATE
=====

* Fixed a bug in the timeframe selector
* Added 2W timeframe
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?