OPEN-SOURCE SCRIPT

Aggregated On Balance Volume - InFinito

已更新
On Balance Volume calculated with aggregated and normalized volume data and a few other features:

Aggregation code originally from Crypt0rus
Candle Plotting code from LonesomeTheBlue

***The indicator can be used for any coin/symbol to aggregate volume, but it has to be set up manually***

As normal OBV, this indicator can be used to find divergences and to have an idea of volume flow. Using aggregated data makes it more accurate and allows to compare volume flow between different kinds of markets (Spot, Futures, Perpetuals, Futures+Perpetuals and All Volume).

As well, in order to make the data as accurate as possible, the data from each exchange aggregated is normalized to report always in terms of 1 BTC. In case this indicator is used for another symbol, the calculations can be adjusted manually to make it always report data in terms of 1 contract/coin.

Extra features:

- Based off LonesomeTheBlue, OBV can be plotted as candles and as Heiken Aishi candles (which give wick information)
- A Moving Average (SMA, EMA, WMA, RMA, VWMA) can be plotted to the OBV. This can be used as a confluent signal to enter a trade on a crossover or to know the strength of the current move.
- The OBV basis can be reset to 0 periodically, making it more oscillator-like and allowing to focus only on a certain period of time.
版本注释
- UPDATED SETTINGS MENU TO SHOW CANDLE COLORING SETTINGS AT AN EASIER PLACE TO FIND

- FIXED BUG THAT DID NOT ALLOW FOR THE SCALE TO ADJUST/RESET PROPERLY

- FIXED CANDLE AND ZERO LINE FILL COLOR BUG WHEN USING THE "RESET SETTING"
版本注释
FIXED AGGREGATION ERROR
版本注释
  • Fixed loading error because of FTX symbols
  • Switched default MA setting to ON
版本注释
Fixed Invalid Symbol Issue
版本注释
- Fixed Invalid Symbol Error
aggregatedobvaggregatedvolumeBitcoin (Cryptocurrency)cryptoCVDOn Balance Volume (OBV)trading

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明