b_biddles

Biddles OI Weighted Average Price

b_biddles Atualizado   
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 Lançamento:
=====
UPDATE
=====

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

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

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?