Theory
When Tether prints new USDT the price of BTC rises.
When Tether burns USDT the price of BTC goes down.
Idea
Open a long position when Tether starts printing new USDT.
Close a long position when Tether begins to burn USDT.
Optional: open a short position.
(Short positions can be disabled in this script's settings.)
Donchian Channel
USDT changes frequently and almost every day. Therefore it is necessary to reduce the number of signals. This way there will be less false loss signals. The Donchian channel is well suited for this task.
If the amount of USDT has exceeded the maximum for the last 50 days, it is a signal to open a long position.
If the amount of USDT has become less than the minimum over the last 50 days, it is a signal to close a long position. Or to open a short position.
The number of days can be changed in the settings of this script.
Data
The data is only available for 1-day timeframe. The data provider is Glassnode.
For
Only for BTC /USD (or BTC /USDT, BTC/USDC , etc)
For 1 day timeframe only