OPEN-SOURCE SCRIPT

WRESBAL Plus

Updated
WRESBAL Plus is an improved way of looking at the same data that drives WRESBAL, which is a commonly used series on FRED.

WRESBAL is a weekly average of combined balances on FRED using inputs that are weekly averages in some cases. For example the Treasury General Account has multiple FRED series including WDTGAL (wednesday level) and WTREGEN (wednesday weekly average) There are data sets that are tracking the same metrics which are updated daily such as RRPONTSYD as opposed to WLRRAL.

This situation leads to an opportunity to create a new and improved WRESBAL with the data that is updated more frequently. WRESBAL Plus solves the problem of waiting for weekly averages to update trends.

WRESBAL plus combines data sets from FRED that are updated more frequently and are the basis for the original WRESBAL equation. WRESBAL Plus offers a signal that predicts where WRESBAL will go, and this is important when determining the direction of asset prices as they relate to liquidity. One example of an asset that closely follows WRESBAL is Bitcoin.
Release Notes
Added Treasury Contribution to Credit Facilities (H41RESH4ENWW) to liabilities
Release Notes
Change to update chart.
Release Notes
Add ability to chart the original WRESBAL signal for comparison
Release Notes
Add scale factor and offset, so that original symbol can be used.
statistics

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer