b_biddles

Biddles OI Weighted Average Price

b_biddles Actualizado   
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_
Notas de prensa:
=====
UPDATE
=====

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

* Fixed a bug in the timeframe selector
* Added 2W timeframe
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?