OPEN-SOURCE SCRIPT
更新済 Central Bank Dark Energy Tracer

Central Bank Dark Energy Tracer (CBDE Tracer)
What makes The Universe grow at an accelerating pace?
Dark Energy.
What makes The Economy grow at an accelerating pace?
Debt.
Debt is the Dark Energy of The Economy.
The CBDE Tracer is a tool that tracks currency assets in US dollars that can be scaled to fit other assets on TradingView.
The example provided is QQQ with scale factors and offsets applied that best curve fit to the most recent price action.
The white line is non-US assets from the following central banks:
-JPY (Japan)
-CNY (China)
-UK (British Pound)
-SNB (Swiss National Bank)
-ECB (European Central Bank )
The lime green line is for US Federal Reserve data including a midpoint of WRESBAL and the fed liquidity calculation (WALCL - WTREGEN) and then subtracting RRPONTSYD
The purple line is the average of the two, US assets, and non-US.
The settings can be configured so that only the average is showing, which should the closest aggregate of all liquidity data.
What makes The Universe grow at an accelerating pace?
Dark Energy.
What makes The Economy grow at an accelerating pace?
Debt.
Debt is the Dark Energy of The Economy.
The CBDE Tracer is a tool that tracks currency assets in US dollars that can be scaled to fit other assets on TradingView.
The example provided is QQQ with scale factors and offsets applied that best curve fit to the most recent price action.
The white line is non-US assets from the following central banks:
-JPY (Japan)
-CNY (China)
-UK (British Pound)
-SNB (Swiss National Bank)
-ECB (European Central Bank )
The lime green line is for US Federal Reserve data including a midpoint of WRESBAL and the fed liquidity calculation (WALCL - WTREGEN) and then subtracting RRPONTSYD
The purple line is the average of the two, US assets, and non-US.
The settings can be configured so that only the average is showing, which should the closest aggregate of all liquidity data.
リリースノート
Remove unused inputs for signal visibility.The show/hide settings are in the Style settings tab, where the colors can also be modified.
リリースノート
Update chartリリースノート
Organizes settings a bit better.Adds new settings for an EMA option for the aggregate signal. This smooths out the signal, but it also provides a TA option, with EMA length setting.
Adds a table with FRED RRP total, and 1d delta for convenience.
リリースノート
Add all Central Bank signals and 1 bar deltas to info tableFormat the inputs in the settings for better usability
リリースノート
Added the reverse repo plot as a separate option.This reverse repo signal (RRP) has been a strong magnet for price action in QQQ
リリースノート
Update defaults for RRP line to match QQQ December 2022 high/lowリリースノート
Update scaling and offset params for QQQ RRP levelsリリースノート
Add Korean Bank Assets to non-US assets trackingUpdate scale factors for non-US assets to reflect QQQ price
Changed default EMA length to 12. seems more accurate to price support, at least today.
リリースノート
Include scale/offsets for spy in commented out defaults (experimental for now)Update offsets for QQQ to calibrate for price history and current price.
リリースノート
- Fine tuned the scale/offsets for QQQ- Adds currency info table to see changes per bar in central bank assets
- Changed string formatting to be more efficient with space (easier to read, and less motion in the updates with XX.X B, instead of XX.XX B)
リリースノート
Adds a new option to plot the non-US assets as one signal, in billions USD.Changes the short title to be CBDET, shortens it a bit on screen.
リリースノート
Added Bank of Canada AssetsChanged some defaults so that not so many plots show up by default, and force the user to go hide things
リリースノート
Adds scale and offset presets for QQQ and SPXAuto-detects if the symbol QQQ or SPX and applies the appropriate scale factor
Note: Only optimized for SPX and QQQ at this time
Commented out is a block of code that can be used to expose the scale/offset parameters to optimize for any symbol of choice. This way the scale and offsets don't have to be found through trial and error by saving the script.
Changed the default to false for the EMA setting
リリースノート
- adds discount window offset, with setting to turn off and on. This avoids including the fed balance sheet data from 3/16/2023 that represents loans to banks.- adds a new feature in settings that will render background colors representing whether price is above or below CBDET
リリースノート
Added formula for non-liquid Fed balance sheet assets, instead of hack with constant offset.リリースノート
Use arrays to clean up the logic for selecting scale/offset presetsリリースノート
Default the "non-liquid" offset to FALSE, and update scale/offsets for SPX & QQQThe reason for this is to include the BTFP and discount window loans in the balance sheet by default. Over the past month or so experimenting with the offset, the loans on the balance sheet do seem to have an effect on price, so they should be factored in by default.
リリースノート
- Use WTDGAL instead of WTREGEN for Treasury General Account (TGA)- Remove WRESBAL from the Fed liquidity equation to simplify formula
- Add scale/offset params for NQ, and ES with symbol auto-detect for both
- organize settings into better categories
- add settings for background color using divergence indicator
リリースノート
Replace the "non-liquid" offset with specific items from the FRED balance sheet pageOptional fed balance sheet items include the following:
WSHOICL
WUPSHO
WLCFLL
リリースノート
Add gradient feature to background color divergence indicator.This gives the color coding a bit more presence and functionality. The brighter the color, the more the divergence.
リリースノート
Fix bug where EMA wasn't used for color coding the divergence with the background color featureリリースノート
Add TGA (treasury general account) override feature so that the daily balance can be used to be more up-to-date.Daily TGA balance can be found on the treasury.gov website
リリースノート
Fix bug in liquidity table that used South Korea assets in place where CAD should have been.リリースノート
Adds WLAD from the liabilities side of the Fed balance sheet to the net liquidity equation.リリースノート
Workaround for missing symbol CNCBBSUsing a constant for the PBoC balance sheet
リリースノート
Clean up tables and separate the FRED data from the liquidity values.リリースノート
Remove CNCBBS workaround. The ticker is back online.リリースノート
- remove RRP signal to simplify maintenance and avoid confusion with overlapping signals- add "potential liquidity" signal
- Clean up magic numbers (scale factors)
Potential liquidity is a new feature that adds the TGA and RRP (treasury general account and reverse repo) to the Fed liquidity assets, and averages this signal with the total non-US central bank liquidity. By adding the liabilities, "potential" liquidity offers a perspective on what is possible in the market given that liabilities are completely drained and provided to the economy and markets. This also provides a way to visualize the use of QT as it drains potential liquidity.
リリースノート
- Add signal for potential spread (the difference between net liquidity and potential)- Add signal for potential price (the price if potential liquidity is equal to net liquidity)
- Add signal for price divergence (the difference between net liquidity and closing price)
リリースノート
Update includes new multipliers for some of the FRED data such as BoJ assets, ECB assets, and RRPONTSYDリリースノート
Revert multiples on FRED data.オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。